failure-review
/failure-review
Szybko przegląda różnicę pod kątem błędów w produkcji: ponowne uruchomienia, awarie, duplikaty, współbieżność i sekrety, do trzech sprawdzonych ustaleń.
- Autor
- ciflikli ↗
- Repozytorium
- claude-interview-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/codex-review.sh
Co robi i kiedy
Szybko przegląda różnicę pod kątem błędów w produkcji: ponowne uruchomienia, awarie, duplikaty, współbieżność i sekrety, do trzech sprawdzonych ustaleń.
Wyzwalacze z opisu
Oryginalny opis (EN)
Fast review of a diff for the ways it breaks in production: re-runs, partial failure and crashes, duplicates, bad input, flaky dependencies, concurrency and locking, ordering, resource limits, secrets/PII. Reports at most 3 verified, high-confidence findings with file:line, failure scenario and fix, plus an optional Codex second pass. Use when the user says "failure-review", "review this", or before demoing or handing over code.
Jak działa
- 1. Get the whole diff (committed work included)
- 2. Check every boundary the diff touches
- 3. Score and filter
- 4. Output
- 5. Codex second pass (significant or complex diffs only; needs the Codex plugin)
Podgląd SKILL.md
--- name: failure-review description: >- Fast review of a diff for the ways it breaks in production: re-runs, partial failure and crashes, duplicates, bad input, flaky dependencies, concurrency and locking, ordering, resource limits, secrets/PII. Reports at most 3 verified, high-confidence findings with file:line, failure scenario and fix, plus an optional Codex second pass. Use when the user says "failure-review", "review this", or before demoing or handing over code. --- # failure-review Find the ways this code breaks in production. Skip style. Follow the minimal skill's output rules if active. ## 1. Get the whole diff (committed work included) Base, in order of preference: a base the user names, then `.claude/session-base` (written by interview-mode), then `git merge-base HEAD <default branch>`. If none exists, ask: `Review since which commit? (default HEAD~5)`. - `git diff <base>..HEAD` + `git diff HEAD` (uncommitted) + untracked files from `git status --porcelain`. - Not a git repo: ask which files changed. - Read the changed files whole. Also read any unchanged file the diff depends on (data access layer, client wrapper, config). ## 2. Check every boundary the diff touches | Failure | Question to answer from the code | |---|---| | Re-run | Does running it twice change nothing (stable keys, upserts, dedupe, idempotency keys)? | | Partial failure / crash | If it dies halfway, does a rerun finish without duplicates or stranded work? Short transactions? Leases that expire? | | Duplicate delivery | At-least-once anywhere? Is the receiving side idempotent? Can a stale worker overwrite newer state? | | Bad input | Does one bad record crash the batch or retry forever? Is it quarantined with a reason? | | Flaky dependency | Timeouts set? Retry with backoff + jitter, Retry-After honoured? Auth failures abort instead of being retried or dead-lettered one by one? | | Concurrency / locking | Any transaction or lock held across a network call? Races on read-then-write? Lock/statement timeouts set? | | Ordering / incremental | Can an older update overwrite a newer one? Does a checkpoint/watermark advance before the work it covers succeeds? | | Resource limits | Unbounded memory (loading everything), unbounded concurrency, connection leaks, missing pagination? | | Secrets / PII | Credentials only from env/secret store? Payloads, tokens or personal data in logs or error messages? | Then skim the diff against the coding-practices skill's lists (load that skill; `python.md`, `db.md`, `agents.md` sit in its base directory, use their absolute paths), if available. Keep only violations that cause a bug or failure mode. ## 3. Score and filter For each candidate: confidence (high/med/low) × impact (high/med/low). **Report only high-confidence and high-impact, at most 3.** Verify each one by reading the exact lines (or running a quick check). If it can't be verified, drop it. ## 4. Output ``` 1. path/file.py:88 — <what breaks, concrete scenario>. Fix: <concrete change>. 2. ... Known gaps (by design, say out loud): <1-2 deliberate trade-offs, from project notes if they list any> ``` If nothing survives: `No high-confidence failure modes found.` plus the known gaps line. Don't fix anything unless the user says so. If they do: fix, rerun the tests, commit the fix on its own (`fix: <failure mode>`), report one line. ## 5. Codex second pass (significant or complex diffs only; needs the Codex plugin) Trigger: the diff is over ~150 lines, or it touches concurrency, locking, transactions, retries, auth, or a state machine. Skip for small or cosmetic diffs, and in the last 5 minutes of a timed build. - Run `"<this skill's base directory>/scripts/codex-review.sh" <base> "Production failure modes: re-runs, crashes mid-operation, duplicate delivery, bad input, flaky dependencies, locks held across network calls, ordering, resource limits, secrets in logs. At most 3 findings as file:line, failure scenario, fix."` with Bash `run_in_background`. It's Codex's read-only adversarial review of everything since `<base>`. - When it returns: verify each finding against the code yourself. Report only the ones that hold up, marked `(codex)`. Drop duplicates of your own findings.
Pliki w paczce (2)
- SKILL.md 4 KB
- scripts/codex-review.sh 1 KB
Wersje
W bazie nie ma innych skilli o nazwie failure-review.
Migawka bazy z 13.11.2026 · wersja paczki 2147811110fc (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100atlas-review
Przegląda kod pod kątem błędów i ryzyk w diffie, gałęzi lub pull requeście, z poprawkami i listą problemów. - 90code-audit
Przegląda kod pod kątem błędów, współbieżności, obsługi błędów, zgodności API i utrzymania, a każde znalezisko musi mieć konkretny scenariusz awarii. - 95code-review
Przegląda bieżący diff albo PR pod kątem błędów poprawności z poziomami wysiłku, a po opcji publikuje uwagi jako komentarze do PR. - 82review-code
Przegląda kod pod kątem błędów, ryzyk i jakości przed scaleniem zmian. - 100code-review-cc
Wieloagentowo przegląda bieżący diff, PR, MR, gałąź lub plik pod kątem błędów poprawności oraz ponownego użycia, uproszczeń, wydajności i konwencji, z wybieralnym poziomem wysiłku od low do max. - 90make-it-robust
Projektuje kod I/O, stanu i współbieżności pod kątem awarii: waliduje dane wejściowe, zawodzi szybko, jest idempotentny i możliwy do debugowania w produkcji.