Problem to Fix
When a project enforces signed commits (via branch protection rules or team policy), AI agents creating commits during the workflow may fail on push because the local git configuration doesn't have commit signing enabled. The agent recovers, but the retry wastes time and tokens.
Why it Matters
Every failed-then-retried commit costs tokens and slows down the workflow. Projects that require signed commits hit this on every feature branch, making it a recurring tax rather than a one-time hiccup.
General Approach
Add a step to the setup skill that detects whether commit signing is already configured, asks the user if their project requires it, and configures the local git settings accordingly. This fixes the problem at the git layer so all existing and future skills benefit automatically without any template changes.
Complexity
Verification / QA effort: moderate
Setup is interactive and has a few branches to verify: already configured, not configured but wanted, not configured and not wanted, missing signing key.
Acceptance Criteria
- The setup skill detects existing commit/tag signing configuration and skips if already enabled
- If signing is not configured, the user is asked whether their project requires it
- If yes, the setup skill verifies a signing key exists and enables
commit.gpgsign and tag.gpgsign at the repo level
- If no signing key is found, the user is guided to configure one before proceeding
- No changes to skill templates or config placeholders are required
Problem to Fix
When a project enforces signed commits (via branch protection rules or team policy), AI agents creating commits during the workflow may fail on push because the local git configuration doesn't have commit signing enabled. The agent recovers, but the retry wastes time and tokens.
Why it Matters
Every failed-then-retried commit costs tokens and slows down the workflow. Projects that require signed commits hit this on every feature branch, making it a recurring tax rather than a one-time hiccup.
General Approach
Add a step to the setup skill that detects whether commit signing is already configured, asks the user if their project requires it, and configures the local git settings accordingly. This fixes the problem at the git layer so all existing and future skills benefit automatically without any template changes.
Complexity
Verification / QA effort: moderate
Setup is interactive and has a few branches to verify: already configured, not configured but wanted, not configured and not wanted, missing signing key.
Acceptance Criteria
commit.gpgsignandtag.gpgsignat the repo level