@nolrm/contextkit 0.12.10 → 0.12.12

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
@@ -148,12 +148,11 @@ ContextKit installs reusable slash commands for supported platforms:
148
148
  | `/test` | Generate comprehensive tests |
149
149
  | `/doc` | Add documentation |
150
150
  | `/spec` | Write a component spec (MD-first) before any code is created |
151
- | `/squad` | Kick off a squad task — write the PO spec |
151
+ | `/squad` | Kick off a squad task — one task or many (auto-detects batch mode) |
152
152
  | `/squad-architect` | Design the technical plan from the PO spec |
153
153
  | `/squad-dev` | Implement code following the architect plan |
154
154
  | `/squad-test` | Write and run tests against acceptance criteria |
155
155
  | `/squad-review` | Review the full pipeline and give a verdict |
156
- | `/squad-batch` | Kick off multiple tasks at once (batch PO specs) |
157
156
  | `/squad-run` | Auto-run the remaining pipeline for batch tasks (sequential) |
158
157
  | `/squad-run-agents` | Auto-run the pipeline in parallel using Claude Code agents (Claude Code only) |
159
158
  | `/ck` | Health check — verify setup, standards, and integrations |
@@ -173,7 +172,7 @@ The squad workflow turns a single AI session into a structured multi-role pipeli
173
172
 
174
173
  | Step | Role | Command | What it does |
175
174
  |------|------|---------|-------------|
176
- | 1 | Product Owner | `/squad` | Writes a user story, acceptance criteria, edge cases, and scope |
175
+ | 1 | Product Owner | `/squad` | Writes a user story, acceptance criteria, edge cases, and scope. Optionally captures screenshots/images as visual assets. |
177
176
  | 2 | Architect | `/squad-architect` | Designs the technical approach, files to change, and implementation steps |
178
177
  | 3 | Developer | `/squad-dev` | Implements the code following the architect's plan |
179
178
  | 4 | Tester | `/squad-test` | Writes and runs tests against the PO's acceptance criteria |
@@ -191,10 +190,10 @@ The squad workflow turns a single AI session into a structured multi-role pipeli
191
190
 
192
191
  ### Batch Flow
193
192
 
194
- For multiple tasks, use batch mode to spec them all up front, then run the full pipeline automatically:
193
+ Pass multiple tasks to `/squad` and it automatically runs in batch mode:
195
194
 
196
195
  ```bash
197
- /squad-batch "add dark mode" "fix login bug" "refactor checkout"
196
+ /squad "add dark mode" "fix login bug" "refactor checkout"
198
197
  # PO writes specs for all three tasks
199
198
 
200
199
  /squad-run
@@ -204,7 +203,7 @@ For multiple tasks, use batch mode to spec them all up front, then run the full
204
203
  **Agent mode (Claude Code only):** Use `/squad-run-agents` instead of `/squad-run` to spawn parallel subagents — one per task per phase — so all tasks progress simultaneously rather than one at a time.
205
204
 
206
205
  ```bash
207
- /squad-batch "add dark mode" "fix login bug" "refactor checkout"
206
+ /squad "add dark mode" "fix login bug" "refactor checkout"
208
207
 
209
208
  /squad-run-agents
210
209
  # Phase 1: architect agents for all 3 tasks run in parallel
@@ -223,6 +222,10 @@ Architect has questions for PO → run /squad to clarify
223
222
 
224
223
  After clarifications are added, re-run the asking role's command to continue. This prevents misunderstandings from compounding through the pipeline.
225
224
 
225
+ ### Visual Assets (Optional)
226
+
227
+ If you have a screenshot, mockup, or design image relevant to the task, paste or attach it when running `/squad`. The PO agent will save it to `.contextkit/squad/assets/` and reference the path in the handoff. Architect and Dev agents automatically read any listed assets when they pick up the handoff.
228
+
226
229
  ---
227
230
 
228
231
  ## Git Hooks & Quality Gates
@@ -717,10 +717,6 @@ Any design decisions, trade-offs, or open questions to resolve before coding.
717
717
  `${this.repoUrl}/commands/squad-review.md`,
718
718
  '.contextkit/commands/squad-review.md'
719
719
  );
720
- await this.downloadManager.downloadFile(
721
- `${this.repoUrl}/commands/squad-batch.md`,
722
- '.contextkit/commands/squad-batch.md'
723
- );
724
720
  await this.downloadManager.downloadFile(
725
721
  `${this.repoUrl}/commands/squad-run.md`,
726
722
  '.contextkit/commands/squad-run.md'
@@ -274,10 +274,6 @@ class UpdateCommand {
274
274
  `${this.repoUrl}/commands/squad-review.md`,
275
275
  '.contextkit/commands/squad-review.md'
276
276
  );
277
- await this.downloadManager.downloadFile(
278
- `${this.repoUrl}/commands/squad-batch.md`,
279
- '.contextkit/commands/squad-batch.md'
280
- );
281
277
  await this.downloadManager.downloadFile(
282
278
  `${this.repoUrl}/commands/squad-run.md`,
283
279
  '.contextkit/commands/squad-run.md'
@@ -22,7 +22,6 @@ class ClaudeIntegration extends BaseIntegration {
22
22
  '.claude/commands/squad-dev.md',
23
23
  '.claude/commands/squad-test.md',
24
24
  '.claude/commands/squad-review.md',
25
- '.claude/commands/squad-batch.md',
26
25
  '.claude/commands/squad-run.md',
27
26
  '.claude/commands/squad-run-agents.md',
28
27
  '.claude/commands/spec.md',
@@ -44,6 +43,7 @@ class ClaudeIntegration extends BaseIntegration {
44
43
  '.claude/rules/vibe-kit-standards.md',
45
44
  '.claude/rules/vibe-kit-testing.md',
46
45
  '.claude/rules/vibe-kit-code-style.md',
46
+ '.claude/commands/squad-batch.md',
47
47
  ];
48
48
  for (const file of legacyFiles) {
49
49
  if (await fs.pathExists(file)) {
@@ -236,13 +236,6 @@ Write and run tests against the PO's acceptance criteria.
236
236
  Read \`.contextkit/commands/squad-review.md\` and execute the review workflow.
237
237
 
238
238
  Review the full handoff (spec, plan, implementation, tests) and write the final verdict.
239
- `);
240
-
241
- await this.writeGeneratedFile('.claude/commands/squad-batch.md', `# Squad Batch — Multi-Task Kickoff
242
-
243
- Read \`.contextkit/commands/squad-batch.md\` and execute the batch kickoff workflow.
244
-
245
- Create handoff files for multiple tasks and write PO specs for each one. Pass all task descriptions as the input.
246
239
  `);
247
240
 
248
241
  await this.writeGeneratedFile('.claude/commands/squad-run.md', `# Squad Run — Auto-Run Pipeline
@@ -256,7 +249,7 @@ Process all batch tasks through the remaining pipeline steps (Architect, Dev, Te
256
249
 
257
250
  Read \`.contextkit/commands/squad-run-agents.md\` and execute the parallel pipeline workflow.
258
251
 
259
- Spawn one subagent per task per phase using the Task tool, so all tasks progress simultaneously instead of sequentially. Use this after \`/squad-batch\` for faster execution on multi-task batches.
252
+ Spawn one subagent per task per phase using the Task tool, so all tasks progress simultaneously instead of sequentially. Use this after \`/squad\` batch kickoff for faster execution on multi-task batches.
260
253
  `);
261
254
 
262
255
  await this.writeGeneratedFile('.claude/commands/ck.md', `# ContextKit Health Check
@@ -287,7 +280,6 @@ Check project setup, standards status, and integrations. Report what needs atten
287
280
  console.log(chalk.dim(' /squad-dev — Implement the code'));
288
281
  console.log(chalk.dim(' /squad-test — Write and run tests'));
289
282
  console.log(chalk.dim(' /squad-review — Review and write verdict'));
290
- console.log(chalk.dim(' /squad-batch — Batch kickoff: PO specs for multiple tasks'));
291
283
  console.log(chalk.dim(' /squad-run — Auto-run pipeline sequentially'));
292
284
  console.log(chalk.dim(' /squad-run-agents — Auto-run pipeline in parallel (agent mode)'));
293
285
  console.log(chalk.dim(''));
@@ -23,7 +23,6 @@ class CursorIntegration extends BaseIntegration {
23
23
  '.cursor/prompts/squad-dev.md',
24
24
  '.cursor/prompts/squad-test.md',
25
25
  '.cursor/prompts/squad-review.md',
26
- '.cursor/prompts/squad-batch.md',
27
26
  '.cursor/prompts/squad-run.md',
28
27
  '.cursor/prompts/ck.md',
29
28
  ];
@@ -236,13 +235,6 @@ Write and run tests against the PO's acceptance criteria.
236
235
  Read \`.contextkit/commands/squad-review.md\` and execute the review workflow.
237
236
 
238
237
  Review the full handoff (spec, plan, implementation, tests) and write the final verdict.
239
- `);
240
-
241
- await this.writeGeneratedFile('.cursor/prompts/squad-batch.md', `# Squad Batch — Multi-Task Kickoff
242
-
243
- Read \`.contextkit/commands/squad-batch.md\` and execute the batch kickoff workflow.
244
-
245
- Create handoff files for multiple tasks and write PO specs for each one. Pass all task descriptions as the input.
246
238
  `);
247
239
 
248
240
  await this.writeGeneratedFile('.cursor/prompts/squad-run.md', `# Squad Run — Auto-Run Pipeline
@@ -287,7 +279,6 @@ Check project setup, standards status, and integrations. Report what needs atten
287
279
  console.log(chalk.dim(' /squad-dev — Implement the code'));
288
280
  console.log(chalk.dim(' /squad-test — Write and run tests'));
289
281
  console.log(chalk.dim(' /squad-review — Review and write verdict'));
290
- console.log(chalk.dim(' /squad-batch — Batch kickoff: PO specs for multiple tasks'));
291
282
  console.log(chalk.dim(' /squad-run — Auto-run pipeline for batch tasks'));
292
283
  console.log(chalk.dim(''));
293
284
  console.log(chalk.dim(' Health check:'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nolrm/contextkit",
3
- "version": "0.12.10",
3
+ "version": "0.12.12",
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": {