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.
Files changed (36) hide show
  1. package/README.md +281 -203
  2. package/cli/commands/init.mjs +1 -0
  3. package/cli/scanners/speckit.mjs +318 -87
  4. package/cli/validators/metrics-consistency.mjs +2 -1
  5. package/cli/validators/traceability.mjs +17 -9
  6. package/commands/docguard.fix.md +65 -0
  7. package/commands/docguard.guard.md +60 -0
  8. package/commands/docguard.review.md +53 -0
  9. package/commands/docguard.score.md +61 -0
  10. package/docs/installation.md +37 -19
  11. package/docs/quickstart.md +21 -6
  12. package/extensions/spec-kit-docguard/LICENSE +21 -0
  13. package/extensions/spec-kit-docguard/README.md +105 -0
  14. package/extensions/spec-kit-docguard/commands/diagnose.md +43 -0
  15. package/extensions/spec-kit-docguard/commands/generate.md +50 -0
  16. package/extensions/spec-kit-docguard/commands/guard.md +73 -0
  17. package/extensions/spec-kit-docguard/commands/init.md +38 -0
  18. package/extensions/spec-kit-docguard/commands/score.md +53 -0
  19. package/extensions/spec-kit-docguard/commands/trace.md +56 -0
  20. package/extensions/spec-kit-docguard/extension.yml +109 -0
  21. package/extensions/spec-kit-docguard/scripts/bash/common.sh +106 -0
  22. package/extensions/spec-kit-docguard/scripts/bash/docguard-check-docs.sh +153 -0
  23. package/extensions/spec-kit-docguard/scripts/bash/docguard-init-doc.sh +153 -0
  24. package/extensions/spec-kit-docguard/scripts/bash/docguard-suggest-fix.sh +107 -0
  25. package/extensions/spec-kit-docguard/skills/docguard-fix/SKILL.md +218 -0
  26. package/extensions/spec-kit-docguard/skills/docguard-guard/SKILL.md +167 -0
  27. package/extensions/spec-kit-docguard/skills/docguard-review/SKILL.md +182 -0
  28. package/extensions/spec-kit-docguard/skills/docguard-score/SKILL.md +178 -0
  29. package/extensions/spec-kit-docguard/templates/extensions.yml +39 -0
  30. package/package.json +5 -2
  31. package/templates/REQUIREMENTS.md.template +68 -0
  32. package/templates/commands/docguard.fix.md +35 -39
  33. package/templates/commands/docguard.guard.md +26 -13
  34. package/templates/commands/docguard.init.md +35 -28
  35. package/templates/commands/docguard.review.md +33 -23
  36. package/templates/commands/docguard.update.md +15 -4
@@ -1,4 +1,15 @@
1
- # /docguard.update — Update canonical docs after code changes
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.