Files
get-shit-done/commands/gsd/audit-fix.md
Tibsfox f0f0f685a5 feat(commands): add /gsd-audit-fix for autonomous audit-to-fix pipeline (#1814)
* feat(commands): add /gsd-audit-fix autonomous audit-to-fix pipeline

Chains audit, classify, fix, test, commit into an autonomous pipeline. Runs an audit (currently audit-uat), classifies findings as auto-fixable vs manual-only (erring on manual when uncertain), spawns executor agents for fixable issues, runs tests after each fix, and commits atomically with finding IDs for traceability.

Supports --max N (cap fixes), --severity (filter threshold), --dry-run (classification table only), and --source (audit command). Reverts changes on test failure and continues to the next finding.

Closes #1735

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(commands): address review feedback on audit-fix command (#1735)

- Change --severity default from high to medium per approved spec
- Fix pipeline to stop on first test failure instead of continuing
- Verify gsd-tools.cjs commit usage (confirmed valid — no change needed)
- Add argument-hint for /gsd-help discoverability
- Update tests: severity default, stop-on-failure, argument-hint

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(commands): address second-round review feedback on audit-fix (#1735)

- Replace non-existent gsd-tools.cjs commit with direct git add/commit
- Scope revert to changed files only instead of git checkout -- .
- Fix argument-hint to reflect actual supported source values
- Add type: prompt to command frontmatter

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-05 23:07:52 -04:00

992 B

type, name, description, argument-hint, allowed-tools
type name description argument-hint allowed-tools
prompt gsd:audit-fix Autonomous audit-to-fix pipeline — find issues, classify, fix, test, commit --source <audit-uat> [--severity <medium|high|all>] [--max N] [--dry-run]
Read
Write
Edit
Bash
Grep
Glob
Agent
AskUserQuestion
Run an audit, classify findings as auto-fixable vs manual-only, then autonomously fix auto-fixable issues with test verification and atomic commits.

Flags:

  • --max N — maximum findings to fix (default: 5)
  • --severity high|medium|all — minimum severity to process (default: medium)
  • --dry-run — classify findings without fixing (shows classification table)
  • --source <audit> — which audit to run (default: audit-uat)

<execution_context> @~/.claude/get-shit-done/workflows/audit-fix.md </execution_context>

Execute the audit-fix workflow from @~/.claude/get-shit-done/workflows/audit-fix.md end-to-end.