work-kit-cli 0.2.0 → 0.2.1
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/cli/src/commands/doctor.ts +1 -1
- package/cli/src/commands/uninstall.ts +1 -1
- package/cli/src/config/phases.ts +3 -3
- package/package.json +1 -1
- package/skills/auto-kit/SKILL.md +1 -1
- package/skills/full-kit/SKILL.md +2 -2
- package/skills/{build → wk-build}/SKILL.md +1 -1
- package/skills/{deploy → wk-deploy}/SKILL.md +1 -1
- package/skills/{plan → wk-plan}/SKILL.md +1 -1
- package/skills/{review → wk-review}/SKILL.md +1 -1
- package/skills/{test → wk-test}/SKILL.md +1 -1
- /package/skills/{build → wk-build}/stages/commit.md +0 -0
- /package/skills/{build → wk-build}/stages/core.md +0 -0
- /package/skills/{build → wk-build}/stages/integration.md +0 -0
- /package/skills/{build → wk-build}/stages/migration.md +0 -0
- /package/skills/{build → wk-build}/stages/red.md +0 -0
- /package/skills/{build → wk-build}/stages/refactor.md +0 -0
- /package/skills/{build → wk-build}/stages/setup.md +0 -0
- /package/skills/{build → wk-build}/stages/ui.md +0 -0
- /package/skills/{deploy → wk-deploy}/stages/merge.md +0 -0
- /package/skills/{deploy → wk-deploy}/stages/monitor.md +0 -0
- /package/skills/{deploy → wk-deploy}/stages/remediate.md +0 -0
- /package/skills/{plan → wk-plan}/stages/architecture.md +0 -0
- /package/skills/{plan → wk-plan}/stages/audit.md +0 -0
- /package/skills/{plan → wk-plan}/stages/blueprint.md +0 -0
- /package/skills/{plan → wk-plan}/stages/clarify.md +0 -0
- /package/skills/{plan → wk-plan}/stages/investigate.md +0 -0
- /package/skills/{plan → wk-plan}/stages/scope.md +0 -0
- /package/skills/{plan → wk-plan}/stages/sketch.md +0 -0
- /package/skills/{plan → wk-plan}/stages/ux-flow.md +0 -0
- /package/skills/{review → wk-review}/stages/compliance.md +0 -0
- /package/skills/{review → wk-review}/stages/handoff.md +0 -0
- /package/skills/{review → wk-review}/stages/performance.md +0 -0
- /package/skills/{review → wk-review}/stages/security.md +0 -0
- /package/skills/{review → wk-review}/stages/self-review.md +0 -0
- /package/skills/{test → wk-test}/stages/e2e.md +0 -0
- /package/skills/{test → wk-test}/stages/validate.md +0 -0
- /package/skills/{test → wk-test}/stages/verify.md +0 -0
- /package/skills/{wrap-up → wk-wrap-up}/SKILL.md +0 -0
|
@@ -35,7 +35,7 @@ export function doctorCommand(worktreeRoot?: string): { ok: boolean; checks: Che
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
// 3. Phase skill files
|
|
38
|
-
const phases = ["plan", "build", "test", "review", "deploy", "wrap-up"];
|
|
38
|
+
const phases = ["wk-plan", "wk-build", "wk-test", "wk-review", "wk-deploy", "wk-wrap-up"];
|
|
39
39
|
let phasesMissing = 0;
|
|
40
40
|
for (const phase of phases) {
|
|
41
41
|
const phasePath = path.join(skillsDir, phase, "SKILL.md");
|
|
@@ -4,7 +4,7 @@ import * as readline from "node:readline";
|
|
|
4
4
|
import { bold, dim, green, red, yellow } from "../utils/colors.js";
|
|
5
5
|
|
|
6
6
|
const WORK_KIT_SKILLS = [
|
|
7
|
-
"full-kit", "auto-kit", "plan", "build", "test", "review", "deploy", "wrap-up",
|
|
7
|
+
"full-kit", "auto-kit", "wk-plan", "wk-build", "wk-test", "wk-review", "wk-deploy", "wk-wrap-up",
|
|
8
8
|
];
|
|
9
9
|
|
|
10
10
|
async function promptUser(question: string): Promise<string> {
|
package/cli/src/config/phases.ts
CHANGED
|
@@ -23,9 +23,9 @@ export const PHASE_PREREQUISITES: Record<PhaseName, PhaseName | null> = {
|
|
|
23
23
|
// ── Skill File Paths ─────────────────────────────────────────────────
|
|
24
24
|
|
|
25
25
|
export function skillFilePath(phase: PhaseName, subStage?: string): string {
|
|
26
|
-
|
|
27
|
-
if (!subStage) return `.claude/skills/${
|
|
28
|
-
return `.claude/skills/${
|
|
26
|
+
const dir = `wk-${phase}`;
|
|
27
|
+
if (!subStage) return `.claude/skills/${dir}/SKILL.md`;
|
|
28
|
+
return `.claude/skills/${dir}/stages/${subStage}.md`;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
// ── Auto-kit Default Workflows ───────────────────────────────────────
|
package/package.json
CHANGED
package/skills/auto-kit/SKILL.md
CHANGED
|
@@ -206,7 +206,7 @@ On loop-back: uncheck the target step and any steps after it that need re-runnin
|
|
|
206
206
|
|
|
207
207
|
When all steps in `## Workflow` are checked:
|
|
208
208
|
|
|
209
|
-
Run **Wrap-up** — read `.claude/skills/wrap-up.md` and follow its instructions. It handles writing the work-kit summary, committing it, and cleaning up the worktree.
|
|
209
|
+
Run **Wrap-up** — read `.claude/skills/wk-wrap-up/SKILL.md` and follow its instructions. It handles writing the work-kit summary, committing it, and cleaning up the worktree.
|
|
210
210
|
|
|
211
211
|
## Important
|
|
212
212
|
|
package/skills/full-kit/SKILL.md
CHANGED
|
@@ -163,7 +163,7 @@ state.md grows like this:
|
|
|
163
163
|
For each phase:
|
|
164
164
|
1. **Check prerequisites** — verify the required prior phase is marked complete in state.md
|
|
165
165
|
2. **Spawn a fresh agent** for the phase — pass it the phase skill file and the relevant Final sections from state.md
|
|
166
|
-
3. The agent reads each sub-stage file when directed (e.g., `.claude/skills/plan/stages/clarify.md`)
|
|
166
|
+
3. The agent reads each sub-stage file when directed (e.g., `.claude/skills/wk-plan/stages/clarify.md`)
|
|
167
167
|
4. The agent updates `.work-kit/state.md` after each sub-stage completes
|
|
168
168
|
5. The agent writes the `### <Phase>: Final` section before exiting
|
|
169
169
|
6. After the agent completes, summarize results to the user and wait for confirmation
|
|
@@ -184,7 +184,7 @@ On loop-back: add a `## Loop-back context` section to state.md with what needs t
|
|
|
184
184
|
|
|
185
185
|
When all phases are done (or deploy is skipped):
|
|
186
186
|
|
|
187
|
-
Run **Wrap-up** — read `.claude/skills/wrap-up.md` and follow its instructions. It handles writing the work-kit summary, committing it, and cleaning up the worktree.
|
|
187
|
+
Run **Wrap-up** — read `.claude/skills/wk-wrap-up/SKILL.md` and follow its instructions. It handles writing the work-kit summary, committing it, and cleaning up the worktree.
|
|
188
188
|
|
|
189
189
|
**Deploy and Wrap-up are MANDATORY.** Deploy handles syncing, PR creation, and merging — fully autonomous, no user confirmation needed. Wrap-up archives the work history so past work is discoverable in future sessions. Always spawn real agents for both — never just mark them complete or skip them.
|
|
190
190
|
|
|
@@ -21,7 +21,7 @@ You are the **Lead Developer**. Execute the implementation plan from the Bluepri
|
|
|
21
21
|
## Execution
|
|
22
22
|
|
|
23
23
|
For each sub-stage:
|
|
24
|
-
1. Read the sub-stage file (e.g., `.claude/skills/build/stages/setup.md`)
|
|
24
|
+
1. Read the sub-stage file (e.g., `.claude/skills/wk-build/stages/setup.md`)
|
|
25
25
|
2. Reference the Blueprint in `.work-kit/state.md` — follow its steps for this layer
|
|
26
26
|
3. Write actual code, run actual commands
|
|
27
27
|
4. Update `.work-kit/state.md` with outputs
|
|
@@ -16,7 +16,7 @@ You are the **Release Engineer**. Get this PR merged and deployed safely.
|
|
|
16
16
|
## Execution
|
|
17
17
|
|
|
18
18
|
For each sub-stage:
|
|
19
|
-
1. Read the sub-stage file (e.g., `.claude/skills/deploy/stages/merge.md`)
|
|
19
|
+
1. Read the sub-stage file (e.g., `.claude/skills/wk-deploy/stages/merge.md`)
|
|
20
20
|
2. Follow its instructions
|
|
21
21
|
3. Update `.work-kit/state.md` with outputs
|
|
22
22
|
4. Proceed to next sub-stage
|
|
@@ -21,7 +21,7 @@ You are the **Planning Lead**. Work through 8 focused sub-stages to produce a co
|
|
|
21
21
|
## Execution
|
|
22
22
|
|
|
23
23
|
For each sub-stage:
|
|
24
|
-
1. Read the sub-stage file (e.g., `.claude/skills/plan/stages/clarify.md`)
|
|
24
|
+
1. Read the sub-stage file (e.g., `.claude/skills/wk-plan/stages/clarify.md`)
|
|
25
25
|
2. Follow its instructions completely
|
|
26
26
|
3. Write outputs to `.work-kit/state.md` under a section for that sub-stage
|
|
27
27
|
4. Update `**Phase:** plan` and `**Sub-stage:** <current>` in state.md
|
|
@@ -18,7 +18,7 @@ You are the **Senior Reviewer**. Perform multi-dimensional code review before th
|
|
|
18
18
|
## Execution
|
|
19
19
|
|
|
20
20
|
For each sub-stage:
|
|
21
|
-
1. Read the sub-stage file (e.g., `.claude/skills/review/stages/self-review.md`)
|
|
21
|
+
1. Read the sub-stage file (e.g., `.claude/skills/wk-review/stages/self-review.md`)
|
|
22
22
|
2. Follow its instructions — fix issues directly when possible
|
|
23
23
|
3. Update `.work-kit/state.md` with findings
|
|
24
24
|
4. Proceed to next sub-stage
|
|
@@ -16,7 +16,7 @@ You are the **QA Lead**. Validate the implementation against the Blueprint and a
|
|
|
16
16
|
## Execution
|
|
17
17
|
|
|
18
18
|
For each sub-stage:
|
|
19
|
-
1. Read the sub-stage file (e.g., `.claude/skills/test/stages/verify.md`)
|
|
19
|
+
1. Read the sub-stage file (e.g., `.claude/skills/wk-test/stages/verify.md`)
|
|
20
20
|
2. Follow its instructions
|
|
21
21
|
3. Update `.work-kit/state.md` with outputs
|
|
22
22
|
4. Proceed to next sub-stage
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|