@nolrm/contextkit 1.0.1 → 1.0.3

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.
@@ -995,14 +995,6 @@ Any design decisions, trade-offs, or open questions to resolve before coding.
995
995
  `${this.repoUrl}/commands/spec/spec.md`,
996
996
  '.contextkit/commands/spec/spec.md'
997
997
  );
998
- await this.downloadManager.downloadFile(
999
- `${this.repoUrl}/commands/spec/spec-init.md`,
1000
- '.contextkit/commands/spec/spec-init.md'
1001
- );
1002
- await this.downloadManager.downloadFile(
1003
- `${this.repoUrl}/commands/spec/spec-brief.md`,
1004
- '.contextkit/commands/spec/spec-brief.md'
1005
- );
1006
998
  await this.downloadManager.downloadFile(
1007
999
  `${this.repoUrl}/commands/spec/spec-ux.md`,
1008
1000
  '.contextkit/commands/spec/spec-ux.md'
@@ -1019,14 +1011,6 @@ Any design decisions, trade-offs, or open questions to resolve before coding.
1019
1011
  `${this.repoUrl}/commands/spec/spec-planner.md`,
1020
1012
  '.contextkit/commands/spec/spec-planner.md'
1021
1013
  );
1022
- await this.downloadManager.downloadFile(
1023
- `${this.repoUrl}/commands/spec/spec-challenge.md`,
1024
- '.contextkit/commands/spec/spec-challenge.md'
1025
- );
1026
- await this.downloadManager.downloadFile(
1027
- `${this.repoUrl}/commands/spec/spec-author.md`,
1028
- '.contextkit/commands/spec/spec-author.md'
1029
- );
1030
1014
 
1031
1015
  // Download doc family commands
1032
1016
  await this.downloadManager.downloadFile(
@@ -347,14 +347,6 @@ class UpdateCommand {
347
347
  `${this.repoUrl}/commands/spec/spec.md`,
348
348
  '.contextkit/commands/spec/spec.md'
349
349
  );
350
- await this.downloadManager.downloadFile(
351
- `${this.repoUrl}/commands/spec/spec-init.md`,
352
- '.contextkit/commands/spec/spec-init.md'
353
- );
354
- await this.downloadManager.downloadFile(
355
- `${this.repoUrl}/commands/spec/spec-brief.md`,
356
- '.contextkit/commands/spec/spec-brief.md'
357
- );
358
350
  await this.downloadManager.downloadFile(
359
351
  `${this.repoUrl}/commands/spec/spec-ux.md`,
360
352
  '.contextkit/commands/spec/spec-ux.md'
@@ -371,14 +363,6 @@ class UpdateCommand {
371
363
  `${this.repoUrl}/commands/spec/spec-planner.md`,
372
364
  '.contextkit/commands/spec/spec-planner.md'
373
365
  );
374
- await this.downloadManager.downloadFile(
375
- `${this.repoUrl}/commands/spec/spec-challenge.md`,
376
- '.contextkit/commands/spec/spec-challenge.md'
377
- );
378
- await this.downloadManager.downloadFile(
379
- `${this.repoUrl}/commands/spec/spec-author.md`,
380
- '.contextkit/commands/spec/spec-author.md'
381
- );
382
366
 
383
367
  // Download doc family commands
384
368
  await this.downloadManager.downloadFile(
@@ -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/dev/spec.md\` and execute the spec workflow.
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 — Write a component spec before coding'));
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.1",
3
+ "version": "1.0.3",
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": {