Back to dashboardClone → interview → slice → review

Clone → interview → slice → review

Handbook · Review skill

Automatic project discovery

Clone this template, enter its root and run claude. Review .claude/settings.json and both hook scripts before trusting it. Native project skills and agents are discovered without a global installer. Tracked settings register SessionStart guidance and the existing narrow Read/Edit/Write path guard. Python 3 must be available as python3 on PATH. No packages, plugins, credentials, MCP servers or global settings are installed.

Interactive settings-file hooks run after workspace trust. SessionStart adds model context for the next request; it cannot force a welcome screen or guaranteed skill selection. Enter a product request or /project-kickoff. Noninteractive claude -p may execute repository hooks without a trust dialog; inspect unfamiliar repositories first. Managed settings can disable hooks. Live model interaction was not exercised here.

Requirements prompt

text
/project-kickoff Build an internal work-item tracker.
Ask about users, acceptance criteria and constraints first. Offer choices
with tradeoffs and wait for material design answers. Start with one usable,
tested capability. Do not select CQRS or distributed services without a need.

The interview separates vertical/horizontal/hybrid delivery from module structure (layered, clean/hexagonal, vertical slice), domain modeling (CRUD/domain rules/DDD), deployment, CQRS, events and sagas. It also asks stack, schema versus dummy/requirements entities, validation, auth and tests. Conditional options apply only where relevant. Confirmed answers are value-bound in docs/project/design.json. Older records now need an explicit delivery_strategy answer; do not silently migrate real answers.

Project records, selected principles and consequential ADRs belong to your application. Avoid an ADR for every small implementation detail. /backend-scaffold consumes confirmed choices; /implement-change builds a bounded slice.

Executable sample

From the repository root:

sh
python3 examples/sample-project/work_items.py
(cd examples/sample-project && python3 -m unittest discover -s tests -v)

The sample is a standard-library domain/service slice with dummy in-memory entities, real validation and failure-path tests. It has no HTTP API, auth or database. It is isolated from root project state; its ADR is accepted only for the teaching fixture.

Source-bound checks

Configure actual reviewed commands in ignored .claude/framework.local.json. For this nested sample, this gate sets its working directory explicitly:

json
{"gates":[{"name":"sample-domain","argv":["python3","-c","import os,runpy; os.chdir('examples/sample-project'); import sys; sys.path.insert(0,'.'); sys.argv=['unittest','discover','-s','tests','-v']; runpy.run_module('unittest',run_name='__main__')"],"timeout":60,"blocking":true}]}

This is a teaching gate; real application gates must test the actual application.

sh
python3 .claude/framework/review.py prepare --id slice-001 --apply
python3 .claude/framework/review.py run
python3 .claude/framework/review.py run --execute

Use /iteration-review with acceptance criteria and the supplied local MR base/head or diff. Existing eng-reviewer inspects the scoped diff/contracts and real raw results. Fill docs/project/reviews/slice-001.json with actual acceptance, security, claim and ADR evidence; record independent review honestly. Then run:

sh
python3 .claude/framework/review.py check --id slice-001

Finalize STATE/ROADMAP and intended checklist/ADR edits before taking the final snapshot and running checks. Source changes and gate-configuration changes invalidate receipts. Review records and ignored files are explicitly outside fingerprint coverage. Receipts are editable local evidence, not signed attestations; semantic evidence and reviewer identity are self-reported and need inspection. An unavailable independent reviewer remains UNVERIFIED. Fix and revalidate within two rounds; unresolved blockers stop completion. MR output is a local draft; external fetch/post/merge/push and credential use are separate authorized actions.

Improve the next review

Record zero to three lessons with finding, proposed checklist change and revalidation evidence. Review those proposals, then add specific checks to docs/project/review-pattern.md for the next iteration. Example: “Boolean ids were accepted as integers; add an explicit bool rejection regression.” Do not automatically rewrite agent instructions, permissions or accepted ADRs. Unsupported claims are corrected, removed or blocked; no system can promise zero hallucinations.

Disable and rollback

Remove the Foundry SessionStart entry from tracked settings to disable the reminder; remove its PreToolUse entry to disable the path guard. Preserve unrelated settings; use Git diff/revert to review/restore changes. Optional managed installations still use install --hooks, ownership-aware rollback/uninstall and default-off hooks. The source template now ships two registered hooks, superseding historical default-off snapshots. No new tool permission grants are included.

The review skill now follows an explicit combined GSD/Superpowers/Spec Kit/OpenSpec-inspired procedure. Use its matrix for specification versus quality findings, requirement coverage, technical feedback dispositions and whole-branch MR risks. No upstream framework installation is needed.