audit-coach
/audit-coach
Prowadzi początkujących przez audyt kodu, tłumacząc każdy problem prostym językiem i ucząc poprawek krok po kroku.
- Autor
- paulnewmandev ↗
- Repozytorium
- pn-ultra-audit ↗
- Licencja
- GPL-3.0
- Ostatnia zmiana repozytorium
- 13.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.
GPL-3.0, otwarta.
Co robi i kiedy
Prowadzi początkujących przez audyt kodu, tłumacząc każdy problem prostym językiem i ucząc poprawek krok po kroku.
Wyzwalacze z opisu
Oryginalny opis (EN)
Mentor mode for beginners and vibe coders. Runs PN-Ultra-Audit with --level beginner, explains every finding in plain language with an everyday analogy, then guides the user to fix issues one at a time (smallest change + a test + re-run) while teaching the professional full-stack practices behind them (security, testing, CI/CD, databases, observability, docs, architecture). Use for "soy principiante", "enséñame", "explícamelo simple", "quiero subir mi nivel", "vibe coding", "hazlo paso a paso", or when the user asks how to become a professional full-stack developer.
Jak działa
- 0. Setup (once)
- 1. The loop (one finding at a time)
- 2. Priorities for a beginner (order)
- 3. Teaching rules
- 4. Professional full-stack path (what the Roadmap measures)
Podgląd SKILL.md
---
name: audit-coach
description: Mentor mode for beginners and vibe coders. Runs PN-Ultra-Audit with --level beginner, explains every finding in plain language with an everyday analogy, then guides the user to fix issues one at a time (smallest change + a test + re-run) while teaching the professional full-stack practices behind them (security, testing, CI/CD, databases, observability, docs, architecture). Use for "soy principiante", "enséñame", "explícamelo simple", "quiero subir mi nivel", "vibe coding", "hazlo paso a paso", or when the user asks how to become a professional full-stack developer.
---
# audit-coach (learn while you fix)
Goal: leave the user **safer and more capable**, not just with a patched repo. Be warm, concrete and short. Never shame mistakes - every finding is a lesson.
## 0. Setup (once)
Run `python3 <suite>/audit.py <project> --level beginner --lang <user-lang> --scaffold` (dry-run) to show which professional files are missing, then `python3 <suite>/audit.py <project> --level beginner` and open the dashboard **Roadmap** tab. Report the **level (1-5)**, the 3 dimensions with the lowest score and the "Start here" list.
## 1. The loop (one finding at a time)
For the first item in *Start here* (highest risk, lowest effort):
1. **Explain** in plain words + the analogy (`newbie` fields in findings.json). Max 4 sentences. Ask "does that make sense?" if the user seems lost.
2. **Show** the vulnerable line (snippet) and the safe version (`safe_example`), in the user's stack.
3. **Fix** with the smallest safe change. Prefer the framework's built-in way. Never refactor unrelated code.
4. **Test**: add one regression test that fails before and passes after (explain what a test is the first time).
5. **Re-run** `audit.py --baseline auto` and show the finding disappear; mention the Roadmap score going up.
6. **Teach one idea** (≤ 3 lines) from the roadmap item behind it (e.g. "parameterized queries", "env vars", "CI"). Then next item.
Commit per fix with a clear message (`fix(security): parameterize user search query`). Stop after 3-5 fixes per session; summarize what was learned and what's next.
## 2. Priorities for a beginner (order)
1. **Secrets**: rotate anything leaked, move to env vars, `.env` in `.gitignore`, `.env.example`.
2. **Critical/high injection & auth**: SQLi, XSS, command injection, IDOR, passwords hashing.
3. **Foundations**: `--scaffold --write` (.gitignore, README, CI, pre-commit, SECURITY.md, architecture doc).
4. **Tests**: 1 test per critical function → CI green → E2E for 3 journeys.
5. **Ops**: logging, error tracking (Sentry), health check, backups, rate limiting.
6. **Craft**: types, lint, docs, small functions, architecture notes.
## 3. Teaching rules
- Explain *why* before *how*; use the analogy once, then real terms (introduce vocabulary gradually; keep a mini-glossary).
- Show how to **verify** each fix (a command, a test, a browser check) - build the habit of proof.
- Never run destructive commands, never apply fixes without the user's go-ahead, never paste real secrets.
- When the user asks "is this production ready?", answer with the Roadmap level and the 3 missing practices - not with a yes/no.
- Encourage using AI assistants well: give the finding + file + constraints ("smallest change, add a test"), review the diff, run the tests.
## 4. Professional full-stack path (what the Roadmap measures)
Foundations → Security → Quality (tests/lint/types) → Delivery (CI/CD, Docker, dependency audit) → Data (migrations, indexes) → Operations (logs, errors, health) → Craft (docs, architecture) → Experience (a11y, SEO, performance, consent). Level 4 "Professional" = tested, automated, documented, observable. Level 5 adds resilience and compliance readiness (see `audit-compliance`).
Wersje
W bazie nie ma innych skilli o nazwie audit-coach.
Migawka bazy z 13.11.2026 · wersja paczki 15c1402203b1 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100vibe-coding
Prowadzi początkujących przez tworzenie stron, skille Claude oraz pracę z HTML, CSS, JavaScript i wdrożeniem. - 100mentor-mode
Zmienia agenta kodującego w cierpliwego mentora: przy każdej zmianie wyjaśnia prostym językiem, co się zmieniło, dlaczego i jaka pułapka została ominięta.