continuous-improvement 3.15.0 → 3.17.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.
Files changed (32) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +20 -0
  3. package/README.md +5 -4
  4. package/bin/check-skill-count-prose.mjs +168 -0
  5. package/bin/install.mjs +46 -1
  6. package/bin/lint-transcript.mjs +15 -3
  7. package/bin/mcp-server.mjs +1 -0
  8. package/commands/intent-driven-development.md +36 -0
  9. package/commands/roast.md +34 -0
  10. package/hooks/workflow-distill.mjs +145 -0
  11. package/lib/plugin-metadata.mjs +8 -3
  12. package/lib/version-check.mjs +115 -0
  13. package/llms.txt +1 -1
  14. package/package.json +4 -3
  15. package/plugins/beginner.json +1 -1
  16. package/plugins/continuous-improvement/.claude-plugin/marketplace.json +2 -2
  17. package/plugins/continuous-improvement/.claude-plugin/plugin.json +2 -2
  18. package/plugins/continuous-improvement/bin/mcp-server.mjs +1 -0
  19. package/plugins/continuous-improvement/commands/intent-driven-development.md +36 -0
  20. package/plugins/continuous-improvement/commands/roast.md +34 -0
  21. package/plugins/continuous-improvement/hooks/hooks.json +6 -1
  22. package/plugins/continuous-improvement/hooks/workflow-distill.mjs +145 -0
  23. package/plugins/continuous-improvement/lib/plugin-metadata.mjs +8 -3
  24. package/plugins/continuous-improvement/skills/README.md +2 -0
  25. package/plugins/continuous-improvement/skills/intent-driven-development/SKILL.md +161 -0
  26. package/plugins/continuous-improvement/skills/roast/SKILL.md +108 -0
  27. package/plugins/continuous-improvement/skills/strategic-compact/SKILL.md +12 -32
  28. package/plugins/expert.json +1 -1
  29. package/skills/README.md +1 -1
  30. package/skills/intent-driven-development.md +161 -0
  31. package/skills/roast.md +108 -0
  32. package/skills/strategic-compact.md +12 -32
@@ -32,37 +32,17 @@ Strategic compaction at logical boundaries:
32
32
 
33
33
  ## How It Works
34
34
 
35
- The `suggest-compact.js` script runs on PreToolUse (Edit/Write) and:
36
-
37
- 1. **Tracks tool calls** — Counts tool invocations in session
38
- 2. **Threshold detection** — Suggests at configurable threshold (default: 50 calls)
39
- 3. **Periodic reminders** — Reminds every 25 calls after threshold
40
-
41
- ## Hook Setup
42
-
43
- Add to your `~/.claude/settings.json`:
44
-
45
- ```json
46
- {
47
- "hooks": {
48
- "PreToolUse": [
49
- {
50
- "matcher": "Edit",
51
- "hooks": [{ "type": "command", "command": "node ~/.claude/skills/strategic-compact/suggest-compact.js" }]
52
- },
53
- {
54
- "matcher": "Write",
55
- "hooks": [{ "type": "command", "command": "node ~/.claude/skills/strategic-compact/suggest-compact.js" }]
56
- }
57
- ]
58
- }
59
- }
60
- ```
61
-
62
- ## Configuration
63
-
64
- Environment variables:
65
- - `COMPACT_THRESHOLD` — Tool calls before first suggestion (default: 50)
35
+ This skill is a manual phase-boundary checklist, not a bundled runtime hook. Use it when planning or reviewing a long session:
36
+
37
+ 1. **Name the current phase** — research, planning, implementation, testing, debugging, release, or handoff.
38
+ 2. **Check the next transition** — decide whether the next phase needs fresh context or the current context is still load-bearing.
39
+ 3. **Preserve state first** — write the plan, todo list, findings, or handoff note that must survive compaction.
40
+ 4. **Compact only at a boundary** — if compaction helps, run `/compact` with a specific summary for the next phase.
41
+ 5. **Resume from durable artifacts** — after compaction, re-read the plan/files instead of relying on lost conversation context.
42
+
43
+ ## Runtime Boundary
44
+
45
+ The current plugin does not ship `strategic-compact` PreToolUse automation or a threshold script. Treat compaction as an operator/agent decision: this skill gives the decision guide, while Claude Code's native `/compact` command performs the actual compaction.
66
46
 
67
47
  ## Compaction Decision Guide
68
48
 
@@ -94,7 +74,7 @@ Understanding what persists helps you compact with confidence:
94
74
  1. **Compact after planning** — Once plan is finalized in TodoWrite, compact to start fresh
95
75
  2. **Compact after debugging** — Clear error-resolution context before continuing
96
76
  3. **Don't compact mid-implementation** — Preserve context for related changes
97
- 4. **Read the suggestion** — The hook tells you *when*, you decide *if*
77
+ 4. **Use the checklist** — The phase table helps decide *when*; you still decide *if*
98
78
  5. **Write before compacting** — Save important context to files or memory before compacting
99
79
  6. **Use `/compact` with a summary** — Add a custom message: `/compact Focus on implementing auth middleware next`
100
80