Generate structured reviews of code changes. Use after completing implementation work or when the user explicitly requests a review of their changes.
Generate a structured review of recent code changes using the narrator agent.
Use this skill in these situations:
Do not use for simple one-line edits or documentation-only changes unless specifically requested.
The review tool spawns a separate narrator agent that:
The review is automatically presented to the user via the TUI. Do not repeat or rephrase the review contents - the user has already seen the full review.
Generates a JSON review displayed in the TUI:
review "Context: Refactored authentication to use JWT tokens instead of sessions for better scalability"
review "Motivation: User requested real-time updates, so I added WebSocket support"
review "Background: Fixed the pagination bug where the last page wasn't loading correctly"
After the tool executes, simply acknowledge completion. Do not repeat the review content.
Example response:
Review complete. See the structured review above for details.
If the user prefers inline chat output instead of the TUI, use text mode:
review "Context: Major refactor to improve test coverage" --mode text
In text mode, the review is returned as markdown prose in the chat.
task (required): Context for the review. Provide background on why changes were made, design intent, or motivation. The narrator discovers what changed via git/jj. Do not list specific files or tell the narrator what to focus on unless the user explicitly requested a scoped review.mode (optional): Either "structured" (default, returns JSON for TUI) or "text" (returns markdown prose).taskGood examples (context and motivation):
Bad examples (directives and file lists):
Exception: If the user explicitly asks for a scoped review ("review just the auth changes"), then it's appropriate to pass that scope in the task parameter.
The narrator agent discovers all changes via git/jj diff and decides what to include. Your job is to provide helpful context about why the changes were made, not what to look at.