@nolrm/contextkit 0.13.0 → 0.13.2
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 +3 -3
- package/lib/commands/install.js +1 -2
- package/lib/utils/tool-detector.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -143,7 +143,7 @@ ContextKit installs reusable slash commands for supported platforms:
|
|
|
143
143
|
| `/test` | Generate comprehensive tests |
|
|
144
144
|
| `/doc` | Add documentation |
|
|
145
145
|
| `/spec` | Write a component spec (MD-first) before any code is created |
|
|
146
|
-
| `/squad` | Kick off a squad task — one task or many (auto-detects batch mode) |
|
|
146
|
+
| `/squad` | Kick off a squad task — one task or many (auto-detects batch mode). Pushes back with clarifying questions if the task is vague. |
|
|
147
147
|
| `/squad-architect` | Design the technical plan from the PO spec |
|
|
148
148
|
| `/squad-dev` | Implement code following the architect plan |
|
|
149
149
|
| `/squad-test` | Write and run tests against acceptance criteria |
|
|
@@ -168,7 +168,7 @@ The squad workflow turns a single AI session into a structured multi-role pipeli
|
|
|
168
168
|
|
|
169
169
|
| Step | Role | Command | What it does |
|
|
170
170
|
|------|------|---------|-------------|
|
|
171
|
-
| 1 | Product Owner | `/squad` | Writes a user story, acceptance criteria, edge cases, and scope. Optionally captures screenshots/images as visual assets. |
|
|
171
|
+
| 1 | Product Owner | `/squad` | Writes a user story, acceptance criteria, edge cases, and scope. If the task is ambiguous, asks up to 5 clarifying questions before writing the spec. Optionally captures screenshots/images as visual assets. |
|
|
172
172
|
| 2 | Architect | `/squad-architect` | Designs the technical approach, files to change, and implementation steps |
|
|
173
173
|
| 3 | Developer | `/squad-dev` | Implements the code following the architect's plan |
|
|
174
174
|
| 4 | Tester | `/squad-test` | Writes and runs tests against the PO's acceptance criteria |
|
|
@@ -270,7 +270,7 @@ When the `commit-msg` hook is enabled, all commits must follow this format:
|
|
|
270
270
|
<type>(<scope>): <description>
|
|
271
271
|
```
|
|
272
272
|
|
|
273
|
-
**Types:** `feat`, `fix`, `improve`, `docs`, `
|
|
273
|
+
**Types:** `feat`, `fix`, `improve`, `docs`, `refactor`, `test`, `chore`
|
|
274
274
|
|
|
275
275
|
**Examples:**
|
|
276
276
|
```bash
|
package/lib/commands/install.js
CHANGED
|
@@ -1622,7 +1622,6 @@ enforcement:
|
|
|
1622
1622
|
console.log(chalk.bold('📖 Quick Reference'));
|
|
1623
1623
|
console.log(''.padEnd(48, '─'));
|
|
1624
1624
|
console.log(`ck status → Check installation & integrations`);
|
|
1625
|
-
console.log(`ck ai <cmd> → Use AI with project context`);
|
|
1626
1625
|
console.log(`ck <platform> → Add platform (claude, cursor, copilot, codex, opencode, gemini, aider, continue, windsurf)`);
|
|
1627
1626
|
console.log('');
|
|
1628
1627
|
console.log(`Docs → ${chalk.blue('https://contextkit-docs.vercel.app')}`);
|
|
@@ -1668,7 +1667,7 @@ enforcement:
|
|
|
1668
1667
|
}
|
|
1669
1668
|
|
|
1670
1669
|
console.log(chalk.bold('In CLI'));
|
|
1671
|
-
console.log(
|
|
1670
|
+
console.log(chalk.dim('Use your AI tool\'s slash command, e.g. /analyze or @.contextkit/commands/create-component.md'));
|
|
1672
1671
|
console.log('');
|
|
1673
1672
|
|
|
1674
1673
|
if (platform === 'claude' || platform === 'gemini') {
|
|
@@ -29,6 +29,7 @@ class ToolDetector {
|
|
|
29
29
|
claude_cli: await this.detectCLITool('claude'),
|
|
30
30
|
gemini_cli: await this.detectCLITool('gemini'),
|
|
31
31
|
codex_cli: await this.detectCLITool('codex'),
|
|
32
|
+
opencode_cli: await this.detectCLITool('opencode'),
|
|
32
33
|
};
|
|
33
34
|
|
|
34
35
|
return this.detectedTools;
|
|
@@ -120,6 +121,7 @@ class ToolDetector {
|
|
|
120
121
|
'claude_cli', // Good CLI
|
|
121
122
|
'gemini_cli', // Alternative CLI
|
|
122
123
|
'codex_cli', // OpenAI Codex CLI
|
|
124
|
+
'opencode_cli', // OpenCode CLI
|
|
123
125
|
];
|
|
124
126
|
|
|
125
127
|
return priority.filter(tool => detected[tool]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nolrm/contextkit",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
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": {
|