@nolrm/contextkit 0.19.0 → 0.21.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 CHANGED
@@ -1,24 +1,31 @@
1
1
  # ContextKit
2
2
 
3
- > Context Engineering for AI Development
3
+ > Context Engineering + Agentic AI Pipelines
4
4
 
5
- Give your AI assistants (Cursor, Claude, Copilot, Codex, OpenCode, Gemini, Aider, Continue, Windsurf) structured context through markdown files. ContextKit creates a knowledge base that ensures AI generates code matching your exact patterns, style, and architecture—no more hallucinated code or mismatched conventions.
5
+ ContextKit gives your AI assistants (Cursor, Claude, Copilot, Codex, OpenCode, Gemini, Aider, Continue, Windsurf) structured context through markdown files—and gives you a multi-role autonomous pipeline (PO Architect Dev Test Review Doc) to execute work with those same agents. The context layer is what keeps the pipeline grounded: agents read your standards, so they never hallucinate your conventions.
6
6
 
7
- ContextKit is a CLI tool that provides **context-engineering** capabilities by creating `.contextkit/` directories with project standards, guidelines, and patterns that AI assistants read automatically.
7
+ ContextKit is a CLI tool with two capabilities: **context engineering** (`.contextkit/standards/` + platform bridge files so every AI tool reads your project conventions automatically) and **squad pipelines** (a six-role agentic workflow grounded by those same standards).
8
8
 
9
9
  **[Read the full documentation](https://contextkit-docs.vercel.app/)** · **[How context works](https://contextkit-docs.vercel.app/docs/how-context-works)**
10
10
 
11
11
  ## Why ContextKit?
12
12
 
13
- **The problem:** LLMs are great at syntax, not at _your_ conventions. Generic AI output requires manual fixes for style, structure, and architecture.
13
+ **The problem:** LLMs are good at syntax, not at _your_ conventions — and multi-agent pipelines amplify that. An autonomous dev agent that doesn't know your architecture, naming, or testing patterns will produce code you have to fully rewrite.
14
14
 
15
- **The solution:** ContextKit provides your AI with:
15
+ **The solution two pillars that reinforce each other:**
16
16
 
17
- - **Glossary** of project terminology and domain-specific terms (e.g., your entity, feature, and module names)
18
- - **Standards** for code style, testing patterns, and architecture
19
- - **Templates** with canonical component shapes
17
+ **Pillar 1: Context engineering**
18
+ - **Glossary** project terminology and domain-specific entity names
19
+ - **Standards** code style, testing patterns, architecture rules
20
+ - **Templates** — canonical component shapes
21
+ - **Platform bridges** — auto-generated `CLAUDE.md`, `AGENTS.md`, `.windsurfrules`, etc. so every AI tool reads the same context without manual setup
20
22
 
21
- Update `.md` files as your project evolves; the AI follows.
23
+ **Pillar 2: Agentic squad pipeline**
24
+ - A six-role pipeline (PO → Architect → Dev → Tester → Reviewer → Doc Writer) runs in a single AI session
25
+ - Each role reads the context layer before acting — no hallucinated conventions
26
+ - Run `/squad "add dark mode"` then `/squad-auto` and walk away
27
+
28
+ Update your `.md` standards as your project evolves; every agent that runs after picks up the change automatically.
22
29
 
23
30
  ## Multi-Platform Support
24
31
 
@@ -111,7 +118,6 @@ Each platform generates bridge files that the AI tool auto-reads. If a bridge fi
111
118
  ```
112
119
  /analyze # scan codebase and generate standards
113
120
  /review # code review with checklist
114
- /fix # diagnose and fix bugs
115
121
  ```
116
122
 
117
123
  **Claude Code** — `CLAUDE.md` uses `@` imports to auto-load all standards into context every session (no manual reads needed, saves tokens). Skills in `.claude/skills/`. Also writes a PostToolUse hook to `.claude/settings.json` that runs format+lint after every file edit — auto-detected for Node.js (npm/pnpm/yarn/bun), Go, and Python.
@@ -150,7 +156,6 @@ ContextKit installs reusable slash commands for supported platforms:
150
156
  | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
151
157
  | `/analyze` | Scan codebase and generate standards content |
152
158
  | `/review` | Code review with checklist |
153
- | `/fix` | Diagnose and fix bugs |
154
159
  | `/refactor` | Refactor code with safety checks |
155
160
  | `/test` | Generate comprehensive tests |
156
161
  | `/doc` | Add documentation |
@@ -899,10 +899,6 @@ Any design decisions, trade-offs, or open questions to resolve before coding.
899
899
  `${this.repoUrl}/commands/dev/review.md`,
900
900
  '.contextkit/commands/dev/review.md'
901
901
  );
902
- await this.downloadManager.downloadFile(
903
- `${this.repoUrl}/commands/dev/fix.md`,
904
- '.contextkit/commands/dev/fix.md'
905
- );
906
902
  await this.downloadManager.downloadFile(
907
903
  `${this.repoUrl}/commands/dev/refactor.md`,
908
904
  '.contextkit/commands/dev/refactor.md'
@@ -1150,7 +1146,6 @@ claude "read .contextkit/context.md to see available standards, then create a bu
1150
1146
  ### Commands
1151
1147
  - \`.contextkit/commands/dev/analyze.md\` - Analyze & customize standards
1152
1148
  - \`.contextkit/commands/dev/review.md\` - Code review
1153
- - \`.contextkit/commands/dev/fix.md\` - Diagnose and fix bugs
1154
1149
  - \`.contextkit/commands/dev/refactor.md\` - Refactor code structure
1155
1150
  - \`.contextkit/commands/dev/run-tests.md\` - Generate or run tests
1156
1151
  - \`.contextkit/commands/docs/add-documentation.md\` - Add documentation
@@ -1279,7 +1274,6 @@ esac
1279
1274
  commands: {
1280
1275
  analyze: '@.contextkit/commands/dev/analyze.md',
1281
1276
  review: '@.contextkit/commands/dev/review.md',
1282
- fix: '@.contextkit/commands/dev/fix.md',
1283
1277
  refactor: '@.contextkit/commands/dev/refactor.md',
1284
1278
  run_tests: '@.contextkit/commands/dev/run-tests.md',
1285
1279
  add_docs: '@.contextkit/commands/docs/add-documentation.md',
@@ -263,10 +263,6 @@ class UpdateCommand {
263
263
  `${this.repoUrl}/commands/dev/review.md`,
264
264
  '.contextkit/commands/dev/review.md'
265
265
  );
266
- await this.downloadManager.downloadFile(
267
- `${this.repoUrl}/commands/dev/fix.md`,
268
- '.contextkit/commands/dev/fix.md'
269
- );
270
266
  await this.downloadManager.downloadFile(
271
267
  `${this.repoUrl}/commands/dev/refactor.md`,
272
268
  '.contextkit/commands/dev/refactor.md'
@@ -502,7 +498,6 @@ paths:
502
498
  commands:
503
499
  analyze: "${config.commands?.analyze || '@.contextkit/commands/dev/analyze.md'}"
504
500
  review: "${config.commands?.review || '@.contextkit/commands/dev/review.md'}"
505
- fix: "${config.commands?.fix || '@.contextkit/commands/dev/fix.md'}"
506
501
  refactor: "${config.commands?.refactor || '@.contextkit/commands/dev/refactor.md'}"
507
502
  run_tests: "${config.commands?.run_tests || '@.contextkit/commands/dev/run-tests.md'}"
508
503
  add_docs: "${config.commands?.add_docs || '@.contextkit/commands/docs/add-documentation.md'}"
@@ -544,6 +539,8 @@ commands:
544
539
  '.contextkit/commands/analyze.md',
545
540
  '.contextkit/commands/review.md',
546
541
  '.contextkit/commands/fix.md',
542
+ // Removed in 0.20.0 — /fix replaced by /squad for bug workflows
543
+ '.contextkit/commands/dev/fix.md',
547
544
  '.contextkit/commands/refactor.md',
548
545
  '.contextkit/commands/run-tests.md',
549
546
  '.contextkit/commands/add-documentation.md',
@@ -13,7 +13,6 @@ class ClaudeIntegration extends BaseIntegration {
13
13
  '.claude/rules/contextkit-code-style.md',
14
14
  '.claude/skills/analyze/SKILL.md',
15
15
  '.claude/skills/review/SKILL.md',
16
- '.claude/skills/fix/SKILL.md',
17
16
  '.claude/skills/refactor/SKILL.md',
18
17
  '.claude/skills/test/SKILL.md',
19
18
  '.claude/skills/doc/SKILL.md',
@@ -87,7 +86,6 @@ class ClaudeIntegration extends BaseIntegration {
87
86
  // Migrated to .claude/skills/ in 0.15.0
88
87
  '.claude/commands/analyze.md',
89
88
  '.claude/commands/review.md',
90
- '.claude/commands/fix.md',
91
89
  '.claude/commands/refactor.md',
92
90
  '.claude/commands/test.md',
93
91
  '.claude/commands/doc.md',
@@ -252,21 +250,6 @@ Review current changes for correctness, standards compliance, and potential issu
252
250
  `
253
251
  );
254
252
 
255
- await this.writeGeneratedFile(
256
- '.claude/skills/fix/SKILL.md',
257
- `---
258
- description: Diagnose root cause and implement a minimal bug fix with regression test
259
- argument-hint: "<description of the bug>"
260
- allowed-tools: Read, Edit, Write, Glob, Grep, Bash
261
- effort: normal
262
- ---
263
-
264
- Read \`.contextkit/commands/dev/fix.md\` and execute the bug fix workflow.
265
-
266
- Diagnose the root cause, implement the minimal fix, and add a regression test.
267
- `
268
- );
269
-
270
253
  await this.writeGeneratedFile(
271
254
  '.claude/skills/refactor/SKILL.md',
272
255
  `---
@@ -612,7 +595,6 @@ Load and apply the project's ContextKit standards before taking action in an age
612
595
  console.log(chalk.dim(' Slash commands:'));
613
596
  console.log(chalk.dim(' /analyze — Analyze project and generate standards'));
614
597
  console.log(chalk.dim(' /review — Review current changes'));
615
- console.log(chalk.dim(' /fix — Diagnose and fix a bug'));
616
598
  console.log(chalk.dim(' /refactor — Refactor code structure'));
617
599
  console.log(chalk.dim(' /test — Generate or run tests'));
618
600
  console.log(chalk.dim(' /doc — Add documentation'));
@@ -14,7 +14,6 @@ class CursorIntegration extends BaseIntegration {
14
14
  '.cursor/rules/contextkit-api.mdc',
15
15
  '.cursor/prompts/analyze.md',
16
16
  '.cursor/prompts/review.md',
17
- '.cursor/prompts/fix.md',
18
17
  '.cursor/prompts/refactor.md',
19
18
  '.cursor/prompts/test.md',
20
19
  '.cursor/prompts/doc.md',
@@ -179,16 +178,6 @@ Review current changes for correctness, standards compliance, and potential issu
179
178
  `
180
179
  );
181
180
 
182
- await this.writeGeneratedFile(
183
- '.cursor/prompts/fix.md',
184
- `# Fix Bug
185
-
186
- Read \`.contextkit/commands/dev/fix.md\` and execute the bug fix workflow.
187
-
188
- Diagnose the root cause, implement the minimal fix, and add a regression test.
189
- `
190
- );
191
-
192
181
  await this.writeGeneratedFile(
193
182
  '.cursor/prompts/refactor.md',
194
183
  `# Refactor
@@ -309,7 +298,6 @@ Check project setup, standards status, and integrations. Report what needs atten
309
298
  console.log(chalk.dim(' Slash commands (in Cursor Chat):'));
310
299
  console.log(chalk.dim(' /analyze — Analyze project and generate standards'));
311
300
  console.log(chalk.dim(' /review — Review current changes'));
312
- console.log(chalk.dim(' /fix — Diagnose and fix a bug'));
313
301
  console.log(chalk.dim(' /refactor — Refactor code structure'));
314
302
  console.log(chalk.dim(' /test — Generate or run tests'));
315
303
  console.log(chalk.dim(' /doc — Add documentation'));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nolrm/contextkit",
3
- "version": "0.19.0",
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.",
3
+ "version": "0.21.0",
4
+ "description": "ContextKit - Context Engineering + Agentic AI Pipelines. Scaffold structured standards for AI assistants and run autonomous multi-role pipelines (PO Architect → Dev → Test → Review → Doc) grounded by that same context layer. Works with Cursor, Claude Code, Copilot, Codex, Gemini, Aider, and more.",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
7
7
  "contextkit": "bin/contextkit.js",
@@ -45,7 +45,14 @@
45
45
  "structured-context",
46
46
  "markdown-standards",
47
47
  "project-standards",
48
- "code-patterns"
48
+ "code-patterns",
49
+ "agentic-pipeline",
50
+ "agentic-ai",
51
+ "squad-workflow",
52
+ "ai-agents",
53
+ "autonomous-agents",
54
+ "multi-agent",
55
+ "claude-code"
49
56
  ],
50
57
  "author": {
51
58
  "name": "Marlon Maniti",