AgentSkillsCN

start-review

从现有计划与实施中启动评审环节。发现可用的计划,验证实施是否已完成,并调用技术评审技能。

SKILL.md
--- frontmatter
name: start-review
description: "Start a review session from an existing plan and implementation. Discovers available plans, validates implementation exists, and invokes the technical-review skill."
disable-model-invocation: true
allowed-tools: Bash(.claude/skills/start-review/scripts/discovery.sh)

Invoke the technical-review skill for this conversation.

⚠️ ZERO OUTPUT RULE: Do not narrate your processing. Produce no output until a step or reference file explicitly specifies display content. No "proceeding with...", no discovery summaries, no routing decisions, no transition text. Your first output must be content explicitly called for by the instructions.

Workflow Context

This is Phase 6 of the six-phase workflow:

PhaseFocusYou
1. ResearchEXPLORE - ideas, feasibility, market, business
2. DiscussionWHAT and WHY - decisions, architecture, edge cases
3. SpecificationREFINE - validate into standalone spec
4. PlanningHOW - phases, tasks, acceptance criteria
5. ImplementationDOING - tests first, then code
6. ReviewVALIDATING - check work against artifacts◀ HERE

Stay in your lane: Verify that every plan task was implemented, tested adequately, and meets quality standards. Don't fix code - identify problems. You're reviewing, not building.


Instructions

Follow these steps EXACTLY as written. Do not skip steps or combine them. Present output using the EXACT format shown in examples - do not simplify or alter the formatting.

CRITICAL: This guidance is mandatory.

  • After each user interaction, STOP and wait for their response before proceeding
  • Never assume or anticipate user choices
  • Even if the user's initial prompt seems to answer a question, still confirm with them at the appropriate step
  • Complete each step fully before moving to the next
  • Do not act on gathered information until the skill is loaded - it contains the instructions for how to proceed

Step 0: Run Migrations

This step is mandatory. You must complete it before proceeding.

Invoke the /migrate skill and assess its output.

If files were updated: STOP and wait for the user to review the changes (e.g., via git diff) and confirm before proceeding to Step 1. Do not continue automatically.

If no updates needed: Proceed to Step 1.


Step 1: Discovery State

!.claude/skills/start-review/scripts/discovery.sh

If the above shows a script invocation rather than YAML output, the dynamic content preprocessor did not run. Execute the script before continuing:

bash
.claude/skills/start-review/scripts/discovery.sh

If YAML content is already displayed, it has been run on your behalf.

Parse the discovery output to understand:

From plans section:

  • exists - whether any plans exist
  • files - list of plans with: name, topic, status, date, format, specification, specification_exists, plan_id (if present)
  • count - total number of plans

From state section:

  • scenario - one of: "no_plans", "single_plan", "multiple_plans"
  • implemented_count - plans with implementation_status != "none"
  • completed_count - plans with implementation_status == "completed"

IMPORTANT: Use ONLY this script for discovery. Do NOT run additional bash commands (ls, head, cat, etc.) to gather state - the script provides everything needed.

→ Proceed to Step 2.


Step 2: Route Based on Scenario

Use state.scenario from the discovery output to determine the path:

If scenario is "no_plans"

No plans exist yet.

Output the next fenced block as a code block:

code
Review Overview

No plans found in docs/workflow/planning/

The review phase requires a completed implementation based on a plan.
Run /start-planning first to create a plan, then /start-implementation
to build it.

STOP. Do not proceed — terminal condition.

If scenario is "single_plan" or "multiple_plans"

Plans exist.

→ Proceed to Step 3 to present options.


Step 3: Display Plans

Load display-plans.md and follow its instructions as written.

→ Proceed to Step 4.


Step 4: Select Plans

Load select-plans.md and follow its instructions as written.

→ Proceed to Step 5.


Step 5: Invoke the Skill

Load invoke-skill.md and follow its instructions as written.