How this skill is triggered — by the user, by Claude, or both
Slash command
/cc-cmds:reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Perform a final review of the design document.
Perform a final review of the design document.
All analysis work and inter-agent communication should be in English to optimize token usage. User-facing communication (summaries, questions, status updates) should be in Korean.
Requirement consistency, internal coherence, feasibility, implementation order, missing items, and any other perspective important in the context of this specific design.
mkdir -p docs/_temp
docs/_temp/review_log.md with a header and set round counter to 0.docs/_temp/review_proposals.md as an empty file.Perform agent-based iterative review until no proposals remain across two consecutive rounds. Each round spawns a fresh review agent that independently reviews the document from scratch.
State: consecutive_clean = 0, round = 0
Loop procedure:
round += 1. Create a review agent (Agent tool) with the review agent prompt below.docs/_temp/review_proposals.md (overwriting at round start), appends a round summary to docs/_temp/review_log.md, and returns a structured summary including proposal count.docs/_temp/review_proposals.md to get the current round's proposals.docs/_temp/review_log.md with disposition tags.
e. consecutive_clean = 0consecutive_clean += 1consecutive_clean == 2 → proceed to Phase 3.Present proposals item-by-item via AskUserQuestionTool, batched up to 4 at a time. No "approve all" option — every proposal requires individual review.
For Proposal type (fix proposals):
For Decision type (judgment calls):
Other input: The user may type free-form text instead of selecting an option. This is handled by the Processing Protocol below.
For each user response to a proposal:
[APPROVED] in review_log.md.## Acknowledged Items in review_log.md. Log as [REJECTED]. Future agents will skip this item.[MODIFIED].[USER-DIRECTED].The main session applies approved changes directly using Edit tool (or equivalent). The agent never modifies the design document. Since concepts may affect multiple locations, the main session identifies all affected locations during scope analysis and applies changes in batch.
If an Edit fails:
review_log.md.Review agent prompt:
You are a design document reviewer. Perform ONE independent round of review.
First, read docs/_temp/review_log.md to determine the current round number.
IMPORTANT: Check for an "Acknowledged Items" section in review_log.md. These are items the user has already reviewed and decided to keep as-is. Do NOT report these items as proposals again.
Then read the design document and review it against ALL of the following criteria:
1. Requirement consistency — Verify all requirements mentioned in the spec are reflected in the design, and all design decisions trace back to a requirement. Check for requirements that are partially addressed or contradicted.
2. Internal coherence — Check that data models, API contracts, sequence flows, and component responsibilities are mutually consistent. A field added in one section must appear correctly in all related sections.
3. Feasibility — Verify that proposed solutions are technically feasible with the stated tech stack. Flag any design that assumes capabilities not available in the chosen technologies.
4. Implementation order — Check that the proposed implementation sequence respects dependencies. No step should reference artifacts from a later step.
5. Missing items — Look for gaps: error handling not specified, edge cases not covered, security considerations absent, migration plans missing, rollback strategies undefined.
6. Contextual review — Based on the specific domain and nature of this design, check for additional concerns that matter in this context but are not covered by the above categories.
{BASE_MODE_CONSTRAINT}
IMPORTANT: Do NOT modify the design document directly. For every issue found, create a proposal in the following format:
### PROP-R{round}-{number}
- **Type**: [proposal | decision]
- **Category**: [requirement-consistency | internal-coherence | feasibility | implementation-order | missing-items | contextual]
- **Location**: [section name or location in the design document]
- **Issue**: [problem description]
- **Concept**: [fix concept — what to change and why]
- **Options**: [decision type only: list up to 4 options with descriptions. Include recommendation if any.]
- **Reference text**: [relevant excerpt from the original text, as a hint for scope analysis]
- **Agent note**: [optional: additional context, alternatives, or extra options beyond 4]
Type guidance:
- proposal: The fix direction is clear. Describe what should change and why.
- decision: Multiple valid approaches exist and user judgment is needed. List up to 4 options with descriptions (AskUserQuestionTool constraint). If more alternatives exist, note them in Agent note.
Write all proposals to docs/_temp/review_proposals.md (overwrite the file at the start of the round).
After completing the review, append a round summary to docs/_temp/review_log.md:
## Review Round N
- Proposals created: X (categorized by criteria)
- Proposal details: [list each PROP-ID with Type, Category, and brief description]
Return a structured summary:
- Round number
- Total proposals created
- Proposal categories breakdown
- Brief description of each proposal
On loop exit: After confirming 2 consecutive rounds with 0 proposals, mark the document status as "설계 완료" and present a summary of all changes across all rounds to the user in Korean.
docs/_temp/ directory:rm -rf docs/_temp/
review_log.md.docs/_temp/review_log.md with disposition tags: [APPROVED], [REJECTED], [MODIFIED], [USER-DIRECTED].Base design review mode. When $ARGUMENTS contains --base, add the following constraint block to the review agent prompt in place of {BASE_MODE_CONSTRAINT}:
BASE MODE CONSTRAINT:
Verify consistency and completeness of the existing design content. Do NOT propose adding new implementation details.
- DO propose: inconsistencies, contradictions, or missing interface definitions between existing sections.
- DO propose: essential supplements to existing content that are clearly needed for consistency (will be confirmed with user).
- DON'T propose: adding new implementation details that don't currently exist (these belong to task-level design).
- DON'T propose: removing or reducing existing detailed design content.
When --base is not present, remove the {BASE_MODE_CONSTRAINT} placeholder line from the agent prompt.
Parse $ARGUMENTS to detect and strip the --base flag. Pass the remaining arguments (the design document path) to the workflow.
$ARGUMENTS
npx claudepluginhub nharu/cc-cmds --plugin cc-cmdsValidates design documents before planning. Uses a 9-point checklist to catch specification gaps and assess architecture, test strategy, and handoff quality.
Reviews design and implementation docs from analysis-process for document quality, internal consistency, and technical soundness before implementation-process.
Technical design documents — problem analysis, solution exploration, architectural decisions. Invoke whenever task involves any interaction with design documents — creating, updating, reviewing, comparing options, or capturing architectural decisions.