wolverin0/claude-skills/audit-fix-generator
Claude Code and agent skill by wolverin0/claude-skills
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Generate a detailed AI fix prompt for a specific audit finding. Use when the user asks for the audit-fix-generator skill with a finding id (e.g. F-X.Y) or "give me the fix prompt for finding N." Produces a complete prompt the user can hand to a fresh AI session (Claude Code, Cursor, ChatGPT) to remediate the finding with verification and rollback steps.
Install
npx vskill@latest install wolverin0/claude-skills/audit-fix-generatorSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as wolverin0/claude-skills/audit-fix-generator.
Skill: Audit Fix Generator
When an audit finds 30 issues, the developer doesn't want 30 paragraphs of advice — they want 30 prompts they can paste into a fresh AI session to fix each one. This skill produces those prompts on demand.
Catalogs ship in this skill's references/ (identical to audit-orchestrator's): read references/audit-report-format.md to locate a finding block, references/audit-hard-stops.md / references/audit-blind-spots.md when the finding cites an H- or B-id, and references/production-readiness-playbook.md for the anchors it names.
The fix prompt for each finding follows a strict template that includes:
- Context (what's broken, where, why it matters)
- Constraints (don't break adjacent code, preserve tests, etc.)
- Fix steps (concrete sequence)
- Verification (how to confirm the fix worked)
- Rollback (how to revert if the fix introduced a regression)
Sections 4 and 5 are non-negotiable. A fix prompt without verification is just a guess; without rollback, it's an unsafe guess.
Process
Input
The user invokes this skill referencing a finding by ID:
"audit-fix-generator F-H1.1" → Hard stop H1, finding 1"audit-fix-generator F-1.3" → Domain 1, finding 3"audit-fix-generator F-T1.1" → Tambon Signature 1, finding 1
The orchestrator's audit report has all findings tagged with an ID in this format. Look up the finding from the report (or ask the user to paste the finding's full block if the report isn't in context).
Generation steps
- Re-read the cited code. R2 — quote before fix. Don't propose a
change to a line you haven't seen recently.
- Identify the blast radius. What other files import or reference
the file being changed? Use grep -rn "<symbol>" src/ to find them.
- Identify the test coverage. Are there tests that exercise this
code path? Will the fix break them, or do they need updating?
- Choose a fix strategy. Often there are multiple reasonable fixes.
Pick the one that:
- Minimizes blast radius
- Aligns with existing patterns in the codebase (R7)
- Doesn't introduce a new dependency
- Write the prompt.
Output template
- <before line>
- <after line>
After fix:
async def <fn name>(<params>): # ... new implementation
Run the affected test file
<exact pytest / npm test / cargo test command>
Run the full test suite to confirm no regression
<exact command>
Run the linter / type-checker
<exact command — ruff, mypy, eslint, tsc>
Manual verification for security/payment fixes — replay the
exploitable scenario and confirm it now fails:
<curl command, or psql query, or similar>
Stash or revert the changes
git stash
Or, if already committed:
git revert <commit>
When the finding is a hard stop
For H1-H11 findings, add a "STOP — read this first" preamble to the prompt:
When the finding is part of a cluster
Some findings come in clusters (e.g., 8 instances of B1 across 8 endpoints). For these, the fix prompt should consolidate:
What this skill does NOT do
- Run the fix itself (it generates the prompt; the user runs the fix)
- Modify any code (read-only for the audit pipeline)
- Generate fix prompts unprompted (only when asked for the audit-fix-generator skill with an
<ID>) - Aggregate fix prompts into a single document by default (each fix is
a separate prompt for a separate session — that's deliberate, to keep each AI session's context clean)
Failure modes to refuse
- ❌ Producing a fix prompt without re-reading the cited code (R2)
- ❌ Omitting the Verification or Rollback section (the template
requires both)
- ❌ Generating a fix that requires reading 10+ files (scope is too big
— recommend splitting the finding into smaller fixes)
- ❌ Generating fix prompts in bulk for a 30-finding audit "to save
time" — each fix gets its own prompt, run separately, verified separately
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/audit/audit-fix-generator/SKILL.md
Popularity
- Repository stars
- 39
- Repository forks
- 1
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 4 Jun 2026, 5 months ago.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wolverin0/claude-skills/audit-fix-generator)