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.
- package/.claude-plugin/marketplace.json +2 -2
- package/CHANGELOG.md +20 -0
- package/README.md +5 -4
- package/bin/check-skill-count-prose.mjs +168 -0
- package/bin/install.mjs +46 -1
- package/bin/lint-transcript.mjs +15 -3
- package/bin/mcp-server.mjs +1 -0
- package/commands/intent-driven-development.md +36 -0
- package/commands/roast.md +34 -0
- package/hooks/workflow-distill.mjs +145 -0
- package/lib/plugin-metadata.mjs +8 -3
- package/lib/version-check.mjs +115 -0
- package/llms.txt +1 -1
- package/package.json +4 -3
- package/plugins/beginner.json +1 -1
- package/plugins/continuous-improvement/.claude-plugin/marketplace.json +2 -2
- package/plugins/continuous-improvement/.claude-plugin/plugin.json +2 -2
- package/plugins/continuous-improvement/bin/mcp-server.mjs +1 -0
- package/plugins/continuous-improvement/commands/intent-driven-development.md +36 -0
- package/plugins/continuous-improvement/commands/roast.md +34 -0
- package/plugins/continuous-improvement/hooks/hooks.json +6 -1
- package/plugins/continuous-improvement/hooks/workflow-distill.mjs +145 -0
- package/plugins/continuous-improvement/lib/plugin-metadata.mjs +8 -3
- package/plugins/continuous-improvement/skills/README.md +2 -0
- package/plugins/continuous-improvement/skills/intent-driven-development/SKILL.md +161 -0
- package/plugins/continuous-improvement/skills/roast/SKILL.md +108 -0
- package/plugins/continuous-improvement/skills/strategic-compact/SKILL.md +12 -32
- package/plugins/expert.json +1 -1
- package/skills/README.md +1 -1
- package/skills/intent-driven-development.md +161 -0
- package/skills/roast.md +108 -0
- 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
|
-
|
|
36
|
-
|
|
37
|
-
1. **
|
|
38
|
-
2. **
|
|
39
|
-
3. **
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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. **
|
|
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
|
|