install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/cdd-review-decision" ~/.claude/skills/majiayu000-claude-skill-registry-cdd-review-decision && rm -rf "$T"
manifest:
skills/data/cdd-review-decision/SKILL.mdsource content
Decision Review (Design Phase)
You are conducting a design review for decision ID:
$1.
This review happens after decisionStatus is set to DECIDED but before implementation starts.
Your Task
Review the decision document for consistency with existing architecture, guidelines, and other decisions.
1. Load the Decision
- Find and read
CDD/**/*$1*.cdd.md - Understand:
- Goal: What they want to achieve
- Context: Background, constraints, and gathered context references
- Selection: Chosen approach
- Rejections: Explicitly rejected alternatives
2. Verify Context Section
IMPORTANT: Check if the Context section contains
gathered_context references.
If the Context section has
gathered_context:
gathered_context: - path: docs/architecture/overview.md summary: ... relevance_to_task: ...
Then:
- Read each referenced document
- Verify the summary and relevance_to_task are accurate
- Check if any important documents are missing
If the Context section lacks
gathered_context:
- Flag this as NEEDS_REVISION
- Recommend running
first/cdd-gather-context
3. Gather Additional Reference Materials
Beyond the gathered_context, also check:
- cdd.md format requirementscdd-spec/GUIDE.md
- CDD workflow rulescdd-spec/WORKFLOW.md- Related cdd.md files not in gathered_context (search by phase, keywords, tags)
4. Check Consistency
Verify:
Context Completeness (NEW)
- gathered_context is present in Context section
- All referenced documents actually exist
- No obviously missing related documents
- relevance_to_task explanations are accurate
Format Compliance
- YAML frontmatter is valid
- Required fields present:
,id
,title
,decisionStatus
,metadata.assigneemetadata.created - ID follows naming convention (#SCOPE-NUMBER)
Content Quality
- Goal is clear and measurable
- Context provides sufficient background
- Selection is well-justified
- Rejections explain why alternatives were rejected
- No contradictions within the document
Architecture Consistency
- Doesn't violate existing architecture principles
- Compatible with related decisions (from gathered_context)
- Follows established patterns and conventions
- Technical constraints are realistic
CDD Workflow Rules
- decisionStatus is appropriate (DRAFT/REVIEW/DECIDED)
- No implementation described if status is not DECIDED
5. Generate Review Report
Create a concise report:
# Decision Review: $1 **Review Date:** {{YYYY-MM-DD}} **Reviewer:** AI **Status:** [APPROVED | NEEDS_REVISION] ## Summary [1-2 sentences: What was reviewed and overall assessment] ## Context Verification **gathered_context present:** [Yes/No] [If Yes] Verified references: - [x] docs/architecture/overview.md - Accurate - [x] CDD/tasks/27-xxx.cdd.md - Accurate - [ ] [Missing: docs/xxx.md - Should be included because...] [If No] **Issue:** Context section lacks gathered_context. Run `/cdd-gather-context` first. ## Findings ### Strengths - [List positive aspects] ### Issues Found [Only if issues exist] 1. **[Issue Title]** - Severity: Critical / High / Medium / Low - Description: ... - Recommendation: ... ## Consistency Check - [x] Context completeness - [x] Format compliance - [x] Content quality - [x] Architecture consistency - [x] CDD workflow rules ## Conclusion **Status:** [APPROVED | NEEDS_REVISION] [Final verdict with brief justification] ### Next Steps [Only if NEEDS_REVISION - specific actions required]
6. Present Results
Show the user:
- Review status (APPROVED / NEEDS_REVISION)
- Context verification results
- Key findings
- Recommended next steps
Important:
- Be constructive, not critical
- Focus on architectural consistency, not personal preference
- If gathered_context is missing, this is a NEEDS_REVISION issue
- If uncertain, mark as NEEDS_REVISION and explain what needs clarification
- This review does NOT check code - that's done by cdd-review-implementation
Integration with cdd-gather-context
This skill expects the cdd.md to have been prepared with context gathered by
/cdd-gather-context.
The gathered_context in the Context section serves as:
- Reference list - Documents that informed this decision
- Impact scope - Documents that may need updates after implementation
- Consistency baseline - What this decision must be consistent with
If the decision lacks this context, the review cannot verify architectural consistency properly.