원클릭으로
review-docs
Documentation accuracy review skill. Compares .sdd/docs/ content against implementation for accuracy, completeness, and staleness.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Documentation accuracy review skill. Compares .sdd/docs/ content against implementation for accuracy, completeness, and staleness.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Architecture adherence review skill. Evaluates component design, tech stack compliance, directory structure, SOLID principles, dependency direction, and scope discipline.
Dependency review skill. Checks for known CVEs, abandoned packages, unnecessary dependencies, license compatibility, version pinning, and supply chain integrity.
Performance review skill. Detects N+1 queries, missing indexes, blocking in async contexts, unbounded data fetching, unnecessary computation, inefficient data structures, and missing caching opportunities.
Code quality review skill. Evaluates readability, complexity, naming, comments, error handling, style consistency, dead code, and duplication.
Security review skill. Audits implementation against all 14 OWASP Secure Coding Practices categories. Cross-references spec security requirements. Uses web research to verify unfamiliar patterns.
Spec adherence review skill. Evaluates implementation against functional requirements, success criteria, and acceptance scenarios from the specification. Verifies SHALL obligations, preconditions, postconditions, error paths, edge cases, data models, and API contracts.
| name | review-docs |
| description | Documentation accuracy review skill. Compares .sdd/docs/ content against implementation for accuracy, completeness, and staleness. |
| argument-hint | Invoked by Review Coordinator - do not call directly |
This skill is invoked by the Review Coordinator as a subagent. It compares documentation files in .sdd/docs/ against the actual implementation to detect inaccuracies, stale content, and missing documentation.
Input contract (received via subagent prompt):
.sdd/docs/ files and compare against the actual codebase.Constraint: Do NOT modify any documentation files, source code, the WP file, or the spec file. Only write to the specified output path (FR-028).
The project maintains 6 standard documentation files under .sdd/docs/. For each file, compare the documented content against the actual implementation.
.sdd/docs/architecture.md exist and contain substantive content?.sdd/docs/api-reference.md exist and contain substantive content?.sdd/docs/configuration-guide.md exist and contain substantive content?.sdd/docs/user-guide.md exist and contain substantive content?.sdd/docs/developer-guide.md exist and contain substantive content?.sdd/docs/deployment-guide.md exist and contain substantive content?.sdd/docs/?Use N/A with justification when a category does not apply. Example justifications:
Write findings to the specified output path using the format below. Finding IDs use the DOC- prefix.
---
skill: review-docs
wp: <WP-ID>
spec: <spec-path>
reviewed_at: <ISO-8601-timestamp>
status: completed
finding_counts:
pass: <count>
warn: <count>
fail: <count>
na: <count>
files_reviewed:
- .sdd/docs/architecture.md
- .sdd/docs/api-reference.md
- .sdd/docs/configuration-guide.md
- .sdd/docs/user-guide.md
- .sdd/docs/developer-guide.md
- .sdd/docs/deployment-guide.md
---
# review-docs Findings for <WP-ID>
## Summary
<Brief overview: doc files checked, accuracy assessment, staleness findings.>
## Findings
### DOC-001 [FAIL]
- **Checklist item**: API Reference - Endpoint mismatch
- **Requirement**: FR-046 category 2
- **File**: .sdd/docs/api-reference.md#L45
- **Description**: API reference documents GET /users/:id but implementation uses GET /api/v1/users/:id.
- **Expected**: API reference path should match actual route definition.
- **Evidence**: Route defined in src/routes/users.js#L12 as `/api/v1/users/:id`.
### DOC-002 [WARN]
- **Checklist item**: Configuration Guide - Missing parameter
- **Requirement**: FR-046 category 3
- **File**: .sdd/docs/configuration-guide.md
- **Description**: Environment variable LOG_FORMAT is used in code but not documented.
- **Expected**: All env vars should be listed with type, default, and description.
- **Evidence**: `os.getenv("LOG_FORMAT", "json")` found in src/config.py#L18.
### DOC-003 [N/A]
- **Checklist item**: Deployment Guide - Prerequisites
- **Justification**: No deployment changes in this WP. Deployment guide remains accurate.