@damenor/agent-docs 0.1.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -29
- package/dist/index.js +3834 -217
- package/package.json +14 -11
- package/templates/modules/agents/.agents/agents/doc-designer.md +39 -37
- package/templates/modules/agents/.agents/agents/doc-maintainer.md +35 -35
- package/templates/modules/agents/.agents/agents/doc-reviewer.md +55 -46
- package/templates/modules/agents/.agents/agents/doc-writer.md +34 -33
- package/templates/modules/agents/.agents/agents/reviewer.md +114 -100
- package/templates/modules/agents/.agents/skills/doc-design/SKILL.md +176 -174
- package/templates/modules/agents/.agents/skills/doc-design/references/design-system-format.md +241 -247
- package/templates/modules/agents/.agents/skills/doc-maintain/SKILL.md +205 -195
- package/templates/modules/agents/.agents/skills/doc-maintain/references/triggers.md +171 -165
- package/templates/modules/agents/.agents/skills/doc-review/SKILL.md +245 -240
- package/templates/modules/agents/.agents/skills/doc-review/references/health-checklist.md +115 -112
- package/templates/modules/agents/.agents/skills/doc-scaffold/SKILL.md +164 -157
- package/templates/modules/agents/.agents/skills/doc-scaffold/references/diataxis-quick-ref.md +110 -110
- package/templates/modules/agents/.agents/skills/doc-write/SKILL.md +240 -212
- package/templates/modules/agents/.agents/skills/doc-write/references/adr-format.md +99 -93
- package/templates/modules/agents/.agents/skills/doc-write/references/diataxis-patterns.md +221 -200
- package/templates/base/AGENTS.md +0 -177
- package/templates/base/CHANGELOG.md +0 -86
- package/templates/base/README.md +0 -110
- package/templates/base/docs/CONTEXT.md +0 -111
- package/templates/base/docs/README.md +0 -131
- package/templates/base/docs/adr/TEMPLATE.md +0 -83
- package/templates/modules/design/docs/DESIGN.md +0 -253
- package/templates/modules/explanation/docs/explanation/agent-flow.md +0 -15
- package/templates/modules/explanation/docs/explanation/architecture.md +0 -138
- package/templates/modules/guides/docs/guides/deployment.md +0 -189
- package/templates/modules/guides/docs/guides/runbooks/TEMPLATE.md +0 -86
- package/templates/modules/guides/docs/guides/troubleshooting.md +0 -65
- package/templates/modules/operations/docs/operations/README.md +0 -115
- package/templates/modules/product/docs/product/overview.md +0 -90
- package/templates/modules/product/docs/roadmap.md +0 -80
- package/templates/modules/reference/docs/reference/api.md +0 -131
- package/templates/modules/reference/docs/reference/code-style.md +0 -275
- package/templates/modules/reference/docs/reference/configuration.md +0 -117
- package/templates/modules/reference/docs/reference/infrastructure.md +0 -191
- package/templates/modules/tutorials/docs/tutorials/environment-setup.md +0 -212
- package/templates/modules/tutorials/docs/tutorials/first-task.md +0 -246
- package/templates/modules/tutorials/docs/tutorials/quick-start.md +0 -146
|
@@ -1,324 +1,329 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: doc-review
|
|
3
3
|
description: >
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
TRIGGER:
|
|
8
|
-
"
|
|
9
|
-
|
|
4
|
+
Audits the health of the project documentation. Verifies completeness,
|
|
5
|
+
currency, consistency, and coverage. Generates a health report with
|
|
6
|
+
a 0-100 score and action priorities.
|
|
7
|
+
TRIGGER: When the user says "audit docs", "review documentation",
|
|
8
|
+
"docs status", "healthy docs", "health check docs", or periodically
|
|
9
|
+
as part of project maintenance.
|
|
10
10
|
license: Apache-2.0
|
|
11
11
|
metadata:
|
|
12
12
|
author: damenordev
|
|
13
|
-
version:
|
|
13
|
+
version: '1.0'
|
|
14
14
|
---
|
|
15
15
|
|
|
16
16
|
# doc-review
|
|
17
17
|
|
|
18
|
-
##
|
|
18
|
+
## When to Use
|
|
19
19
|
|
|
20
|
-
- **
|
|
21
|
-
- **
|
|
22
|
-
- **
|
|
23
|
-
- **
|
|
24
|
-
- **
|
|
20
|
+
- **Periodic review**: Monthly or at the end of each sprint
|
|
21
|
+
- **Before releases**: Verify that docs are up to date
|
|
22
|
+
- **CI integration**: As an automatic step in the pipeline
|
|
23
|
+
- **New dev onboarding**: Verify that docs allow getting started
|
|
24
|
+
- **When docs feel outdated**: Sensation that docs don't reflect the code
|
|
25
25
|
|
|
26
|
-
##
|
|
26
|
+
## Critical Patterns
|
|
27
27
|
|
|
28
|
-
###
|
|
28
|
+
### RULE #1: Check for specific issues, not just existence
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
It's not enough to ask "does the file exist?". Check:
|
|
31
31
|
|
|
32
|
-
|
|
|
33
|
-
|
|
34
|
-
|
|
|
35
|
-
|
|
|
36
|
-
| TODO/TBD
|
|
37
|
-
| Placeholder
|
|
38
|
-
|
|
|
32
|
+
| Issue | What to look for |
|
|
33
|
+
| ---------------- | -------------------------------------------------------- |
|
|
34
|
+
| Empty docs | Files with only frontmatter and title |
|
|
35
|
+
| Stale docs | Files without `last-reviewed` in >3 months |
|
|
36
|
+
| TODO/TBD | Search for `TODO`, `TBD`, `FIXME`, `PENDING` in content |
|
|
37
|
+
| Placeholder | Search for "pending content", "add here", empty sections |
|
|
38
|
+
| Broken wikilinks | `[[link]]` that doesn't resolve to an existing file |
|
|
39
39
|
|
|
40
|
-
###
|
|
40
|
+
### RULE #2: Validate Diátaxis coverage
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
All 4 quadrants must be covered:
|
|
43
43
|
|
|
44
44
|
```
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
Is there at least one tutorial? → tutorials/
|
|
46
|
+
Is there at least one how-to? → how-to/
|
|
47
|
+
Is there at least one reference file? → reference/
|
|
48
|
+
Is there at least one explanation? → explanation/
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
If an entire quadrant is missing, it is a CRITICAL gap.
|
|
52
52
|
|
|
53
|
-
###
|
|
53
|
+
### RULE #3: Verify CONTEXT.md consistency with code
|
|
54
54
|
|
|
55
55
|
```
|
|
56
|
-
1.
|
|
57
|
-
2.
|
|
58
|
-
3.
|
|
59
|
-
4.
|
|
56
|
+
1. Read CONTEXT.md → list of defined terms
|
|
57
|
+
2. Search code for terms used but not in CONTEXT.md
|
|
58
|
+
3. Search CONTEXT.md for terms that no longer exist in code
|
|
59
|
+
4. Report discrepancies
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
###
|
|
62
|
+
### RULE #4: Validate ADR completeness
|
|
63
63
|
|
|
64
64
|
```
|
|
65
|
-
1.
|
|
66
|
-
2.
|
|
67
|
-
3.
|
|
68
|
-
4.
|
|
65
|
+
1. Does every ADR have a valid status? (proposed, accepted, deprecated, superseded)
|
|
66
|
+
2. Is the numbering sequential without gaps?
|
|
67
|
+
3. Do deprecated ADRs have a documented replacement?
|
|
68
|
+
4. Does each ADR meet the 3 criteria (hard to reverse, surprising, trade-off)?
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
###
|
|
71
|
+
### RULE #5: Verify DESIGN.md sync with code
|
|
72
72
|
|
|
73
73
|
```
|
|
74
|
-
1.
|
|
75
|
-
2.
|
|
76
|
-
3.
|
|
77
|
-
4.
|
|
74
|
+
1. Read DESIGN.md → extract documented tokens
|
|
75
|
+
2. Read style files (CSS vars, Tailwind config)
|
|
76
|
+
3. Compare documented values vs actual values
|
|
77
|
+
4. Report differences
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
###
|
|
80
|
+
### RULE #6: Verify AGENTS.md protocol is followed
|
|
81
81
|
|
|
82
82
|
```
|
|
83
|
-
1.
|
|
84
|
-
2.
|
|
85
|
-
3.
|
|
83
|
+
1. Does AGENTS.md exist and have the protocol?
|
|
84
|
+
2. Do agents follow the protocol? (evidence in recent commits)
|
|
85
|
+
3. Does the folder structure match what's documented in AGENTS.md?
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
-
##
|
|
89
|
-
|
|
90
|
-
### 1.
|
|
91
|
-
|
|
92
|
-
**
|
|
93
|
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
|
103
|
-
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
-
|
|
111
|
-
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
|
117
|
-
|
|
118
|
-
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
-
|
|
127
|
-
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
|
134
|
-
|
|
135
|
-
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
88
|
+
## Review Dimensions
|
|
89
|
+
|
|
90
|
+
### 1. Completeness
|
|
91
|
+
|
|
92
|
+
**What to check**:
|
|
93
|
+
|
|
94
|
+
- Documentation files that should exist but don't
|
|
95
|
+
- Empty sections within existing files
|
|
96
|
+
- Code features without corresponding documentation
|
|
97
|
+
- Undocumented endpoints/functions/components
|
|
98
|
+
|
|
99
|
+
**Score**:
|
|
100
|
+
| Criterion | Points |
|
|
101
|
+
|-----------|--------|
|
|
102
|
+
| All essential files exist | 0-10 |
|
|
103
|
+
| All sections have real content | 0-10 |
|
|
104
|
+
| All public features are documented | 0-10 |
|
|
105
|
+
|
|
106
|
+
### 2. Currency
|
|
107
|
+
|
|
108
|
+
**What to check**:
|
|
109
|
+
|
|
110
|
+
- Files not updated in >3 months (check if relevant code changed)
|
|
111
|
+
- References to obsolete versions/libraries
|
|
112
|
+
- CHANGELOG.md outdated vs git tags
|
|
113
|
+
- Screenshots or diagrams that don't reflect current UI
|
|
114
|
+
|
|
115
|
+
**Score**:
|
|
116
|
+
| Criterion | Points |
|
|
117
|
+
|-----------|--------|
|
|
118
|
+
| Docs reflect current state of code | 0-10 |
|
|
119
|
+
| CHANGELOG is up to date | 0-5 |
|
|
120
|
+
| No references to old versions | 0-5 |
|
|
121
|
+
|
|
122
|
+
### 3. Consistency
|
|
123
|
+
|
|
124
|
+
**What to check**:
|
|
125
|
+
|
|
126
|
+
- CONTEXT.md vs code: terms match
|
|
127
|
+
- DESIGN.md vs styles: tokens match
|
|
128
|
+
- ADRs vs implementation: what the ADR says is what's in code
|
|
129
|
+
- docs/README.md map reflects real files
|
|
130
|
+
- Consistent format: frontmatter, naming, language
|
|
131
|
+
|
|
132
|
+
**Score**:
|
|
133
|
+
| Criterion | Points |
|
|
134
|
+
|-----------|--------|
|
|
135
|
+
| CONTEXT.md matches code | 0-5 |
|
|
136
|
+
| DESIGN.md matches styles | 0-5 |
|
|
137
|
+
| docs/README.md reflects real files | 0-5 |
|
|
138
|
+
| Consistent format across files | 0-5 |
|
|
139
|
+
|
|
140
|
+
### 4. Coverage
|
|
141
|
+
|
|
142
|
+
**What to check**:
|
|
143
|
+
|
|
144
|
+
- Diátaxis: all 4 quadrants are covered
|
|
145
|
+
- Features: each public feature has at least one associated doc
|
|
146
|
+
- API: all endpoints are documented
|
|
147
|
+
- Components: all UI components are in DESIGN.md
|
|
148
|
+
- Errors: common errors have troubleshooting
|
|
149
|
+
|
|
150
|
+
**Score**:
|
|
151
|
+
| Criterion | Points |
|
|
152
|
+
|-----------|--------|
|
|
153
|
+
| Diátaxis: 4 quadrants covered | 0-10 |
|
|
154
|
+
| API/endpoints documented | 0-5 |
|
|
155
|
+
| UI components in DESIGN.md | 0-5 |
|
|
156
|
+
|
|
157
|
+
### 5. Quality
|
|
158
|
+
|
|
159
|
+
**What to check**:
|
|
160
|
+
|
|
161
|
+
- Real content vs placeholder (no TODO, no "pending")
|
|
162
|
+
- Clear and correct writing
|
|
163
|
+
- Runnable examples in tutorials/how-tos
|
|
164
|
+
- Complete tables in reference
|
|
165
|
+
- No duplication between files
|
|
166
|
+
|
|
167
|
+
**Score**:
|
|
168
|
+
| Criterion | Points |
|
|
169
|
+
|-----------|--------|
|
|
170
|
+
| No placeholders or TODOs | 0-10 |
|
|
171
|
+
| Runnable examples | 0-5 |
|
|
172
|
+
| No content duplication | 0-5 |
|
|
173
|
+
|
|
174
|
+
## Health Score
|
|
175
|
+
|
|
176
|
+
### Calculation
|
|
172
177
|
|
|
173
178
|
```
|
|
174
|
-
|
|
179
|
+
Total score = Completeness (30) + Currency (20) + Consistency (20) + Coverage (20) + Quality (20) = 100
|
|
175
180
|
```
|
|
176
181
|
|
|
177
|
-
###
|
|
182
|
+
### Scale
|
|
178
183
|
|
|
179
|
-
|
|
|
180
|
-
|
|
181
|
-
| 90-100 | 🟢
|
|
182
|
-
| 70-89
|
|
183
|
-
| 50-69
|
|
184
|
-
| 0-49
|
|
184
|
+
| Score | Status | Action |
|
|
185
|
+
| ------ | ------------- | ----------------------------------- |
|
|
186
|
+
| 90-100 | 🟢 Healthy | Maintain, periodic review |
|
|
187
|
+
| 70-89 | 🟡 Acceptable | Prioritized improvements identified |
|
|
188
|
+
| 50-69 | 🟠 Deficient | Requires significant work |
|
|
189
|
+
| 0-49 | 🔴 Critical | Fundamental documentation missing |
|
|
185
190
|
|
|
186
|
-
##
|
|
191
|
+
## Report Format
|
|
187
192
|
|
|
188
193
|
```markdown
|
|
189
|
-
#
|
|
190
|
-
|
|
191
|
-
**
|
|
192
|
-
**
|
|
193
|
-
**
|
|
194
|
-
|
|
195
|
-
##
|
|
196
|
-
|
|
197
|
-
|
|
|
198
|
-
|
|
199
|
-
|
|
|
200
|
-
|
|
|
201
|
-
|
|
|
202
|
-
|
|
|
203
|
-
|
|
|
204
|
-
| **Total**
|
|
205
|
-
|
|
206
|
-
##
|
|
207
|
-
|
|
208
|
-
- [ ] No
|
|
209
|
-
- [ ] DESIGN.md
|
|
210
|
-
|
|
211
|
-
##
|
|
212
|
-
|
|
213
|
-
- [ ]
|
|
214
|
-
- [ ] 3 ADRs
|
|
215
|
-
- [ ] CONTEXT.md
|
|
216
|
-
|
|
217
|
-
##
|
|
218
|
-
|
|
219
|
-
- [ ]
|
|
220
|
-
- [ ]
|
|
221
|
-
- [ ]
|
|
222
|
-
|
|
223
|
-
##
|
|
224
|
-
|
|
225
|
-
|
|
|
226
|
-
|
|
227
|
-
| README.md
|
|
228
|
-
| CHANGELOG.md
|
|
229
|
-
| docs/CONTEXT.md
|
|
230
|
-
| docs/DESIGN.md
|
|
231
|
-
| docs/README.md
|
|
232
|
-
| reference/api.md | 🔴
|
|
233
|
-
| tutorials/
|
|
234
|
-
| how-to/
|
|
235
|
-
| explanation/
|
|
236
|
-
| docs/adr/
|
|
194
|
+
# Documentation Health Report
|
|
195
|
+
|
|
196
|
+
**Date**: 2024-03-15
|
|
197
|
+
**Project**: [name]
|
|
198
|
+
**Score**: 72/100 🟡
|
|
199
|
+
|
|
200
|
+
## Summary by Dimension
|
|
201
|
+
|
|
202
|
+
| Dimension | Score | Maximum |
|
|
203
|
+
| ------------ | ------ | ------- |
|
|
204
|
+
| Completeness | 22 | 30 |
|
|
205
|
+
| Currency | 15 | 20 |
|
|
206
|
+
| Consistency | 14 | 20 |
|
|
207
|
+
| Coverage | 12 | 20 |
|
|
208
|
+
| Quality | 9 | 10 |
|
|
209
|
+
| **Total** | **72** | **100** |
|
|
210
|
+
|
|
211
|
+
## Critical Issues 🔴
|
|
212
|
+
|
|
213
|
+
- [ ] No API documentation exists (reference/api.md)
|
|
214
|
+
- [ ] DESIGN.md has color values that don't match CSS variables
|
|
215
|
+
|
|
216
|
+
## Important Issues 🟡
|
|
217
|
+
|
|
218
|
+
- [ ] Missing how-to coverage (empty folder)
|
|
219
|
+
- [ ] 3 ADRs without defined status
|
|
220
|
+
- [ ] CONTEXT.md doesn't include 5 terms used in code
|
|
221
|
+
|
|
222
|
+
## Suggested Improvements 🟢
|
|
223
|
+
|
|
224
|
+
- [ ] Add last-reviewed to files without review date
|
|
225
|
+
- [ ] Update CHANGELOG with last 3 releases
|
|
226
|
+
- [ ] Add runnable examples to tutorials/quick-start.md
|
|
227
|
+
|
|
228
|
+
## Detail by File
|
|
229
|
+
|
|
230
|
+
| File | Status | Issues |
|
|
231
|
+
| ---------------- | -------------- | --------------------- |
|
|
232
|
+
| README.md | ✅ OK | — |
|
|
233
|
+
| CHANGELOG.md | ⚠️ Outdated | Missing release 2.1.0 |
|
|
234
|
+
| docs/CONTEXT.md | ⚠️ Incomplete | 5 terms missing |
|
|
235
|
+
| docs/DESIGN.md | 🔴 Out of sync | 3 tokens don't match |
|
|
236
|
+
| docs/README.md | ✅ OK | — |
|
|
237
|
+
| reference/api.md | 🔴 Missing | Does not exist |
|
|
238
|
+
| tutorials/ | ✅ OK | — |
|
|
239
|
+
| how-to/ | ⚠️ Empty | No content |
|
|
240
|
+
| explanation/ | ✅ OK | — |
|
|
241
|
+
| docs/adr/ | ⚠️ Incomplete | 3 ADRs without status |
|
|
237
242
|
```
|
|
238
243
|
|
|
239
|
-
##
|
|
244
|
+
## Review Process
|
|
240
245
|
|
|
241
|
-
###
|
|
246
|
+
### Step 1: Inventory
|
|
242
247
|
|
|
243
248
|
```
|
|
244
|
-
1.
|
|
245
|
-
2.
|
|
246
|
-
3.
|
|
249
|
+
1. List all existing documentation files
|
|
250
|
+
2. Verify docs/README.md vs real files
|
|
251
|
+
3. Identify missing files based on the stack
|
|
247
252
|
```
|
|
248
253
|
|
|
249
|
-
###
|
|
254
|
+
### Step 2: Verification by dimension
|
|
250
255
|
|
|
251
256
|
```
|
|
252
|
-
1.
|
|
253
|
-
2.
|
|
254
|
-
3.
|
|
255
|
-
4.
|
|
256
|
-
5.
|
|
257
|
+
1. Completeness: files, sections, features
|
|
258
|
+
2. Currency: dates, versions, recent changes
|
|
259
|
+
3. Consistency: CONTEXT, DESIGN, ADRs, README
|
|
260
|
+
4. Coverage: Diátaxis, API, components
|
|
261
|
+
5. Quality: placeholders, examples, duplicates
|
|
257
262
|
```
|
|
258
263
|
|
|
259
|
-
###
|
|
264
|
+
### Step 3: Scoring
|
|
260
265
|
|
|
261
266
|
```
|
|
262
|
-
|
|
263
|
-
|
|
267
|
+
Calculate score by dimension and total
|
|
268
|
+
Determine overall status (🟢🟡🟠🔴)
|
|
264
269
|
```
|
|
265
270
|
|
|
266
|
-
###
|
|
271
|
+
### Step 4: Generate report
|
|
267
272
|
|
|
268
273
|
```
|
|
269
|
-
1.
|
|
270
|
-
2.
|
|
271
|
-
3.
|
|
272
|
-
4.
|
|
274
|
+
1. List critical issues first
|
|
275
|
+
2. Important issues next
|
|
276
|
+
3. Suggested improvements at the end
|
|
277
|
+
4. Detail by file
|
|
273
278
|
```
|
|
274
279
|
|
|
275
|
-
###
|
|
280
|
+
### Step 5: Recommend actions
|
|
276
281
|
|
|
277
282
|
```
|
|
278
|
-
|
|
279
|
-
-
|
|
280
|
-
-
|
|
281
|
-
-
|
|
283
|
+
For each critical issue:
|
|
284
|
+
- Which file to create/update
|
|
285
|
+
- Which skill to use (doc-write, doc-design, etc.)
|
|
286
|
+
- Priority (immediate, this week, this sprint)
|
|
282
287
|
```
|
|
283
288
|
|
|
284
|
-
##
|
|
289
|
+
## Commands
|
|
285
290
|
|
|
286
|
-
###
|
|
291
|
+
### Quick verification
|
|
287
292
|
|
|
288
293
|
```
|
|
289
|
-
1.
|
|
290
|
-
2.
|
|
291
|
-
3.
|
|
292
|
-
4.
|
|
294
|
+
1. List doc files: docs/, tutorials/, how-to/, reference/, explanation/
|
|
295
|
+
2. Search TODOs: rg "TODO|TBD|FIXME|PENDING" --type md
|
|
296
|
+
3. Verify dates: check last-reviewed in frontmatter
|
|
297
|
+
4. Verify wikilinks: search [[...]] and verify they exist
|
|
293
298
|
```
|
|
294
299
|
|
|
295
|
-
###
|
|
300
|
+
### Deep verification
|
|
296
301
|
|
|
297
302
|
```
|
|
298
|
-
1. CONTEXT.md vs
|
|
299
|
-
2. DESIGN.md vs
|
|
300
|
-
3. ADRs vs
|
|
301
|
-
4. Diátaxis:
|
|
303
|
+
1. CONTEXT.md vs code: compare defined terms vs used terms
|
|
304
|
+
2. DESIGN.md vs styles: compare documented tokens vs actual ones
|
|
305
|
+
3. ADRs vs implementation: verify that code follows what was decided
|
|
306
|
+
4. Diátaxis: verify coverage of all 4 quadrants
|
|
302
307
|
```
|
|
303
308
|
|
|
304
|
-
##
|
|
309
|
+
## Escalations
|
|
305
310
|
|
|
306
|
-
###
|
|
311
|
+
### When to escalate (critical gap)
|
|
307
312
|
|
|
308
|
-
-
|
|
309
|
-
-
|
|
310
|
-
- CHANGELOG
|
|
311
|
-
-
|
|
312
|
-
- DESIGN.md
|
|
313
|
+
- No quick-start tutorial → onboarding blocked
|
|
314
|
+
- No API reference → integrators blocked
|
|
315
|
+
- Empty CHANGELOG → can't tell what changed between versions
|
|
316
|
+
- No CONTEXT.md → ambiguous terms cause confusion
|
|
317
|
+
- DESIGN.md out of sync → visual inconsistencies
|
|
313
318
|
|
|
314
|
-
###
|
|
319
|
+
### Action on escalation
|
|
315
320
|
|
|
316
|
-
1.
|
|
317
|
-
2.
|
|
318
|
-
3.
|
|
319
|
-
4.
|
|
321
|
+
1. Create the issue/task with high priority
|
|
322
|
+
2. Assign to the corresponding skill: `doc-write`, `doc-design`, `doc-scaffold`
|
|
323
|
+
3. Estimate effort
|
|
324
|
+
4. Include in the next sprint
|
|
320
325
|
|
|
321
|
-
##
|
|
326
|
+
## Resources
|
|
322
327
|
|
|
323
|
-
- [Health Checklist](references/health-checklist.md) —
|
|
324
|
-
-
|
|
328
|
+
- [Health Checklist](references/health-checklist.md) — Complete audit checklist with scoring rubric
|
|
329
|
+
- Related skills: `doc-write` (write missing docs), `doc-design` (fix DESIGN.md), `doc-scaffold` (create missing structure), `doc-maintain` (sync changes)
|