@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,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
created:
|
|
2
|
+
created: '2024-01-15'
|
|
3
3
|
status: active
|
|
4
4
|
type: reference
|
|
5
|
-
tags: [
|
|
5
|
+
tags: [audit, checklist, health, documentation]
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
#
|
|
8
|
+
# Documentation Health Checklist
|
|
9
9
|
|
|
10
|
-
## Checklist
|
|
10
|
+
## Checklist by File Type
|
|
11
11
|
|
|
12
12
|
### README.md
|
|
13
13
|
|
|
@@ -104,187 +104,190 @@ tags: [auditoria, checklist, salud, documentacion]
|
|
|
104
104
|
|
|
105
105
|
---
|
|
106
106
|
|
|
107
|
-
##
|
|
107
|
+
## Scoring Rubric
|
|
108
108
|
|
|
109
|
-
###
|
|
109
|
+
### Completeness (max: 30 points)
|
|
110
110
|
|
|
111
|
-
|
|
|
112
|
-
|
|
113
|
-
|
|
|
114
|
-
|
|
|
115
|
-
|
|
|
111
|
+
| Criterion | 10 | 5 | 0 |
|
|
112
|
+
| --------------------- | --------------------- | ------------------ | ----------------- |
|
|
113
|
+
| Essential files | All exist | 1-2 missing | 3+ missing |
|
|
114
|
+
| Sections with content | All have real content | 1-2 empty sections | 3+ empty sections |
|
|
115
|
+
| Documented features | All public features | >75% documented | <75% documented |
|
|
116
116
|
|
|
117
|
-
###
|
|
117
|
+
### Timeliness (max: 20 points)
|
|
118
118
|
|
|
119
|
-
|
|
|
120
|
-
|
|
121
|
-
| Docs
|
|
122
|
-
| CHANGELOG
|
|
123
|
-
|
|
|
119
|
+
| Criterion | Points | How to check |
|
|
120
|
+
| ------------------------- | ------ | --------------------------------------------- |
|
|
121
|
+
| Docs reflect current code | 0-10 | Compare with `git log --since="3 months ago"` |
|
|
122
|
+
| CHANGELOG up to date | 0-5 | Compare with git tags |
|
|
123
|
+
| No obsolete references | 0-5 | Search for old library versions |
|
|
124
124
|
|
|
125
|
-
###
|
|
125
|
+
### Consistency (max: 20 points)
|
|
126
126
|
|
|
127
|
-
|
|
|
128
|
-
|
|
129
|
-
| CONTEXT.md
|
|
130
|
-
| DESIGN.md
|
|
131
|
-
| docs/README.md
|
|
132
|
-
|
|
|
127
|
+
| Criterion | Points | How to check |
|
|
128
|
+
| ----------------------------- | ------ | ----------------------------------- |
|
|
129
|
+
| CONTEXT.md matches code | 0-5 | Compare defined vs used terms |
|
|
130
|
+
| DESIGN.md matches styles | 0-5 | Compare tokens vs CSS vars/Tailwind |
|
|
131
|
+
| docs/README.md reflects files | 0-5 | Compare map vs filesystem |
|
|
132
|
+
| Consistent format | 0-5 | Check frontmatter, language, naming |
|
|
133
133
|
|
|
134
|
-
###
|
|
134
|
+
### Coverage (max: 20 points)
|
|
135
135
|
|
|
136
|
-
|
|
|
137
|
-
|
|
138
|
-
| Diátaxis 4
|
|
139
|
-
| API/endpoints
|
|
140
|
-
|
|
|
136
|
+
| Criterion | Points | How to check |
|
|
137
|
+
| -------------------------- | ------ | -------------------------------------- |
|
|
138
|
+
| Diátaxis 4 quadrants | 0-10 | At least one file in each folder |
|
|
139
|
+
| API/endpoints documented | 0-5 | Compare code routes with reference/ |
|
|
140
|
+
| UI components in DESIGN.md | 0-5 | Compare code components with DESIGN.md |
|
|
141
141
|
|
|
142
|
-
###
|
|
142
|
+
### Quality (max: 10 points)
|
|
143
143
|
|
|
144
|
-
|
|
|
145
|
-
|
|
146
|
-
|
|
|
147
|
-
|
|
|
148
|
-
|
|
|
144
|
+
| Criterion | Points | How to check |
|
|
145
|
+
| --------------------- | ------ | ------------------------------------------ | --- | --------- | ------------------- |
|
|
146
|
+
| No placeholders/TODOs | 0-5 | `rg "TODO | TBD | PENDIENTE | agregar" --type md` |
|
|
147
|
+
| Executable examples | 0-3 | Verify code in tutorials/how-tos |
|
|
148
|
+
| No duplication | 0-2 | Search for identical content between files |
|
|
149
149
|
|
|
150
150
|
---
|
|
151
151
|
|
|
152
|
-
##
|
|
152
|
+
## Common Problems and Solutions
|
|
153
153
|
|
|
154
|
-
###
|
|
154
|
+
### Problem: File with only title and frontmatter
|
|
155
155
|
|
|
156
|
-
**
|
|
156
|
+
**Cause**: Created as a placeholder and never completed
|
|
157
157
|
|
|
158
|
-
**
|
|
158
|
+
**Solution**: Use `doc-write` to write real content or delete the file
|
|
159
159
|
|
|
160
|
-
###
|
|
160
|
+
### Problem: CONTEXT.md outdated
|
|
161
161
|
|
|
162
|
-
**
|
|
162
|
+
**Cause**: Terms were added to code without updating CONTEXT
|
|
163
163
|
|
|
164
|
-
**
|
|
164
|
+
**Solution**: Use `doc-write` to add missing terms. Search code for: module names, classes, interfaces, main types
|
|
165
165
|
|
|
166
|
-
###
|
|
166
|
+
### Problem: DESIGN.md doesn't match CSS
|
|
167
167
|
|
|
168
|
-
**
|
|
168
|
+
**Cause**: Styles were changed without updating DESIGN.md
|
|
169
169
|
|
|
170
|
-
**
|
|
170
|
+
**Solution**: Use `doc-design` to re-extract tokens from code and update
|
|
171
171
|
|
|
172
|
-
###
|
|
172
|
+
### Problem: ADRs without status
|
|
173
173
|
|
|
174
|
-
**
|
|
174
|
+
**Cause**: Created as proposed and status was never updated
|
|
175
175
|
|
|
176
|
-
**
|
|
176
|
+
**Solution**: Review each ADR and update status according to current reality
|
|
177
177
|
|
|
178
|
-
###
|
|
178
|
+
### Problem: Broken wikilinks
|
|
179
179
|
|
|
180
|
-
**
|
|
180
|
+
**Cause**: A file was renamed or deleted without updating references
|
|
181
181
|
|
|
182
|
-
**
|
|
182
|
+
**Solution**: Search all `[[links]]` and verify the file exists
|
|
183
183
|
|
|
184
|
-
###
|
|
184
|
+
### Problem: How-to that explains concepts
|
|
185
185
|
|
|
186
|
-
**
|
|
186
|
+
**Cause**: Confusion between how-to and explanation
|
|
187
187
|
|
|
188
|
-
**
|
|
188
|
+
**Solution**: Extract explanations to explanation/ and leave only steps in how-to
|
|
189
189
|
|
|
190
|
-
###
|
|
190
|
+
### Problem: Tutorial without per-step verification
|
|
191
191
|
|
|
192
|
-
**
|
|
192
|
+
**Cause**: Written without following the tutorial pattern
|
|
193
193
|
|
|
194
|
-
**
|
|
194
|
+
**Solution**: Add "✅ Verification" section at the end of each step
|
|
195
195
|
|
|
196
|
-
###
|
|
196
|
+
### Problem: Reference with narrative prose
|
|
197
197
|
|
|
198
|
-
**
|
|
198
|
+
**Cause**: Reference written as if it were a tutorial
|
|
199
199
|
|
|
200
|
-
**
|
|
200
|
+
**Solution**: Convert prose to tables and lists. Move narrative to explanation/
|
|
201
201
|
|
|
202
202
|
---
|
|
203
203
|
|
|
204
|
-
##
|
|
204
|
+
## Health Report Template
|
|
205
205
|
|
|
206
206
|
```markdown
|
|
207
|
-
# 🏥
|
|
207
|
+
# 🏥 Health Report — Documentation
|
|
208
208
|
|
|
209
|
-
**
|
|
210
|
-
**
|
|
211
|
-
**
|
|
209
|
+
**Date**: [YYYY-MM-DD]
|
|
210
|
+
**Reviewer**: [agent/human]
|
|
211
|
+
**Project**: [name]
|
|
212
212
|
|
|
213
213
|
---
|
|
214
214
|
|
|
215
|
-
## 📊
|
|
215
|
+
## 📊 Overall Score: [XX]/100 [🟢🟡🟠🔴]
|
|
216
216
|
|
|
217
|
-
|
|
|
218
|
-
|
|
219
|
-
|
|
|
220
|
-
|
|
|
221
|
-
|
|
|
222
|
-
|
|
|
223
|
-
|
|
|
217
|
+
| Dimension | Points | Max | Status |
|
|
218
|
+
| ------------ | ------ | --- | -------- |
|
|
219
|
+
| Completeness | XX | 30 | 🟢🟡🟠🔴 |
|
|
220
|
+
| Timeliness | XX | 20 | 🟢🟡🟠🔴 |
|
|
221
|
+
| Consistency | XX | 20 | 🟢🟡🟠🔴 |
|
|
222
|
+
| Coverage | XX | 20 | 🟢🟡🟠🔴 |
|
|
223
|
+
| Quality | XX | 10 | 🟢🟡🟠🔴 |
|
|
224
224
|
|
|
225
225
|
---
|
|
226
226
|
|
|
227
|
-
## 🔴
|
|
227
|
+
## 🔴 Critical (resolve immediately)
|
|
228
228
|
|
|
229
|
-
1. **[
|
|
229
|
+
1. **[problem]** → [affected file] → [suggested action]
|
|
230
230
|
|
|
231
|
-
## 🟡
|
|
231
|
+
## 🟡 Important (resolve this sprint)
|
|
232
232
|
|
|
233
|
-
1. **[
|
|
233
|
+
1. **[problem]** → [affected file] → [suggested action]
|
|
234
234
|
|
|
235
|
-
## 🟢
|
|
235
|
+
## 🟢 Improvement (resolve when possible)
|
|
236
236
|
|
|
237
|
-
1. **[
|
|
237
|
+
1. **[problem]** → [affected file] → [suggested action]
|
|
238
238
|
|
|
239
239
|
---
|
|
240
240
|
|
|
241
|
-
## 📁
|
|
241
|
+
## 📁 Detail by File
|
|
242
242
|
|
|
243
|
-
|
|
|
244
|
-
|
|
245
|
-
| README.md
|
|
246
|
-
| docs/CONTEXT.md | ⚠️
|
|
247
|
-
| ...
|
|
243
|
+
| File | Status | Score | Issues |
|
|
244
|
+
| --------------- | ------ | ----- | --------------- |
|
|
245
|
+
| README.md | ✅ | 10/10 | — |
|
|
246
|
+
| docs/CONTEXT.md | ⚠️ | 6/10 | 3 missing terms |
|
|
247
|
+
| ... | ... | ... | ... |
|
|
248
248
|
|
|
249
249
|
---
|
|
250
250
|
|
|
251
|
-
## 📋
|
|
251
|
+
## 📋 Recommended Actions
|
|
252
252
|
|
|
253
|
-
###
|
|
254
|
-
- [ ] [acción 1] → usar skill `[skill-name]`
|
|
255
|
-
- [ ] [acción 2] → usar skill `[skill-name]`
|
|
253
|
+
### Immediate Priority
|
|
256
254
|
|
|
257
|
-
|
|
258
|
-
- [ ] [
|
|
255
|
+
- [ ] [action 1] → use skill `[skill-name]`
|
|
256
|
+
- [ ] [action 2] → use skill `[skill-name]`
|
|
259
257
|
|
|
260
|
-
###
|
|
261
|
-
|
|
258
|
+
### This Week
|
|
259
|
+
|
|
260
|
+
- [ ] [action 3] → use skill `[skill-name]`
|
|
261
|
+
|
|
262
|
+
### This Sprint
|
|
263
|
+
|
|
264
|
+
- [ ] [action 4] → use skill `[skill-name]`
|
|
262
265
|
|
|
263
266
|
---
|
|
264
267
|
|
|
265
|
-
|
|
268
|
+
_Suggested next review: [YYYY-MM-DD]_
|
|
266
269
|
```
|
|
267
270
|
|
|
268
271
|
---
|
|
269
272
|
|
|
270
|
-
##
|
|
273
|
+
## When to Escalate
|
|
271
274
|
|
|
272
|
-
###
|
|
275
|
+
### Critical gaps that block
|
|
273
276
|
|
|
274
|
-
| Gap
|
|
275
|
-
|
|
276
|
-
|
|
|
277
|
-
|
|
|
278
|
-
| CHANGELOG
|
|
279
|
-
|
|
|
280
|
-
|
|
|
281
|
-
| DESIGN.md
|
|
277
|
+
| Gap | Impact | Action |
|
|
278
|
+
| ---------------------------- | ----------------------- | ----------------------------------- |
|
|
279
|
+
| No quick-start tutorial | Onboarding blocked | Create with `doc-write` immediately |
|
|
280
|
+
| No API reference | Integrators blocked | Create with `doc-write` |
|
|
281
|
+
| Empty CHANGELOG | No change history | Create entries for each version |
|
|
282
|
+
| No CONTEXT.md | Ambiguous terms | Create with `doc-write` |
|
|
283
|
+
| No AGENTS.md | Agents without protocol | Create with `doc-scaffold` |
|
|
284
|
+
| DESIGN.md desynced >5 tokens | Visual inconsistencies | Fix with `doc-design` |
|
|
282
285
|
|
|
283
|
-
###
|
|
286
|
+
### Important gaps that degrade
|
|
284
287
|
|
|
285
|
-
| Gap
|
|
286
|
-
|
|
287
|
-
|
|
|
288
|
-
| ADRs
|
|
289
|
-
| 3+ TODOs
|
|
290
|
-
| docs/README.md
|
|
288
|
+
| Gap | Impact | Action |
|
|
289
|
+
| ----------------------- | ------------------------- | ------------------------------- |
|
|
290
|
+
| Empty Diátaxis quadrant | Incomplete coverage | Create content with `doc-write` |
|
|
291
|
+
| ADRs without status | Confusion about decisions | Update status |
|
|
292
|
+
| 3+ TODOs in docs | Incomplete content | Complete or delete |
|
|
293
|
+
| docs/README.md outdated | Wrong map | Update |
|