@nolrm/contextkit 0.9.4 → 0.9.7

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/README.md CHANGED
@@ -23,7 +23,7 @@ Update `.md` files as your project evolves; the AI follows.
23
23
 
24
24
  Works with: **Cursor** • **Claude Code** • **GitHub Copilot** • **Codex CLI** • **Gemini CLI** • **Aider** • **Continue** • **Windsurf**
25
25
 
26
- Each platform gets auto-loaded bridge files (`CLAUDE.md`, `AGENTS.md`, `GEMINI.md`, `.windsurfrules`, etc.) so your AI tools read project standards automatically.
26
+ Each platform gets auto-loaded bridge files (`CLAUDE.md`, `AGENTS.md`, `GEMINI.md`, `.windsurfrules`, etc.) so your AI tools read project standards automatically. Claude Code uses `@` imports in CLAUDE.md to load standards content directly into context — no extra token cost from manual file reads.
27
27
 
28
28
  ---
29
29
 
@@ -118,7 +118,7 @@ Each platform generates bridge files that the AI tool auto-reads. If a bridge fi
118
118
  /fix # diagnose and fix bugs
119
119
  ```
120
120
 
121
- **Claude Code** — reads `CLAUDE.md` + `.claude/rules/`, slash commands in `.claude/commands/`
121
+ **Claude Code** — `CLAUDE.md` uses `@` imports to auto-load all standards into context every session (no manual reads needed, saves tokens). Slash commands in `.claude/commands/`.
122
122
  ```bash
123
123
  /analyze # scan codebase and generate standards
124
124
  /review # code review with checklist
@@ -154,6 +154,14 @@ ContextKit installs reusable slash commands for supported platforms:
154
154
  | `/refactor` | Refactor code with safety checks |
155
155
  | `/test` | Generate comprehensive tests |
156
156
  | `/doc` | Add documentation |
157
+ | `/squad` | Kick off a squad task — write the PO spec |
158
+ | `/squad-architect` | Design the technical plan from the PO spec |
159
+ | `/squad-dev` | Implement code following the architect plan |
160
+ | `/squad-test` | Write and run tests against acceptance criteria |
161
+ | `/squad-review` | Review the full pipeline and give a verdict |
162
+ | `/squad-batch` | Kick off multiple tasks at once (batch PO specs) |
163
+ | `/squad-run` | Auto-run the remaining pipeline for batch tasks |
164
+ | `/ck` | Health check — verify setup, standards, and integrations |
157
165
 
158
166
  **Claude Code** — available as `/analyze`, `/review`, etc. in `.claude/commands/`
159
167
  **Cursor** — available as slash commands in Chat via `.cursor/prompts/`
@@ -162,6 +170,56 @@ Both platforms delegate to the universal command files in `.contextkit/commands/
162
170
 
163
171
  ---
164
172
 
173
+ ## Squad Workflow
174
+
175
+ The squad workflow turns a single AI session into a structured multi-role pipeline. Each role has its own slash command that reads and writes to a shared handoff file (`.contextkit/squad/handoff.md`), simulating a team of specialists.
176
+
177
+ ### Pipeline Roles
178
+
179
+ | Step | Role | Command | What it does |
180
+ |------|------|---------|-------------|
181
+ | 1 | Product Owner | `/squad` | Writes a user story, acceptance criteria, edge cases, and scope |
182
+ | 2 | Architect | `/squad-architect` | Designs the technical approach, files to change, and implementation steps |
183
+ | 3 | Developer | `/squad-dev` | Implements the code following the architect's plan |
184
+ | 4 | Tester | `/squad-test` | Writes and runs tests against the PO's acceptance criteria |
185
+ | 5 | Reviewer | `/squad-review` | Reviews everything and gives a PASS or NEEDS-WORK verdict |
186
+
187
+ ### Single-Task Flow
188
+
189
+ ```bash
190
+ /squad "add dark mode support" # PO writes the spec
191
+ /squad-architect # Architect designs the plan
192
+ /squad-dev # Dev implements the code
193
+ /squad-test # Tester writes and runs tests
194
+ /squad-review # Reviewer gives the verdict
195
+ ```
196
+
197
+ ### Batch Flow
198
+
199
+ For multiple tasks, use batch mode to spec them all up front, then run the full pipeline automatically:
200
+
201
+ ```bash
202
+ /squad-batch "add dark mode" "fix login bug" "refactor checkout"
203
+ # PO writes specs for all three tasks
204
+
205
+ /squad-run
206
+ # Runs Architect → Dev → Test → Review for each task sequentially
207
+ ```
208
+
209
+ ### Feedback Loop
210
+
211
+ Any downstream role can raise questions for an upstream role. When this happens, the pipeline pauses and directs you to the right command:
212
+
213
+ ```
214
+ Reviewer has questions for Dev → run /squad-dev to clarify
215
+ Tester has questions for Architect → run /squad-architect to clarify
216
+ Architect has questions for PO → run /squad to clarify
217
+ ```
218
+
219
+ After clarifications are added, re-run the asking role's command to continue. This prevents misunderstandings from compounding through the pipeline.
220
+
221
+ ---
222
+
165
223
  ## Git Hooks & Quality Gates
166
224
 
167
225
  ContextKit can optionally install Git hooks during `ck install`. Uses `git config core.hooksPath` to point Git at `.contextkit/hooks/` — no external dependencies like Husky required. Works in any git repo, not just Node.js projects.
@@ -551,6 +551,36 @@ Run \`ck analyze\` to generate this content, or manually add your API pattern be
551
551
  '.contextkit/commands/create-component.md'
552
552
  );
553
553
 
554
+ // Download squad commands
555
+ await this.downloadManager.downloadFile(
556
+ `${this.repoUrl}/commands/squad.md`,
557
+ '.contextkit/commands/squad.md'
558
+ );
559
+ await this.downloadManager.downloadFile(
560
+ `${this.repoUrl}/commands/squad-architect.md`,
561
+ '.contextkit/commands/squad-architect.md'
562
+ );
563
+ await this.downloadManager.downloadFile(
564
+ `${this.repoUrl}/commands/squad-dev.md`,
565
+ '.contextkit/commands/squad-dev.md'
566
+ );
567
+ await this.downloadManager.downloadFile(
568
+ `${this.repoUrl}/commands/squad-test.md`,
569
+ '.contextkit/commands/squad-test.md'
570
+ );
571
+ await this.downloadManager.downloadFile(
572
+ `${this.repoUrl}/commands/squad-review.md`,
573
+ '.contextkit/commands/squad-review.md'
574
+ );
575
+ await this.downloadManager.downloadFile(
576
+ `${this.repoUrl}/commands/squad-batch.md`,
577
+ '.contextkit/commands/squad-batch.md'
578
+ );
579
+ await this.downloadManager.downloadFile(
580
+ `${this.repoUrl}/commands/squad-run.md`,
581
+ '.contextkit/commands/squad-run.md'
582
+ );
583
+
554
584
  // Download hooks (pre-push and commit-msg only, no pre-commit)
555
585
  await this.downloadManager.downloadFile(
556
586
  `${this.repoUrl}/hooks/pre-push`,
@@ -608,6 +638,7 @@ Run \`ck analyze\` to generate this content, or manually add your API pattern be
608
638
  await this.createCorrectionsLog();
609
639
  await this.createMetaInstructions();
610
640
  await this.createPolicyFile();
641
+ await this.createHealthCheckCommand();
611
642
 
612
643
  // Install platform integrations
613
644
  await this.installPlatformIntegrations(detectedTools);
@@ -1431,6 +1462,58 @@ enforcement:
1431
1462
  console.log(chalk.green('✅ Policy file created'));
1432
1463
  }
1433
1464
 
1465
+ async createHealthCheckCommand() {
1466
+ const healthCheckContent = `# ContextKit Health Check
1467
+
1468
+ Check this project's ContextKit setup and report status.
1469
+
1470
+ ## Steps
1471
+
1472
+ 1. Check if \`.contextkit/\` directory exists. If not → STOP and tell user: "Run \`ck install\` to set up ContextKit."
1473
+
1474
+ 2. Read \`.contextkit/config.yml\` and check the \`last_analyzed\` field.
1475
+
1476
+ 3. Check each standards file for skeleton markers. Read these files and check if they contain \`<!-- Content will be generated by running: ck analyze -->\`:
1477
+ - \`.contextkit/standards/code-style.md\`
1478
+ - \`.contextkit/standards/testing.md\`
1479
+ - \`.contextkit/standards/architecture.md\`
1480
+ - \`.contextkit/standards/ai-guidelines.md\`
1481
+ - \`.contextkit/standards/workflows.md\`
1482
+ - \`.contextkit/standards/glossary.md\`
1483
+
1484
+ 4. Check product files for placeholder content (e.g., \`[ELEVATOR_PITCH_FROM_MISSION_MD]\`):
1485
+ - \`.contextkit/product/mission-lite.md\`
1486
+ - \`.contextkit/product/decisions.md\`
1487
+ - \`.contextkit/product/roadmap.md\`
1488
+
1489
+ 5. Check which platform integrations exist:
1490
+ - \`CLAUDE.md\` → Claude Code
1491
+ - \`.cursor/rules/\` → Cursor
1492
+ - \`AGENTS.md\` → Codex
1493
+ - \`GEMINI.md\` → Gemini
1494
+ - \`CONVENTIONS.md\` → Aider
1495
+ - \`.windsurfrules\` → Windsurf
1496
+ - \`.github/copilot-instructions.md\` → Copilot
1497
+
1498
+ 6. Report findings as a status summary table and list recommended next steps.
1499
+
1500
+ ## Output Format
1501
+
1502
+ | Area | Status | Action |
1503
+ |------|--------|--------|
1504
+ | Installation | OK/Missing | \`ck install\` |
1505
+ | Standards | Populated/Skeleton | \`ck analyze\` or \`/analyze\` |
1506
+ | Product context | Populated/Placeholder | Edit \`.contextkit/product/\` files |
1507
+ | Integrations | List active | \`ck <platform>\` to add more |
1508
+
1509
+ ## Token Note
1510
+
1511
+ If standards are still skeletons, warn that @imports in CLAUDE.md are loading empty files — wasting context tokens. Run \`/analyze\` to populate them.
1512
+ `;
1513
+
1514
+ await fs.writeFile('.contextkit/commands/health-check.md', healthCheckContent);
1515
+ }
1516
+
1434
1517
  showSuccessMessage(hookChoices, detectedTools = {}, projectType = '', packageManager = '') {
1435
1518
  console.log('');
1436
1519
  console.log(chalk.green('🎉 ContextKit v1.0.0 successfully installed!'));
@@ -249,6 +249,36 @@ class UpdateCommand {
249
249
  '.contextkit/commands/create-component.md'
250
250
  );
251
251
 
252
+ // Download squad commands
253
+ await this.downloadManager.downloadFile(
254
+ `${this.repoUrl}/commands/squad.md`,
255
+ '.contextkit/commands/squad.md'
256
+ );
257
+ await this.downloadManager.downloadFile(
258
+ `${this.repoUrl}/commands/squad-architect.md`,
259
+ '.contextkit/commands/squad-architect.md'
260
+ );
261
+ await this.downloadManager.downloadFile(
262
+ `${this.repoUrl}/commands/squad-dev.md`,
263
+ '.contextkit/commands/squad-dev.md'
264
+ );
265
+ await this.downloadManager.downloadFile(
266
+ `${this.repoUrl}/commands/squad-test.md`,
267
+ '.contextkit/commands/squad-test.md'
268
+ );
269
+ await this.downloadManager.downloadFile(
270
+ `${this.repoUrl}/commands/squad-review.md`,
271
+ '.contextkit/commands/squad-review.md'
272
+ );
273
+ await this.downloadManager.downloadFile(
274
+ `${this.repoUrl}/commands/squad-batch.md`,
275
+ '.contextkit/commands/squad-batch.md'
276
+ );
277
+ await this.downloadManager.downloadFile(
278
+ `${this.repoUrl}/commands/squad-run.md`,
279
+ '.contextkit/commands/squad-run.md'
280
+ );
281
+
252
282
  // Download hooks (pre-push and commit-msg only, no pre-commit)
253
283
  await this.downloadManager.downloadFile(
254
284
  `${this.repoUrl}/hooks/pre-push`,
@@ -17,6 +17,14 @@ class ClaudeIntegration extends BaseIntegration {
17
17
  '.claude/commands/refactor.md',
18
18
  '.claude/commands/test.md',
19
19
  '.claude/commands/doc.md',
20
+ '.claude/commands/squad.md',
21
+ '.claude/commands/squad-architect.md',
22
+ '.claude/commands/squad-dev.md',
23
+ '.claude/commands/squad-test.md',
24
+ '.claude/commands/squad-review.md',
25
+ '.claude/commands/squad-batch.md',
26
+ '.claude/commands/squad-run.md',
27
+ '.claude/commands/ck.md',
20
28
  ];
21
29
  this.platformDir = '.claude/rules';
22
30
  }
@@ -42,6 +50,33 @@ class ClaudeIntegration extends BaseIntegration {
42
50
  }
43
51
  }
44
52
 
53
+ getStandardsBlock() {
54
+ return `## Project Standards
55
+
56
+ The following standards are auto-loaded into context via @imports:
57
+
58
+ - @.contextkit/standards/code-style.md — Coding conventions and style rules
59
+ - @.contextkit/standards/testing.md — Testing patterns and requirements
60
+ - @.contextkit/standards/architecture.md — Architecture decisions and patterns
61
+ - @.contextkit/standards/ai-guidelines.md — AI behavior and usage guidelines
62
+ - @.contextkit/standards/workflows.md — Development workflows and processes
63
+ - @.contextkit/standards/glossary.md — Project terminology and shortcuts
64
+
65
+ ## Product Context
66
+
67
+ - @.contextkit/product/mission-lite.md — Product mission (condensed)
68
+ - @.contextkit/product/decisions.md — Architecture Decision Records
69
+ - @.contextkit/product/roadmap.md — Development roadmap
70
+
71
+ ## Commands
72
+
73
+ - \`.contextkit/commands/analyze.md\` — Analyze and customize standards
74
+ - \`.contextkit/commands/create-component.md\` — Create components
75
+ - \`.contextkit/commands/create-feature.md\` — Create features
76
+ - \`.contextkit/commands/run-tests.md\` — Run tests
77
+ - \`.contextkit/commands/quality-check.md\` — Quality checks`;
78
+ }
79
+
45
80
  async generateFiles() {
46
81
  // Bridge file: CLAUDE.md (auto-loaded every session)
47
82
  const bridgeContent = `# Project Standards (ContextKit)
@@ -52,7 +87,7 @@ ${this.getStandardsBlock()}
52
87
 
53
88
  ## Corrections Log
54
89
 
55
- - \`.contextkit/corrections.md\` — Track AI performance improvements
90
+ - @.contextkit/corrections.md — Track AI performance improvements
56
91
 
57
92
  ## Quick Reference
58
93
 
@@ -68,14 +103,14 @@ alwaysApply: true
68
103
 
69
104
  # ContextKit Standards
70
105
 
71
- This project uses ContextKit for structured development standards.
106
+ This project uses ContextKit. Project standards are auto-loaded via CLAUDE.md imports.
72
107
 
73
- Always reference the following before generating code:
74
- - \`.contextkit/standards/code-style.md\` for coding conventions
75
- - \`.contextkit/standards/architecture.md\` for architecture patterns
76
- - \`.contextkit/standards/ai-guidelines.md\` for AI behavior rules
77
- - \`.contextkit/standards/glossary.md\` for project terminology
78
- - \`.contextkit/product/mission-lite.md\` for product context
108
+ Key areas to follow:
109
+ - Code style conventions (from code-style.md)
110
+ - Architecture patterns (from architecture.md)
111
+ - AI behavior rules (from ai-guidelines.md)
112
+ - Project terminology (from glossary.md)
113
+ - Product context (from mission-lite.md)
79
114
  `;
80
115
  await this.writeGeneratedFile('.claude/rules/contextkit-standards.md', standardsRule);
81
116
 
@@ -90,8 +125,7 @@ globs:
90
125
 
91
126
  # Testing Standards
92
127
 
93
- When writing or modifying tests, follow:
94
- - \`.contextkit/standards/testing.md\` for test patterns and requirements
128
+ Follow the testing standards auto-loaded via CLAUDE.md (from testing.md).
95
129
  - All test cases MUST use numbered descriptions (e.g., \`it("1. renders correctly")\`)
96
130
  - Reference \`.contextkit/templates/test.md\` for test template patterns
97
131
  `;
@@ -109,11 +143,10 @@ globs:
109
143
 
110
144
  # Code Style
111
145
 
112
- When writing or modifying source code, follow:
113
- - \`.contextkit/standards/code-style.md\` for coding conventions
114
- - \`.contextkit/templates/component.md\` for component patterns
115
- - \`.contextkit/templates/hook.md\` for custom hook patterns
116
- - \`.contextkit/templates/api.md\` for API service patterns
146
+ Follow the code style standards auto-loaded via CLAUDE.md (from code-style.md).
147
+ - Reference \`.contextkit/templates/component.md\` for component patterns
148
+ - Reference \`.contextkit/templates/hook.md\` for custom hook patterns
149
+ - Reference \`.contextkit/templates/api.md\` for API service patterns
117
150
  `;
118
151
  await this.writeGeneratedFile('.claude/rules/contextkit-code-style.md', codeStyleRule);
119
152
 
@@ -158,6 +191,63 @@ Generate or run tests for the specified code, covering happy paths, edge cases,
158
191
  Read \`.contextkit/commands/add-documentation.md\` and execute the documentation workflow.
159
192
 
160
193
  Add inline docs, README sections, and usage examples for the specified code.
194
+ `);
195
+
196
+ // Squad slash commands
197
+ await this.writeGeneratedFile('.claude/commands/squad.md', `# Squad — Kickoff
198
+
199
+ Read \`.contextkit/commands/squad.md\` and execute the squad kickoff workflow.
200
+
201
+ Create the handoff file and write the PO spec for the given task. Pass the user's task description as the input.
202
+ `);
203
+
204
+ await this.writeGeneratedFile('.claude/commands/squad-architect.md', `# Squad — Architect
205
+
206
+ Read \`.contextkit/commands/squad-architect.md\` and execute the architect workflow.
207
+
208
+ Read the PO spec from the handoff file, design the technical approach, and write the implementation plan.
209
+ `);
210
+
211
+ await this.writeGeneratedFile('.claude/commands/squad-dev.md', `# Squad — Dev
212
+
213
+ Read \`.contextkit/commands/squad-dev.md\` and execute the dev workflow.
214
+
215
+ Follow the architect's plan to implement the code changes.
216
+ `);
217
+
218
+ await this.writeGeneratedFile('.claude/commands/squad-test.md', `# Squad — Test
219
+
220
+ Read \`.contextkit/commands/squad-test.md\` and execute the test workflow.
221
+
222
+ Write and run tests against the PO's acceptance criteria.
223
+ `);
224
+
225
+ await this.writeGeneratedFile('.claude/commands/squad-review.md', `# Squad — Review
226
+
227
+ Read \`.contextkit/commands/squad-review.md\` and execute the review workflow.
228
+
229
+ Review the full handoff (spec, plan, implementation, tests) and write the final verdict.
230
+ `);
231
+
232
+ await this.writeGeneratedFile('.claude/commands/squad-batch.md', `# Squad Batch — Multi-Task Kickoff
233
+
234
+ Read \`.contextkit/commands/squad-batch.md\` and execute the batch kickoff workflow.
235
+
236
+ Create handoff files for multiple tasks and write PO specs for each one. Pass all task descriptions as the input.
237
+ `);
238
+
239
+ await this.writeGeneratedFile('.claude/commands/squad-run.md', `# Squad Run — Auto-Run Pipeline
240
+
241
+ Read \`.contextkit/commands/squad-run.md\` and execute the pipeline runner workflow.
242
+
243
+ Process all batch tasks through the remaining pipeline steps (Architect, Dev, Test, Review) sequentially.
244
+ `);
245
+
246
+ await this.writeGeneratedFile('.claude/commands/ck.md', `# ContextKit Health Check
247
+
248
+ Read \`.contextkit/commands/health-check.md\` and execute the health check workflow.
249
+
250
+ Check project setup, standards status, and integrations. Report what needs attention.
161
251
  `);
162
252
  }
163
253
 
@@ -174,6 +264,18 @@ Add inline docs, README sections, and usage examples for the specified code.
174
264
  console.log(chalk.dim(' /refactor — Refactor code structure'));
175
265
  console.log(chalk.dim(' /test — Generate or run tests'));
176
266
  console.log(chalk.dim(' /doc — Add documentation'));
267
+ console.log(chalk.dim(''));
268
+ console.log(chalk.dim(' Squad (multi-agent workflow):'));
269
+ console.log(chalk.dim(' /squad "task" — Kickoff: create handoff + PO spec'));
270
+ console.log(chalk.dim(' /squad-architect — Design the implementation plan'));
271
+ console.log(chalk.dim(' /squad-dev — Implement the code'));
272
+ console.log(chalk.dim(' /squad-test — Write and run tests'));
273
+ console.log(chalk.dim(' /squad-review — Review and write verdict'));
274
+ console.log(chalk.dim(' /squad-batch — Batch kickoff: PO specs for multiple tasks'));
275
+ console.log(chalk.dim(' /squad-run — Auto-run pipeline for batch tasks'));
276
+ console.log(chalk.dim(''));
277
+ console.log(chalk.dim(' Health check:'));
278
+ console.log(chalk.dim(' /ck — Check project setup and standards status'));
177
279
  }
178
280
  }
179
281
 
@@ -18,6 +18,14 @@ class CursorIntegration extends BaseIntegration {
18
18
  '.cursor/prompts/refactor.md',
19
19
  '.cursor/prompts/test.md',
20
20
  '.cursor/prompts/doc.md',
21
+ '.cursor/prompts/squad.md',
22
+ '.cursor/prompts/squad-architect.md',
23
+ '.cursor/prompts/squad-dev.md',
24
+ '.cursor/prompts/squad-test.md',
25
+ '.cursor/prompts/squad-review.md',
26
+ '.cursor/prompts/squad-batch.md',
27
+ '.cursor/prompts/squad-run.md',
28
+ '.cursor/prompts/ck.md',
21
29
  ];
22
30
  this.bridgeFiles = [];
23
31
  this.platformDir = '.cursor/rules';
@@ -191,6 +199,63 @@ Generate or run tests for the specified code, covering happy paths, edge cases,
191
199
  Read \`.contextkit/commands/add-documentation.md\` and execute the documentation workflow.
192
200
 
193
201
  Add inline docs, README sections, and usage examples for the specified code.
202
+ `);
203
+
204
+ // Squad prompts
205
+ await this.writeGeneratedFile('.cursor/prompts/squad.md', `# Squad — Kickoff
206
+
207
+ Read \`.contextkit/commands/squad.md\` and execute the squad kickoff workflow.
208
+
209
+ Create the handoff file and write the PO spec for the given task. Pass the user's task description as the input.
210
+ `);
211
+
212
+ await this.writeGeneratedFile('.cursor/prompts/squad-architect.md', `# Squad — Architect
213
+
214
+ Read \`.contextkit/commands/squad-architect.md\` and execute the architect workflow.
215
+
216
+ Read the PO spec from the handoff file, design the technical approach, and write the implementation plan.
217
+ `);
218
+
219
+ await this.writeGeneratedFile('.cursor/prompts/squad-dev.md', `# Squad — Dev
220
+
221
+ Read \`.contextkit/commands/squad-dev.md\` and execute the dev workflow.
222
+
223
+ Follow the architect's plan to implement the code changes.
224
+ `);
225
+
226
+ await this.writeGeneratedFile('.cursor/prompts/squad-test.md', `# Squad — Test
227
+
228
+ Read \`.contextkit/commands/squad-test.md\` and execute the test workflow.
229
+
230
+ Write and run tests against the PO's acceptance criteria.
231
+ `);
232
+
233
+ await this.writeGeneratedFile('.cursor/prompts/squad-review.md', `# Squad — Review
234
+
235
+ Read \`.contextkit/commands/squad-review.md\` and execute the review workflow.
236
+
237
+ Review the full handoff (spec, plan, implementation, tests) and write the final verdict.
238
+ `);
239
+
240
+ await this.writeGeneratedFile('.cursor/prompts/squad-batch.md', `# Squad Batch — Multi-Task Kickoff
241
+
242
+ Read \`.contextkit/commands/squad-batch.md\` and execute the batch kickoff workflow.
243
+
244
+ Create handoff files for multiple tasks and write PO specs for each one. Pass all task descriptions as the input.
245
+ `);
246
+
247
+ await this.writeGeneratedFile('.cursor/prompts/squad-run.md', `# Squad Run — Auto-Run Pipeline
248
+
249
+ Read \`.contextkit/commands/squad-run.md\` and execute the pipeline runner workflow.
250
+
251
+ Process all batch tasks through the remaining pipeline steps (Architect, Dev, Test, Review) sequentially.
252
+ `);
253
+
254
+ await this.writeGeneratedFile('.cursor/prompts/ck.md', `# ContextKit Health Check
255
+
256
+ Read \`.contextkit/commands/health-check.md\` and execute the health check workflow.
257
+
258
+ Check project setup, standards status, and integrations. Report what needs attention.
194
259
  `);
195
260
  }
196
261
 
@@ -206,6 +271,18 @@ Add inline docs, README sections, and usage examples for the specified code.
206
271
  console.log(chalk.dim(' /refactor — Refactor code structure'));
207
272
  console.log(chalk.dim(' /test — Generate or run tests'));
208
273
  console.log(chalk.dim(' /doc — Add documentation'));
274
+ console.log(chalk.dim(''));
275
+ console.log(chalk.dim(' Squad (multi-agent workflow):'));
276
+ console.log(chalk.dim(' /squad "task" — Kickoff: create handoff + PO spec'));
277
+ console.log(chalk.dim(' /squad-architect — Design the implementation plan'));
278
+ console.log(chalk.dim(' /squad-dev — Implement the code'));
279
+ console.log(chalk.dim(' /squad-test — Write and run tests'));
280
+ console.log(chalk.dim(' /squad-review — Review and write verdict'));
281
+ console.log(chalk.dim(' /squad-batch — Batch kickoff: PO specs for multiple tasks'));
282
+ console.log(chalk.dim(' /squad-run — Auto-run pipeline for batch tasks'));
283
+ console.log(chalk.dim(''));
284
+ console.log(chalk.dim(' Health check:'));
285
+ console.log(chalk.dim(' /ck — Check project setup and standards status'));
209
286
  }
210
287
  }
211
288
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nolrm/contextkit",
3
- "version": "0.9.4",
3
+ "version": "0.9.7",
4
4
  "description": "ContextKit - Context Engineering for AI Development. Provide rich context to AI through structured MD files with standards, code guides, and documentation. Works with Cursor, Claude, Aider, VS Code Copilot, and more.",
5
5
  "main": "lib/index.js",
6
6
  "bin": {