@nolrm/contextkit 1.0.1 → 1.0.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.
|
@@ -17,6 +17,8 @@ class CursorIntegration extends BaseIntegration {
|
|
|
17
17
|
'.cursor/prompts/refactor.md',
|
|
18
18
|
'.cursor/prompts/test.md',
|
|
19
19
|
'.cursor/prompts/doc.md',
|
|
20
|
+
'.cursor/prompts/spec.md',
|
|
21
|
+
'.cursor/prompts/spec-component.md',
|
|
20
22
|
'.cursor/prompts/squad.md',
|
|
21
23
|
'.cursor/prompts/squad-architect.md',
|
|
22
24
|
'.cursor/prompts/squad-dev.md',
|
|
@@ -132,7 +134,7 @@ Reference: @.contextkit/standards/code-style.md
|
|
|
132
134
|
## Commands
|
|
133
135
|
|
|
134
136
|
- @.contextkit/commands/dev/create-component.md — Create component workflow
|
|
135
|
-
- @.contextkit/commands/dev/spec.md — Write a component spec before coding
|
|
137
|
+
- @.contextkit/commands/dev/spec-component.md — Write a component spec before coding
|
|
136
138
|
`;
|
|
137
139
|
await this.writeGeneratedFile('.cursor/rules/contextkit-components.mdc', componentsRule);
|
|
138
140
|
|
|
@@ -273,7 +275,17 @@ Run after kickoff. Automatically runs architect → dev → test → review for
|
|
|
273
275
|
'.cursor/prompts/spec.md',
|
|
274
276
|
`# Spec
|
|
275
277
|
|
|
276
|
-
Read \`.contextkit/commands/
|
|
278
|
+
Read \`.contextkit/commands/spec/spec.md\` and execute the spec workflow.
|
|
279
|
+
|
|
280
|
+
Turn a product overview into an implementation-ready spec. Break the project into scopes, run the multi-round spec pipeline for the current scope, and continue scope-by-scope until the spec set is complete.
|
|
281
|
+
`
|
|
282
|
+
);
|
|
283
|
+
|
|
284
|
+
await this.writeGeneratedFile(
|
|
285
|
+
'.cursor/prompts/spec-component.md',
|
|
286
|
+
`# Spec Component
|
|
287
|
+
|
|
288
|
+
Read \`.contextkit/commands/dev/spec-component.md\` and execute the component spec workflow.
|
|
277
289
|
|
|
278
290
|
Write a component spec (MD-first) before any code is created. Scaffold the spec file colocated with the component and wait for review before coding begins.
|
|
279
291
|
`
|
|
@@ -301,7 +313,8 @@ Check project setup, standards status, and integrations. Report what needs atten
|
|
|
301
313
|
console.log(chalk.dim(' /refactor — Refactor code structure'));
|
|
302
314
|
console.log(chalk.dim(' /test — Generate or run tests'));
|
|
303
315
|
console.log(chalk.dim(' /doc — Add documentation'));
|
|
304
|
-
console.log(chalk.dim(' /spec —
|
|
316
|
+
console.log(chalk.dim(' /spec — Turn a product overview into a project spec'));
|
|
317
|
+
console.log(chalk.dim(' /spec-component — Write a component spec before coding'));
|
|
305
318
|
console.log(chalk.dim(''));
|
|
306
319
|
console.log(chalk.dim(' Squad (multi-agent workflow):'));
|
|
307
320
|
console.log(chalk.dim(' /squad "task" — Kickoff: create handoff + PO spec'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nolrm/contextkit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
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": {
|