Audit Fix Generator

Omdanner et audit-findings-ID til en kopi-indsæt-klar AI-fix-prompt med verifikation og rollback.

Af wolverin0 · wolverin0/claude-skills

Testet · Virker ★ 9.2/10

Audit Fix Generator — Omdanner et audit-findings-ID til en kopi-indsæt-klar AI-fix-prompt med verifikation og rollback.

Hvad det gør

Genererer a complete, self-contained AI fix prompt for a single audit finding - context, constraints, concrete fix steps, a mandatory verification-command section, and a rollback plan - meant to be pasted into a fresh AI session rather than the one that produced the audit. Udløses ved '/audit-fix F-X.Y' eller 'give me the fix prompt for finding N'. It is explicitly read-only: it produces the prompt, it does not apply the fix itself.

Testrapport

Gav den one high-severity finding (session tokens generated with random.randint instead of secrets) and it produced the full copy-paste prompt - blast-radius grep step, before/after diff, three mandatory test checkboxes, an explicit verification-command block, and a git-revert rollback line - versus a plain paragraph-plus-snippet answer without the skill.

Testet: 2026-07-14 · Claude Code 2.x (agent harness)

Installation

git clone https://github.com/wolverin0/claude-skills
cd claude-skills
mkdir -p ~/.claude/skills
cp -r skills/audit/audit-fix-generator ~/.claude/skills/audit-fix-generator

Kommandoer og eksempelprompter

  • /audit-fix-generatorOmdanner et audit-findings-ID til en kopi-indsæt-klar AI-fix-prompt med verifikation og rollback.

Skills udløses af almindelige forespørgsler — ingen kommandoer at huske. Efter installationen aktiverer prompter som disse skillen (på engelsk):

  • Give me the fix prompt for finding F-2.1 from our last audit.
  • /audit-fix F-H1.1, generate the copy-paste fix prompt for it.
  • Generate an AI fix prompt for this finding so I can hand it off.