Automatically review documents against checklists and best practices. Use when creating or reviewing ADRs, Design Docs, meeting notes, technical proposals, or RFCs...
Automatically review technical documents based on best practices and quality checklists.
This skill automatically activates when you create or update:
No external files needed - all checks are built-in.
Detection: Filename contains "ADR" or has ADR structure Required sections: Context, Decision, Alternatives, Rationale, Consequences
Detection: Filename contains "design-doc" or has Design Doc structure Required sections: Overview, Background, Goals, Design, Alternatives, Plan
Detection: Contains meeting agenda or decision materials Required sections: Purpose, Participants, Decision materials, Options
Detection: Contains proposal or RFC structure Focus: Problem definition, Trade-off analysis, Concrete examples
Identify from:
Verify all required sections exist based on type.
See ANTI_PATTERNS.md for full catalog.
1. 思考停止ワード (Vague Expressions)
❌ Detected phrases:
✅ Fix: Replace with specific criteria
❌ "データベースを適切に選択"
✅ "トラフィック1000req/s以下ならPostgreSQL、超える場合Cassandra"
❌ "パフォーマンスを改善"
✅ "レスポンスタイム500ms→200ms以下に改善"
❌ "必要に応じてスケール"
✅ "CPU使用率80%を5分間超えたら自動スケール"
2. Missing Context
❌ Problem: Document jumps to solution without explaining why
✅ Fix: Add background section explaining:
3. Missing Trade-offs
❌ Problem: Only positive aspects mentioned
✅ Fix: Add comparison table:
| Criterion | Option A | Option B | Option C |
|---|---|---|---|
| Performance | 8/10 | 6/10 | 9/10 |
| Maintainability | 6/10 | 9/10 | 5/10 |
| Cost | Medium | High | Low |
4. No Concrete Examples
❌ Problem: Abstract descriptions only
✅ Fix: Add concrete examples:
5. Vague Goals
❌ "Improve system performance" ✅ "Reduce P95 latency from 500ms to <200ms"
❌ "Enhance security" ✅ "Implement TLS 1.3, AES-256 encryption, 90-day cert rotation"
Output format:
## Document Quality Review
**Document Type**: [ADR/Design Doc/Meeting Prep/etc.]
**Overall Assessment**: [Excellent/Good/Needs Improvement/Critical Issues]
### Summary
[2-3 sentence assessment]
### Critical Issues (Must Fix)
1. **Missing Section: Alternatives**
- Location: Entire document
- Problem: No alternatives considered
- Impact: Cannot verify this is the best option
- Fix: Add section with at least 2 alternatives and trade-off analysis
2. **Vague Expression: Line 45**
- Detected: "セキュリティを適切に設定"
- Problem: No specific criteria
- Fix: "TLS 1.3、AES-256暗号化、証明書90日ローテーション"
### Suggestions (Should Consider)
1. **Add Concrete Metrics**
- Current: "Improve performance"
- Suggestion: "Reduce P95 latency to <200ms (currently 500ms)"
2. **Include Diagrams**
- Add architecture diagram (Mermaid recommended)
- Add sequence diagram for complex flows
### Positive Aspects
- Clear decision rationale
- Well-structured trade-off analysis
- Concrete examples provided
### Checklist Results
ADR Completeness: 7/8 sections ✅
- ✅ Context
- ✅ Decision
- ✅ Alternatives
- ✅ Rationale
- ❌ Negative consequences (missing)
- ✅ Related decisions
Before publishing any technical document:
Check for these patterns and replace with specifics:
| Vague Expression | Specific Alternative |
|---|---|
| "適切に実装" | "TDD with 80%+ coverage, code review required" |
| "柔軟に対応" | "Support JSON and XML formats, add YAML in Q2" |
| "効率的に処理" | "Process <1000ms for 95% of requests" |
| "必要に応じて" | "When CPU >80% for 5min, auto-scale" |
| "基本的には" | "Always X, except for Y (documented in ADR-123)" |
| "なるべく" | "Target: 99%, minimum: 95%" |
| "バランスが大事" | "Prioritize speed (2mo), accept tech debt, refactor in Q3" |
Input: "パフォーマンスを適切に改善する"
Detection: "適切に" (vague adverb)
Feedback:
❌ Detected: 思考停止ワード "適切に"
Location: Line 23
Problem: No specific criteria for "appropriate"
✅ Fix: "レスポンスタイムを200ms以下に改善(現在500ms)"
Input: ADR with only chosen option, no alternatives
Detection: No "Alternatives" section
Feedback:
❌ Critical Issue: Missing Alternatives Analysis
Location: Entire document
Problem: No alternatives considered. Cannot verify best option.
Impact: Future readers won't understand why other options rejected.
✅ Fix: Add "Alternatives Considered" section:
| Option | Pros | Cons | Cost |
|--------|------|------|------|
| PostgreSQL (chosen) | ACID, team expertise | Higher ops cost | $1500/mo |
| MongoDB | Simple ops, flexible schema | No ACID | $1000/mo |
Input: "システムの性能を向上させる"
Detection: No metrics
Feedback:
❌ Vague Goal Detected
Current: "システムの性能を向上させる"
Problem: Not measurable
✅ Fix: "以下の性能目標を達成:
- P95レイテンシ: 500ms → 200ms以下
- スループット: 2000 req/s → 5000 req/s
- エラー率: 0.5% → 0.1%以下"
Works alongside:
doc-templates: Reviews generated templatestech-doc-reviewer: Provides initial quick checkprinciple-guide: Validates decision-making processAutomatically activates when:
For detailed anti-pattern catalog: ANTI_PATTERNS.md
For templates: Use doc-templates skill
For detailed review: tech-doc-reviewer agent provides deeper analysis