@nolrm/contextkit 0.10.0 → 0.11.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/README.md +12 -1
- package/lib/commands/install.js +4 -0
- package/lib/commands/update.js +4 -0
- package/lib/integrations/claude-integration.js +11 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -161,7 +161,8 @@ ContextKit installs reusable slash commands for supported platforms:
|
|
|
161
161
|
| `/squad-test` | Write and run tests against acceptance criteria |
|
|
162
162
|
| `/squad-review` | Review the full pipeline and give a verdict |
|
|
163
163
|
| `/squad-batch` | Kick off multiple tasks at once (batch PO specs) |
|
|
164
|
-
| `/squad-run` | Auto-run the remaining pipeline for batch tasks |
|
|
164
|
+
| `/squad-run` | Auto-run the remaining pipeline for batch tasks (sequential) |
|
|
165
|
+
| `/squad-run-agents` | Auto-run the pipeline in parallel using Claude Code agents (Claude Code only) |
|
|
165
166
|
| `/ck` | Health check — verify setup, standards, and integrations |
|
|
166
167
|
|
|
167
168
|
**Claude Code** — available as `/analyze`, `/review`, etc. in `.claude/commands/`
|
|
@@ -207,6 +208,16 @@ For multiple tasks, use batch mode to spec them all up front, then run the full
|
|
|
207
208
|
# Runs Architect → Dev → Test → Review for each task sequentially
|
|
208
209
|
```
|
|
209
210
|
|
|
211
|
+
**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.
|
|
212
|
+
|
|
213
|
+
```bash
|
|
214
|
+
/squad-batch "add dark mode" "fix login bug" "refactor checkout"
|
|
215
|
+
|
|
216
|
+
/squad-run-agents
|
|
217
|
+
# Phase 1: architect agents for all 3 tasks run in parallel
|
|
218
|
+
# Phase 2: dev→test→review pipeline runs in parallel per task
|
|
219
|
+
```
|
|
220
|
+
|
|
210
221
|
### Feedback Loop
|
|
211
222
|
|
|
212
223
|
Any downstream role can raise questions for an upstream role. When this happens, the pipeline pauses and directs you to the right command:
|
package/lib/commands/install.js
CHANGED
|
@@ -597,6 +597,10 @@ Run \`ck analyze\` to generate this content, or manually add your API pattern be
|
|
|
597
597
|
`${this.repoUrl}/commands/squad-run.md`,
|
|
598
598
|
'.contextkit/commands/squad-run.md'
|
|
599
599
|
);
|
|
600
|
+
await this.downloadManager.downloadFile(
|
|
601
|
+
`${this.repoUrl}/commands/squad-run-agents.md`,
|
|
602
|
+
'.contextkit/commands/squad-run-agents.md'
|
|
603
|
+
);
|
|
600
604
|
|
|
601
605
|
// Download hooks (pre-push and commit-msg only, no pre-commit)
|
|
602
606
|
await this.downloadManager.downloadFile(
|
package/lib/commands/update.js
CHANGED
|
@@ -278,6 +278,10 @@ class UpdateCommand {
|
|
|
278
278
|
`${this.repoUrl}/commands/squad-run.md`,
|
|
279
279
|
'.contextkit/commands/squad-run.md'
|
|
280
280
|
);
|
|
281
|
+
await this.downloadManager.downloadFile(
|
|
282
|
+
`${this.repoUrl}/commands/squad-run-agents.md`,
|
|
283
|
+
'.contextkit/commands/squad-run-agents.md'
|
|
284
|
+
);
|
|
281
285
|
|
|
282
286
|
// Download hooks (pre-push and commit-msg only, no pre-commit)
|
|
283
287
|
await this.downloadManager.downloadFile(
|
|
@@ -24,6 +24,7 @@ class ClaudeIntegration extends BaseIntegration {
|
|
|
24
24
|
'.claude/commands/squad-review.md',
|
|
25
25
|
'.claude/commands/squad-batch.md',
|
|
26
26
|
'.claude/commands/squad-run.md',
|
|
27
|
+
'.claude/commands/squad-run-agents.md',
|
|
27
28
|
'.claude/commands/ck.md',
|
|
28
29
|
];
|
|
29
30
|
this.platformDir = '.claude/rules';
|
|
@@ -241,6 +242,13 @@ Create handoff files for multiple tasks and write PO specs for each one. Pass al
|
|
|
241
242
|
Read \`.contextkit/commands/squad-run.md\` and execute the pipeline runner workflow.
|
|
242
243
|
|
|
243
244
|
Process all batch tasks through the remaining pipeline steps (Architect, Dev, Test, Review) sequentially.
|
|
245
|
+
`);
|
|
246
|
+
|
|
247
|
+
await this.writeGeneratedFile('.claude/commands/squad-run-agents.md', `# Squad Run — Agent Mode (Parallel)
|
|
248
|
+
|
|
249
|
+
Read \`.contextkit/commands/squad-run-agents.md\` and execute the parallel pipeline workflow.
|
|
250
|
+
|
|
251
|
+
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.
|
|
244
252
|
`);
|
|
245
253
|
|
|
246
254
|
await this.writeGeneratedFile('.claude/commands/ck.md', `# ContextKit Health Check
|
|
@@ -271,8 +279,9 @@ Check project setup, standards status, and integrations. Report what needs atten
|
|
|
271
279
|
console.log(chalk.dim(' /squad-dev — Implement the code'));
|
|
272
280
|
console.log(chalk.dim(' /squad-test — Write and run tests'));
|
|
273
281
|
console.log(chalk.dim(' /squad-review — Review and write verdict'));
|
|
274
|
-
console.log(chalk.dim(' /squad-batch
|
|
275
|
-
console.log(chalk.dim(' /squad-run
|
|
282
|
+
console.log(chalk.dim(' /squad-batch — Batch kickoff: PO specs for multiple tasks'));
|
|
283
|
+
console.log(chalk.dim(' /squad-run — Auto-run pipeline sequentially'));
|
|
284
|
+
console.log(chalk.dim(' /squad-run-agents — Auto-run pipeline in parallel (agent mode)'));
|
|
276
285
|
console.log(chalk.dim(''));
|
|
277
286
|
console.log(chalk.dim(' Health check:'));
|
|
278
287
|
console.log(chalk.dim(' /ck — Check project setup and standards status'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nolrm/contextkit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
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": {
|