Skip to content

t1k:review

FieldValue
Modulet1k-base
Version3.6.6
Efforthigh
ToolsAgent, AskUserQuestion, Bash, Glob, Grep, Read, Skill, Task

Keywords: adversarial, audit, coverage, pr, quality, red-team, review

/t1k:review
[#PR | COMMIT | --pending | codebase [parallel] | adversarial] [--advice]

Adversarial code review with technical rigor, evidence-based claims, and verification over performative responses. Every review includes red-team analysis that actively tries to break the code.

Follow protocol: skills/t1k-cook/references/routing-protocol.md This command uses role: reviewer

InputModeWhat Gets Reviewed
#123 or PR URLPRFull PR diff fetched via gh pr diff
abc1234 (7+ hex chars)CommitSingle commit diff via git show
--pendingPendingStaged + unstaged changes via git diff
(no args, recent changes)DefaultRecent changes in context
codebaseCodebaseFull codebase scan
codebase parallelCodebase+Parallel multi-reviewer audit

If invoked WITHOUT arguments and no recent changes, use AskUserQuestion — details: references/input-mode-resolution.md

YAGNI, KISS, DRY always. Technical correctness over social comfort. Verify before implementing. Ask before assuming. Evidence before claims.

Full contract: skills/t1k-cook/references/advisory-supervision.md — invocation, forward-carry, PR gate, empty-counsel fallback, and the “never bypasses a gate” clause. Read it before firing the first checkpoint.

Composes with every input mode. In PR / Codebase modes the checkpoints fire per PR / per review target, not once per run.

Review-specific checkpoints, on top of the three universal ones:

  • After the initial review completes — pass the target ref, the diff summary, the findings list with severities, and the tentative verdict; ask for a go/no-go on the verdict and for findings that were missed.
  • After red-team analysis — pass the attack surface examined and what survived; ask which failure mode was not tried.
  • Before the review lands anywhere durable (a PR comment, a report file) — pass the final review body and ask for a sanity check on tone, evidence, and severity assignment. Revise the body if counsel flags a Critical/Important problem with it.

The verdict stays this skill’s. Counsel informs the write-up and the severities; it is not a veto in either direction — it can neither downgrade a Critical finding nor manufacture one. Evidence rules under Practices remain authoritative.

Follow protocol: skills/t1k-cook/references/activation-protocol.md

PracticeWhenReference
Spec complianceAfter implementing from plan/spec, BEFORE quality reviewreferences/spec-compliance-review.md
Adversarial reviewAlways-on Stage 3 — actively tries to break the codereferences/adversarial-review.md
Receiving feedbackUnclear feedback, external reviewers, needs prioritizationreferences/code-review-reception.md
Requesting reviewAfter tasks, before merge, stuck on problemreferences/requesting-code-review.md
Verification gatesBefore any completion claim, commit, PRreferences/verification-before-completion.md
Edge case scoutingAfter implementation, before reviewreferences/edge-case-scouting.md
Checklist reviewPre-landing, /t1k:ship pipeline, security auditreferences/checklist-workflow.md
Task-managed reviewsMulti-file features (3+ files), parallel reviewers, fix cyclesreferences/task-management-reviews.md
Skill review (auto)Diff includes .claude/skills/*/SKILL.md or .claude/skills/*/references/*.mdinvoke t1k-skill-creator (owns Skillmark + decision-tree + line-cap + body-tightness §K)
Agent review (auto)Diff includes .claude/agents/*.mdinvoke t1k-agent-creator (owns canonical agent frontmatter + maxTurns/model)

Skill-body tightness check (auto, when SKILL.md is in diff): flag any added line matching incident-marker patterns (dates, PR refs, Originating incident:, Verified failure, commit hashes, Real-world miss). Recommend moving to references/. Rationale + full pattern list: skills/t1k-skill-creator/references/architecture-rules.md §K. CI gate is validate-skill-body-tightness.cjs — surface gate output in review summary.

Stage 1 — Spec Compliance → references/spec-compliance-review.md Stage 2 — Code Quality (registry-routed reviewer agent) — runs AFTER Stage 1 passes Stage 3 — Adversarial Review → references/adversarial-review.md — ALWAYS-ON

Full decision tree and workflows: references/review-workflows.md

Comment-only — no state transition. Full contract: skills/t1k-plane/references/workflow-enforcement.md § Stage 3. Governing rule: modules/t1k-plane/rules/plane-workitem-workflow.md.

After Stage 3 completes, post the verdict and finding count to every work item bound to this session. Critical findings do NOT move the item backwards. If the project defines an extra started-group state named In Review / Review / QA, move there instead of commenting alone; never create such a state to satisfy this. Plane enforcement now blocks, not warns, on an unbound repo or absent plane server — see the cited Stage 0 contract. Escapes: T1K_PLANE_MODE=advisory|off, --no-plane, recorded optout.

  • No hardcoded values
  • Error handling present
  • No unnecessary complexity (YAGNI/KISS)
  • No duplication (DRY)
  • Security: no secrets, credentials, or sensitive data
  • Tests present for new functionality

Project-type checklists: references/checklists/base.md, references/checklists/api.md, references/checklists/web-app.md

Follow protocol: skills/t1k-cook/references/subagent-injection-protocol.md

Sub-agent forking: see skills/t1k-architecture/references/fork-hygiene.md.