en un clic
spec-kitty-review
Review a work package implementation
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Review a work package implementation
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
Cross-artifact consistency and quality analysis
Interview and compile a project charter
Execute a work package implementation
Create an implementation plan
Generate research documents for the current mission
Create a mission specification
| name | spec-kitty.review |
| description | Review a work package implementation |
| user-invocable | true |
Version: 0.12.0+
Review the implementation of a work package against its prompt file, acceptance criteria, and owned-file boundaries. Verify correctness, test coverage, and compliance with any applicable guardrails (e.g., bulk edit occurrence maps).
IMPORTANT: This step works inside the execution workspace (worktree)
allocated by spec-kitty agent action review WPxx --agent <name>. Do NOT modify files outside
your owned_files boundaries.
In repos with multiple missions, always pass --mission <handle> to every spec-kitty command. The <handle> can be the mission's mission_id (ULID), mid8 (first 8 chars of the ULID), or mission_slug. The resolver disambiguates by mission_id and returns a structured MISSION_AMBIGUOUS_SELECTOR error on ambiguity — there is no silent fallback.
The content of the user's message that invoked this skill (everything after the skill invocation token, e.g. after /spec-kitty.<command> or $spec-kitty.<command>) is the User Input referenced elsewhere in these instructions.
You MUST consider this user input before proceeding (if not empty).
Run:
spec-kitty agent context resolve --action review --mission <handle> --json
Then execute the returned check_prerequisites command and capture
feature_dir. All paths must be absolute.
The output of spec-kitty agent action review ... is the authoritative work
package prompt and review context. Do not separately call
spec-kitty charter context or go hunting for alternate prompt files unless
the command output tells you to.
Read the WP prompt file from feature_dir/tasks/WPxx-slug.md.
Parse frontmatter for:
owned_files -- only these globs should have been modifiedauthoritative_surface -- primary directory for this WPexecution_mode -- code_change or planning_artifactsubtasks -- ordered list of subtask IDsdependencies -- WPs that must be done firstBefore proceeding with the review, load the agent profile from the WP frontmatter
using the /ad-hoc-profile-load skill (or spec-kitty agent profile list to browse
available profiles). Apply the profile's reviewer guidance and self-review gates for
the rest of this review session.
The WP frontmatter should already have agent_profile set to a reviewer profile
(e.g., reviewer-renata) by the implementing agent before it moved the WP to
for_review. If agent_profile is still set to an implementer profile, load the
implementer profile anyway and note the oversight in your review comments.
For each subtask:
owned_files were modifiedtry/except exists) without exercising the real dependency is
insufficient. Apply the deletion test: temporarily delete the implementation
change, run the test, confirm it fails. If it does not fail, the error path
is untested — the test validates structure, not behaviour. Restore the fix
before proceeding.If this mission has change_mode: bulk_edit in meta.json:
occurrence_map.yaml must be present in the feature directorydo_not_change categories — reject if these were modifiedmanual_review categories have documented justificationThe system enforces map existence automatically, but as a reviewer you should verify that the substance of the changes aligns with the classification, not just that the file exists.
After completing review:
Move the WP forward:
spec-kitty agent status emit WPxx --to approved --actor <name> --mission <handle>
Before rejecting, update agent_profile in the WP frontmatter back to the
implementer profile so the next implementation cycle starts with the right context:
Identify the implementer profile that worked on this WP (check the history field
or status.events.jsonl to find the last in_progress actor).
Alternatively, use the default: implementer-ivan (or python-pedro/java-jenny
for language-specific work).
Update the WP frontmatter:
agent_profile: "implementer-ivan"
role: "implementer"
Commit the updated frontmatter together with your review notes before running:
spec-kitty agent status emit WPxx --to in_progress --actor <name> --mission <handle>
The implementing agent will then load the correct profile via /ad-hoc-profile-load
and resume work with the proper persona and self-review gates.
Next step: spec-kitty next --agent <name> will advance to the next phase.