garrison-review
Code-review the current change or diff for correctness bugs and quality cleanups (reuse, simplification, efficiency) using Claude Code's built-in review mechanism (the code-review skill). A standalone same-model review that reports its findings; the per-slice review gate is now garrison-adversarial-review. NOT the fresh-context decorrelated review - use garrison-adversarial-review; NOT a test runner - use garrison-test. Invoked by the Garrison run engine as its same-model review step, or standalone only when the user explicitly asks for it. Do NOT auto-invoke this skill from task inference - Garrison decides when its phase skills run.
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- garrison-review
- description
- Code-review the current change or diff for correctness bugs and quality cleanups (reuse, simplification, efficiency) using Claude Code's built-in review mechanism (the code-review skill). A standalone same-model review that reports its findings; the per-slice review gate is now garrison-adversarial-review. NOT the fresh-context decorrelated review - use garrison-adversarial-review; NOT a test runner - use garrison-test. Invoked by the Garrison run engine as its same-model review step, or standalone only when the user explicitly asks for it. Do NOT auto-invoke this skill from task inference - Garrison decides when its phase skills run.
03 SKILL.md 正文
garrison-review
Policy-read preamble (soft - D5/D12)
At the start of every invocation, look for the compiled Orchestrator policy at
~/.garrison/orchestrator/policy.json (or $GARRISON_POLICY_PATH).
- Policy present (a Garrison run): it is the single authority. This skill
carries NO model/effort pins - its execution parameters come from the policy
matrix cell for its phase (
matrix[<phase>][<tier>]), and its gate duties from the bindable phase-skill contract (the Orchestrator fitting's PHASE_SKILL_CONTRACT.md): do the phase's work in the run context handed to you (runDir, card, phase), write the phase's gate-status entry under the runDir, and print the phase'sGATE <phase>: <verdict>line before choosing the next list. - Policy absent (standalone, any repo): proceed with the caller-supplied context and sensible defaults - NEVER stop. Report to the caller rather than writing gate-status/run artifacts, and skip any board/run-engine steps.
Same-model (Claude) code review of the current change. A standalone code reviewer.
No longer a per-slice pipeline gate (Part 8.1). The per-slice review merged into the fresh-context
garrison-adversarial-review— once the deterministic wall (build/typecheck/lint/tests) plus the fresh-context and Codex passes existed, this same-model review's unique catches were ~zero, so it was retired from the build loop. It is retained here as a fully-functional standalone code-review skill (Claude's built-incode-review): use it directly —/code-review before shipping, a second look at a diff or PR — whenever you want Claude's own same-context review.
What it runs
Invoke the built-in code-review skill on the current diff — it reviews for correctness bugs first, then reuse/simplification/efficiency cleanups, at the session effort. (--comment posts inline PR comments; --fix applies findings — use only when asked.)
If code-review is unavailable, run the equivalent yourself: read the diff (git --no-pager diff <base>...HEAD + uncommitted), and report correctness bugs first, then quality cleanups, each with file:line and a concrete fix. That is what the built-in does.
Scope
- In a garrison build: review the SLICE diff only — capture
BASE=$(git rev-parse HEAD)before the slice, reviewgit diff $BASE...HEAD+ uncommitted. - Standalone: review the diff/PR/range the user names (default: uncommitted + last commit).
Loop role + output
- In a garrison build: report findings; real correctness findings send the slice back to
garrison-implementto fix (garrison owns the retry ceiling). Cheap quality nits are applied; larger ones are logged. Re-review after a fix. - Standalone: report the findings and stop — do not auto-fix unless asked.
Print one line in the lead context: GATE review: <clean|findings(n)> — <summary>. In a build, fold the result into the slice gate-status. Distinct from garrison-adversarial-review (this same session's built-in review vs. a FRESH-CONTEXT Anthropic reviewer with no access to this session's rationale) and from garrison-codex-checkpoint (the genuine cross-model check, now run once in the final phase, not per slice).
04 同仓库更多 Skills
pinned-helper
An owned skill the human has pinned so the Improver must not touch it.
legacy-helper
A rarely used helper kept around from an earlier workflow.
human-notes
A human-authored skill not deployed by APM (loose, not in the lock).
garrison-helper
Helps compose and station Garrison Fittings into Faculty role slots.
walkthrough
Record a short, narrated, captioned video walkthrough that proves a finished coding task and shows how it behaves, then self-verify the video via vision on extracted frames and publish it as one scrubbable Tailscale link. Use after completing a change/fix/feature on a web project (Next.js/React etc.) when the user wants visual proof of work, a demo of a user flow, or to avoid manually retesting and watching a long raw screen recording. Triggers on requests like "record a walkthrough", "show me it working", "make a demo video of this", "prove the feature", or finishing a UI/route/form/API change worth demonstrating. Not for walking through a full from-scratch project build.
Trello
Manage tasks via Trello REST API.