원클릭으로
sdd-analysis
Spec-Driven Development: Cross-artifact consistency analysis — semantic model building, 6 detection passes, severity assignment
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Spec-Driven Development: Cross-artifact consistency analysis — semantic model building, 6 detection passes, severity assignment
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Spec-Driven Development: Ambiguity detection taxonomy, prioritization heuristic, and sequential questioning protocol
Spec-Driven Development: Constitution format, versioning rules, and governance methodology
Spec-Driven Development: Orchestration protocol — working-spec.json lifecycle, phase management, initialization, and delegation guidance for SDD workflows
Spec-Driven Development: Implementation planning format, constitution check gates, and Weave plan bridge
Spec-Driven Development: Feature specification format, quality validation checklist, and requirement writing rules
SOC 직업 분류 기준
| name | sdd-analysis |
| description | Spec-Driven Development: Cross-artifact consistency analysis — semantic model building, 6 detection passes, severity assignment |
The analyze step performs a read-only pass across all SDD artifacts to detect inconsistencies, coverage gaps, and constitution violations before implementation begins. Do NOT modify any files during analysis — write findings to a report only.
Before running detection passes, build an inventory from all artifacts:
From the spec (spec.md):
[NEEDS CLARIFICATION] markers remainingFrom the plan (plan.md):
From the tasks (tasks.md):
From the constitution (memory/constitution.md):
Run each pass in order. Record every finding with a unique ID (A001, A002, ...).
Check that every requirement has a corresponding task:
Findings: FRs with no task, SCs with no verifiable task, unimplemented P1 stories.
Look for redundancy that could cause implementation conflicts:
Findings: Pairs of tasks/requirements that overlap, with recommendation to merge or clarify scope boundary.
Identify requirements that have multiple valid interpretations:
Findings: Each ambiguous item with the specific vague language quoted.
Check tasks against constitutional principles:
Findings: Tasks that would violate principles, with the specific principle cited.
Look for internal contradictions:
Findings: Pairs of items that conflict, with the contradiction described precisely.
Identify items that are too vague to implement:
Findings: Each underspecified item with what information is missing.
Assign severity to each finding:
| Severity | Meaning | Action Required |
|---|---|---|
| CRITICAL | Blocks implementation — ambiguity could cause wrong architecture or data model | Must fix before starting implementation |
| HIGH | Significant risk — likely to cause bugs, missed requirements, or rework | Strongly recommended to fix before implementation |
| MEDIUM | Notable gap — could cause problems but workaround exists | Fix when possible, document if deferring |
| LOW | Minor improvement — good to have but low impact | Fix in Polish phase or future iteration |
Write the analysis report to {feature_dir}/analysis.md:
# Cross-Artifact Analysis: [Feature Name]
**Date**: YYYY-MM-DD
**Analyst**: Thread (read-only)
**Artifacts analyzed**:
- spec.md (FRs: N, SCs: N, User Stories: N)
- plan.md (tasks: N, constitution checks: N)
- tasks.md (tasks: N)
- constitution.md (principles: N)
## Summary
- **FR coverage**: N% of FRs have at least one task
- **SC coverage**: N% of SCs are verifiable through tasks
- **P1 story coverage**: N% of P1 user stories have P1 tasks
- **Critical findings**: N
- **High findings**: N
- **Total findings**: N
## Findings
| ID | Category | Severity | Location | Summary | Recommendation |
|----|----------|----------|----------|---------|----------------|
| A001 | Coverage Gap | HIGH | FR-003 | No task covers FR-003 (rate limiting) | Add task in Phase 2: User Stories |
| A002 | Ambiguity | CRITICAL | FR-007 | "reasonable response time" — no measurable target | Define as SC — suggest < 200ms p95 |
| A003 | Constitution | HIGH | T015 | Task stores PII in logs, violating Security principle | Remove PII from log statements |
## No Findings Categories
[List any of the 6 passes that found zero issues]
## Metrics
- Semantic model: N FRs, N SCs, N user stories, N tasks, N principles
- Coverage gaps: N FRs uncovered, N SCs unverifiable
- Longest dependency chain: T### → T### → T### (N tasks)
Limits: Maximum 50 findings total. If more than 50 are found, keep all CRITICAL and HIGH, then top MEDIUM by impact, then sample LOW.
The analysis step is distinct from the review gates:
[REJECT].[REJECT].The analysis report is an INPUT to the implement step — Shuttle should address CRITICAL and HIGH findings during implementation.