docguard-cli 0.9.4 → 0.9.6
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 +281 -203
- package/cli/commands/init.mjs +1 -0
- package/cli/scanners/speckit.mjs +318 -87
- package/cli/validators/metrics-consistency.mjs +2 -1
- package/cli/validators/traceability.mjs +17 -9
- package/commands/docguard.fix.md +65 -0
- package/commands/docguard.guard.md +60 -0
- package/commands/docguard.review.md +53 -0
- package/commands/docguard.score.md +61 -0
- package/docs/installation.md +37 -19
- package/docs/quickstart.md +21 -6
- package/extensions/spec-kit-docguard/LICENSE +21 -0
- package/extensions/spec-kit-docguard/README.md +105 -0
- package/extensions/spec-kit-docguard/commands/diagnose.md +43 -0
- package/extensions/spec-kit-docguard/commands/generate.md +50 -0
- package/extensions/spec-kit-docguard/commands/guard.md +73 -0
- package/extensions/spec-kit-docguard/commands/init.md +38 -0
- package/extensions/spec-kit-docguard/commands/score.md +53 -0
- package/extensions/spec-kit-docguard/commands/trace.md +56 -0
- package/extensions/spec-kit-docguard/extension.yml +109 -0
- package/extensions/spec-kit-docguard/scripts/bash/common.sh +106 -0
- package/extensions/spec-kit-docguard/scripts/bash/docguard-check-docs.sh +153 -0
- package/extensions/spec-kit-docguard/scripts/bash/docguard-init-doc.sh +153 -0
- package/extensions/spec-kit-docguard/scripts/bash/docguard-suggest-fix.sh +107 -0
- package/extensions/spec-kit-docguard/skills/docguard-fix/SKILL.md +218 -0
- package/extensions/spec-kit-docguard/skills/docguard-guard/SKILL.md +167 -0
- package/extensions/spec-kit-docguard/skills/docguard-review/SKILL.md +182 -0
- package/extensions/spec-kit-docguard/skills/docguard-score/SKILL.md +178 -0
- package/extensions/spec-kit-docguard/templates/extensions.yml +39 -0
- package/package.json +5 -2
- package/templates/REQUIREMENTS.md.template +68 -0
- package/templates/commands/docguard.fix.md +35 -39
- package/templates/commands/docguard.guard.md +26 -13
- package/templates/commands/docguard.init.md +35 -28
- package/templates/commands/docguard.review.md +33 -23
- package/templates/commands/docguard.update.md +15 -4
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
description: Update canonical docs after code changes — detect drift and sync documentation
|
|
3
|
+
handoffs:
|
|
4
|
+
- label: Run Guard
|
|
5
|
+
agent: docguard.guard
|
|
6
|
+
prompt: Validate all checks pass after updates
|
|
7
|
+
- label: Check Score
|
|
8
|
+
agent: docguard.score
|
|
9
|
+
prompt: Show CDD maturity score after updates
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /docguard.update — Update Docs After Code Changes
|
|
2
13
|
|
|
3
14
|
You are an AI agent that updates documentation to reflect recent code changes.
|
|
4
15
|
|
|
@@ -37,8 +48,8 @@ For each affected document:
|
|
|
37
48
|
## Step 4: Verify
|
|
38
49
|
|
|
39
50
|
```bash
|
|
40
|
-
npx docguard guard
|
|
41
|
-
npx docguard score
|
|
51
|
+
npx docguard-cli guard
|
|
52
|
+
npx docguard-cli score
|
|
42
53
|
```
|
|
43
54
|
|
|
44
|
-
All checks should pass. Report the changes made.
|
|
55
|
+
All checks should pass. Report the changes made and the final score.
|