Λογότυπο Audit Fix Generator

Audit Fix Generator

Κοινότητα
wolverin0
audit-fix-generator

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.

Επισκόπηση

Εκδότηςwolverin0
Αποθετήριοclaude-skills
Όνομα δεξιότηταςaudit-fix-generator
Αστέρια
41
Forks
1
Συνοδευτικά αρχεία
Μόνο οδηγίες
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Αυτοτελής

    Όλα όσα χρειάζεται το μοντέλο περιλαμβάνονται στις οδηγίες — χωρίς επιπλέον αρχεία για συγχρονισμό.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε από wolverin0 στο GitHub. Διαβάστε το πηγαίο περιεχόμενο πριν εγκαταστήσετε τη δεξιότητα.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Audit Fix Generator στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/wolverin0/claude-skills/tree/main/skills/audit/audit-fix-generator
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Νέα δεξιότητα → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που διαβάζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wolverin0/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/skills/audit/audit-fix-generator .claude/skills/audit-fix-generator
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Audit Fix Generator σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Audit Fix Generator μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Audit Fix Generator δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλα κατά τη συνομιλία

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

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.

The fix prompt for each finding follows a strict template that includes:

  1. Context (what's broken, where, why it matters)
  2. Constraints (don't break adjacent code, preserve tests, etc.)
  3. Fix steps (concrete sequence)
  4. Verification (how to confirm the fix worked)
  5. 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

  1. Re-read the cited code. R2 — quote before fix. Don't propose a change to a line you haven't seen recently.
  2. Identify the blast radius. What other files import or reference the file being changed? Use grep -rn "<symbol>" src/ to find them.
  3. Identify the test coverage. Are there tests that exercise this code path? Will the fix break them, or do they need updating?
  4. 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
  5. Write the prompt.

Output template

═══════════════════════════════════════════════════════════════════════
  AI FIX PROMPT — Finding <ID>
═══════════════════════════════════════════════════════════════════════

[The block below is the prompt itself. Copy it into a fresh Claude Code
or Cursor session. Do NOT paste it into the same session that wrote
the original code — start fresh, clean context.]

────────────────────────────────────────────────────────────────────────

# Fix: <one-line title>

## Context

You are fixing a finding from a technical due diligence audit on this
repository.

**Finding ID:** <ID>
**Severity:** <Critical/High/Medium/Low>
**Exploitability:** <EXPLOITABLE-NOW/EXPLOITABLE-LOW-EFFORT/BAD-PRACTICE/UNKNOWN>
**Hard-stop class:** <H1-H11 if applicable>
**Blind-spot class:** <B1-B19 if applicable>

**What's wrong:**
<finding's "what's wrong" paragraph from the audit>

**Evidence (read these first):**
- <path:line>
- <additional locations if relevant>

**Why it matters:**
<finding's "why it matters" sentence>

## Constraints

- Do NOT modify code outside the files listed above unless absolutely
  necessary. If you do, justify each additional file in a comment.
- Do NOT introduce new dependencies. Use what's already in
  `requirements.txt` / `package.json`.
- Do NOT delete existing tests. If a test is wrong, mark it with a
  TODO and explain in your reply; don't silently delete it.
- Do NOT bypass the linter / formatter / pre-commit hooks. Make the
  fix pass them.
- Match the existing code style in the file being edited.
- If you discover a related issue while working on this one,
  STOP and report it; do NOT scope-creep.

## Fix steps

1. <step 1: what to read first>
2. <step 2: what to change>
3. <step 3: what to add (tests)>
4. <step 4: what to remove (deprecated patterns)>

[Provide a CONCRETE before/after diff if the fix is mechanical:]

```diff
- <before line>
+ <after line>

[Or a code block of the new function/section if the fix is structural:]

python
# After fix:
async def <fn name>(<params>):
    # ... new implementation

Tests to add or update

The fix MUST include tests that prove the issue is resolved.

  • <test 1: confirms the original buggy behavior is gone>
  • <test 2: confirms a related case that the original fix might have broken>
  • <test 3: confirms an adversarial input that the original code missed>

If the codebase has no test infrastructure for this area:

  • Add a basic test scaffold first (one test file, one fixture if needed)
  • Document in your reply that you set up infrastructure as part of the fix

Verification (mandatory — you must run these and report the output)

bash
# 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>

After running, paste the output of each command into your reply. If any fails, STOP and report — don't try to "fix the verification" by loosening the test.

Rollback

If verification reveals the fix introduced a regression:

bash
# Stash or revert the changes
git stash
# Or, if already committed:
git revert <commit>

State explicitly in your reply how to revert. The reviewer must be able to roll back without thinking.

What you should NOT do

  • ❌ Don't claim "the fix works" without showing the verification command output
  • ❌ Don't fix more than the listed finding — report related findings, don't silently fix them
  • ❌ Don't disable a test to make the fix "pass"
  • ❌ Don't push directly to main; work in a branch

Done criteria

You're done when ALL of the following are true:

  • The exact code at path:line no longer matches the buggy pattern
  • All listed verification commands pass
  • All listed tests are added and passing
  • The fix touches no files outside the listed evidence + tests
  • You've pasted the verification output into your reply

When done, report:

  1. The diff (full, not summary)
  2. The verification command output
  3. Any related findings you noticed but did NOT fix (so they can be tracked separately)

────────────────────────────────────────────────────────────────────────

[End of fix prompt. The user copies the block above into a fresh AI session.]


## When the finding is a hard stop

For H1-H11 findings, add a "STOP — read this first" preamble to the
prompt:

🛑 THIS IS A HARD-STOP FIX

This finding is a launch-blocker. The codebase MUST NOT receive production traffic until this is resolved AND verified. The verification step is non-negotiable.

If during the fix you discover that the fix is more complex than expected (e.g., the auth middleware needs to be rewritten, not just wired), stop and report. A partial fix is worse than no fix here.


## 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:

This finding is part of a cluster of related issues:

Fix all in one PR. The fix pattern is the same; the goal of fixing them together is to apply the pattern uniformly.


## 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

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Audit Fix Generator;

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.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Audit Fix Generator στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Audit Fix Generator είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη Audit Fix Generator στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε το https://github.com/wolverin0/claude-skills/tree/main/skills/audit/audit-fix-generator. Το TypingMind διαβάζει το αρχείο SKILL.md και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Audit Fix Generator;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη Audit Fix Generator;

Με όσα θέλετε. Εφόσον ένα μοντέλο υποστηρίζει δεξιότητες, μπορείτε να χρησιμοποιήσετε τη Audit Fix Generator με αυτό — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama και άλλα — όλα στο TypingMind με τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Audit Fix Generator;

Δημοσιεύεται στο GitHub από τον χρήστη wolverin0. Ελέγξτε το αποθετήριο για τους όρους αδειοδότησης. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇