Octocode Roast
Sharp code critique with proof and a repair path.
Flow: TARGET → INSPECT → INVENTORY → AUTOPSY → CHECKPOINT → REDEEM.
Lobby rules
- Target patterns, never people; obey the requested scope and widen only with approval.
- Cite or drop it: every major finding needs an exact anchor, impact, confidence, and repair move.
- Obey explicit user targets first. Only widen to staged/diff/repo scope when no target was given or the user asks for a broader pass.
- Punch the code, not the coder; avoid insults about ability, identity, or experience.
- Never reveal a secret; redact values and use restrained language for security or production-sensitive findings.
- Rank confirmed security, data loss, correctness, and user-impacting performance above style or taste.
- Default to medium tone; use savage/nuclear only when explicitly requested. Do not edit or install before consent.
- Stop when: the target resolves to no files; the checkpoint is reached — important versus redundant findings summarized, nothing edited yet; a repair, a scope widening, or an install needs consent; savage/nuclear tone was not requested; or evidence is pattern-only — report the lead with its confidence instead of asserting exploitability, latency, or outage.
Severity
- Capital offenses: confirmed secret exposure, injection/RCE paths, data loss or corruption, auth/access bypass.
- Felonies: risky security controls, N+1 or hot-path performance damage, brittle async/concurrency, dangerous coupling, change-blocking god functions.
- Crimes: broad type abuse, hidden state, poor errors, missing tests around risky logic.
- Slop: duplicate ceremony, AI-ish verbosity, unclear naming, style residue that slows maintenance.
- Misdemeanors: TODO fossils, console logs, formatting noise.
If there are 20+ issues, triage the top 10 by impact and confidence, then separate important findings from redundant noise.
Smart routes — load only what the current step needs
- When you have the target and are ready to inspect it, load
references/roast-playbook.md — the phase-by-phase run through inspection, inventory, autopsy, and the pre-fix checkpoint.
- When building the inventory and ranking generic smells, load
references/sin-catalog.md; for language-specific patterns or structural queries load references/language-sins.md — choose evidence appropriate to the code.
- When the user picks repairs at the checkpoint, load
references/redemption-flow.md — redeem findings through consent-gated fixes and verification.
- When scope spans a monorepo or many categories, load
references/parallel-roasting.md — split the inspection and inventory across workers without duplicating findings.
- When research tooling is needed, load
references/octocode.md and use octocode-research if available — verify before joking; mark reduced coverage otherwise.
- When improving this skill, prefer
octocode-graph-eval; otherwise load references/improve-loop.md — require an accept/revert criterion.
Related routes
- Use
octocode-research for evidence gathering; octocode-graph-eval to measure roast usefulness; octocode-prompt-optimizer only for tone/instruction wording.
- Use
octocode-skills when changing this skill folder.
Output
Use: Top roast, Important findings, Redundant / low-value findings, Autopsy, Redemption paths, Fix checkpoint. Each finding includes file:line, evidence, impact, confidence, and repair move.
Scripts
None — this skill is instruction-only. Evidence comes from octocode-research and the host's own repo tools; verification runs the target project's own checks.
1---2name: octocode-roast3description: Use when code needs a blunt evidence-backed roast or memorable critique: smell inventory, debt ranking, hot-path autopsy, savage/diff review, security or performance sins, or practical redemption paths. Phrases like roast this, brutal review, top sins, cleanup debt. Polite evidence-first PR review → octocode-research.4---5
6# Octocode Roast
7
8Sharp code critique with proof and a repair path.
9Flow: `TARGET → INSPECT → INVENTORY → AUTOPSY → CHECKPOINT → REDEEM`.
10
11## Lobby rules
12- Target patterns, never people; obey the requested scope and widen only with approval.
13- Cite or drop it: every major finding needs an exact anchor, impact, confidence, and repair move.
14- Obey explicit user targets first. Only widen to staged/diff/repo scope when no target was given or the user asks for a broader pass.
15- Punch the code, not the coder; avoid insults about ability, identity, or experience.
16- Never reveal a secret; redact values and use restrained language for security or production-sensitive findings.
17- Rank confirmed security, data loss, correctness, and user-impacting performance above style or taste.
18- Default to medium tone; use savage/nuclear only when explicitly requested. Do not edit or install before consent.
19- Stop when: the target resolves to no files; the checkpoint is reached — important versus redundant findings summarized, nothing edited yet; a repair, a scope widening, or an install needs consent; savage/nuclear tone was not requested; or evidence is pattern-only — report the lead with its confidence instead of asserting exploitability, latency, or outage.
20
21## Severity
22- Capital offenses: confirmed secret exposure, injection/RCE paths, data loss or corruption, auth/access bypass.
23- Felonies: risky security controls, N+1 or hot-path performance damage, brittle async/concurrency, dangerous coupling, change-blocking god functions.
24- Crimes: broad type abuse, hidden state, poor errors, missing tests around risky logic.
25- Slop: duplicate ceremony, AI-ish verbosity, unclear naming, style residue that slows maintenance.
26- Misdemeanors: TODO fossils, console logs, formatting noise.
27If there are 20+ issues, triage the top 10 by impact and confidence, then separate important findings from redundant noise.
28
29## Smart routes — load only what the current step needs
30- When you have the target and are ready to inspect it, load `references/roast-playbook.md` — the phase-by-phase run through inspection, inventory, autopsy, and the pre-fix checkpoint.
31- When building the inventory and ranking generic smells, load `references/sin-catalog.md`; for language-specific patterns or structural queries load `references/language-sins.md` — choose evidence appropriate to the code.
32- When the user picks repairs at the checkpoint, load `references/redemption-flow.md` — redeem findings through consent-gated fixes and verification.
33- When scope spans a monorepo or many categories, load `references/parallel-roasting.md` — split the inspection and inventory across workers without duplicating findings.
34- When research tooling is needed, load `references/octocode.md` and use `octocode-research` if available — verify before joking; mark reduced coverage otherwise.
35- When improving this skill, prefer `octocode-graph-eval`; otherwise load `references/improve-loop.md` — require an accept/revert criterion.
36
37## Related routes
38- Use `octocode-research` for evidence gathering; `octocode-graph-eval` to measure roast usefulness; `octocode-prompt-optimizer` only for tone/instruction wording.
39- Use `octocode-skills` when changing this skill folder.
40
41## Output
42Use: `Top roast`, `Important findings`, `Redundant / low-value findings`, `Autopsy`, `Redemption paths`, `Fix checkpoint`. Each finding includes `file:line`, evidence, impact, confidence, and repair move.
43
44## Scripts
45None — this skill is instruction-only. Evidence comes from `octocode-research` and the host's own repo tools; verification runs the target project's own checks.