@jeiemgi/cckit 0.1.8 → 0.2.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/plugin.json +1 -1
- package/bin/cckit +44 -0
- package/cckit.config.json +1 -1
- package/package.json +1 -1
- package/scripts/copilot-loop-test.sh +162 -0
- package/scripts/lib/captain-test.sh +58 -0
- package/scripts/lib/captain.sh +181 -0
- package/scripts/lib/copilot-test.sh +30 -0
- package/scripts/lib/copilot.sh +101 -0
- package/scripts/lib/next.sh +75 -0
- package/scripts/lib/plan-machine-test.sh +72 -0
- package/scripts/lib/plan-machine.sh +260 -0
- package/scripts/lib/render-test.sh +40 -0
- package/scripts/lib/render.sh +57 -0
- package/skills/docs-writer/SKILL.md +135 -0
- package/skills/kit-next/SKILL.md +54 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: kit-next
|
|
3
|
+
description: >
|
|
4
|
+
The everyday cckit loop: find the next unblocked issue and pick it up, or fan the whole unblocked
|
|
5
|
+
wave out to subagents. Wraps `cckit next` (what can I work on now?), `cckit start <N>` (isolated
|
|
6
|
+
worktree + branch), `cckit copilot` (parallel fan-out), and `cckit watch` (gate + merge PRs).
|
|
7
|
+
when_to_use: >
|
|
8
|
+
When you sit down to work and want the next thing to do, when you finish an issue and need the
|
|
9
|
+
next one, or when you want to parallelize the unblocked wave. Not for planning an effort
|
|
10
|
+
(/kit-effort-new) or for a one-off task you already have in hand.
|
|
11
|
+
metadata:
|
|
12
|
+
version: 1.0.0
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# kit-next — the everyday loop
|
|
16
|
+
|
|
17
|
+
Answer one question fast: **what should I work on right now, and how do I start it?**
|
|
18
|
+
|
|
19
|
+
## Pick up the next issue
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
cckit next
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Prints the unblocked set (wave 0 of the plan) and the single recommended next issue with its start
|
|
26
|
+
command. `--effort <N>` scopes it to one effort's sub-issues.
|
|
27
|
+
|
|
28
|
+
Then start the top one in its own worktree + branch:
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
cckit start <N>
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Implement it, run `bash scripts/check.sh` until green, open the PR with `cckit pr <N> "<summary>"`
|
|
35
|
+
(or close a no-op with `cckit close <N> "<reason>"`), then run `cckit next` again.
|
|
36
|
+
|
|
37
|
+
## Or fan the whole wave out
|
|
38
|
+
|
|
39
|
+
When the unblocked issues are file-disjoint and independent, drive them in parallel instead of one
|
|
40
|
+
at a time:
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
cckit copilot # emits a Task-subagent fan-out brief for wave 0
|
|
44
|
+
cckit watch --merge # gate every open PR; squash-merge the CLEAN ones; advance the next wave
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
`cckit watch --loop` lets the captain self-pace the gate/merge passes until steady state.
|
|
48
|
+
|
|
49
|
+
## Surface it automatically (optional)
|
|
50
|
+
|
|
51
|
+
To see the next issue every time a session starts, add a `SessionStart` hook that runs
|
|
52
|
+
`cckit next` (or `cckit next --effort <N>`). Keep it opt-in — it prints on every new session, so
|
|
53
|
+
only wire it on repos where you want that nudge. See the Claude Code hooks docs for the
|
|
54
|
+
`SessionStart` event shape.
|