@abranjith/spec-lite 0.0.4 → 0.0.6

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
@@ -80,7 +80,7 @@ This pulls the latest prompt versions while **preserving your Project Context ed
80
80
 
81
81
  | Provider | Flag | Files Written To | Format |
82
82
  |----------|------|-----------------|--------|
83
- | GitHub Copilot | `--ai copilot` | `.github/copilot/*.prompt.md` | Slash-command prompts |
83
+ | GitHub Copilot | `--ai copilot` | `.github/prompts/*.prompt.md` | Slash-command prompts |
84
84
  | Claude Code | `--ai claude-code` | `.claude/prompts/*.md` + `CLAUDE.md` | Markdown |
85
85
  | Generic | `--ai generic` | `.spec-lite/prompts/*.md` | Raw markdown (copy-paste) |
86
86
 
@@ -149,6 +149,7 @@ All sub-agents read `.spec-lite/memory.md` first for standing instructions, then
149
149
  | [technical_docs.md](prompts/technical_docs.md) | Technical Docs | Creates architecture docs, API references, setup guides | Technical documentation |
150
150
  | [readme.md](prompts/readme.md) | README | Writes the project README | `README.md` |
151
151
  | [memorize.md](prompts/memorize.md) | Memorize | Manages `.spec-lite/memory.md` — standing instructions for all agents. Use `/memorize bootstrap` to auto-generate. | `.spec-lite/memory.md` |
152
+ | [explore.md](prompts/explore.md) | Explore | Explores an unfamiliar codebase and documents architecture, patterns, and improvement areas. ⚠️ May consume many requests. | `README.md` + `TECH_SPECS.md` + `.spec-lite/memory.md` |
152
153
  | [orchestrator.md](prompts/orchestrator.md) | — | Meta-document: pipeline, memory protocol, conflict resolution | Reference only |
153
154
 
154
155
  ## Output Directory Structure
package/dist/index.js CHANGED
@@ -37,6 +37,11 @@ var AGENT_HANDOFFS = {
37
37
  agent: "spec.architect",
38
38
  prompt: "Create a detailed cloud and infrastructure architecture for the plan."
39
39
  },
40
+ {
41
+ label: "Design Data Model",
42
+ agent: "spec.data_modeller",
43
+ prompt: "Design a detailed data model based on the plan."
44
+ },
40
45
  {
41
46
  label: "Capture Conventions",
42
47
  agent: "spec.memorize",
@@ -49,6 +54,11 @@ var AGENT_HANDOFFS = {
49
54
  agent: "spec.feature",
50
55
  prompt: "Break the plan into individual feature specification files."
51
56
  },
57
+ {
58
+ label: "Design Data Model",
59
+ agent: "spec.data_modeller",
60
+ prompt: "Design a detailed data model based on the architecture."
61
+ },
52
62
  {
53
63
  label: "Set Up Infrastructure",
54
64
  agent: "spec.devops",
@@ -182,10 +192,20 @@ var AGENT_HANDOFFS = {
182
192
  agent: "spec.planner",
183
193
  prompt: "Create a technical plan for the project using the conventions captured in memory."
184
194
  },
195
+ {
196
+ label: "Design Data Model",
197
+ agent: "spec.data_modeller",
198
+ prompt: "Design a data model using the conventions captured in memory."
199
+ },
185
200
  {
186
201
  label: "Add Feature",
187
202
  agent: "spec.feature",
188
203
  prompt: "Define a feature specification using the conventions captured in memory."
204
+ },
205
+ {
206
+ label: "Explore Codebase",
207
+ agent: "spec.explore",
208
+ prompt: "Explore the codebase to discover conventions and document the architecture."
189
209
  }
190
210
  ],
191
211
  technical_docs: [
@@ -228,6 +248,57 @@ var AGENT_HANDOFFS = {
228
248
  agent: "spec.technical_docs",
229
249
  prompt: "Update the technical documentation to include the DevOps setup."
230
250
  }
251
+ ],
252
+ data_modeller: [
253
+ {
254
+ label: "Break Down Features",
255
+ agent: "spec.feature",
256
+ prompt: "Break down features using the data model as the authoritative schema reference."
257
+ },
258
+ {
259
+ label: "Implement Data Layer",
260
+ agent: "spec.implement",
261
+ prompt: "Implement the data layer (migrations, models, repositories) from the data model."
262
+ },
263
+ {
264
+ label: "Capture Conventions",
265
+ agent: "spec.memorize",
266
+ prompt: "Capture data modelling conventions in project memory."
267
+ }
268
+ ],
269
+ yolo: [
270
+ {
271
+ label: "Resume YOLO",
272
+ agent: "spec.yolo",
273
+ prompt: "Resume YOLO from where we left off."
274
+ },
275
+ {
276
+ label: "Check Pipeline Status",
277
+ agent: "spec.spec_help",
278
+ prompt: "Show me the current spec-lite pipeline status and available sub-agents."
279
+ }
280
+ ],
281
+ explore: [
282
+ {
283
+ label: "Capture Conventions",
284
+ agent: "spec.memorize",
285
+ prompt: "Refine the conventions discovered during exploration."
286
+ },
287
+ {
288
+ label: "Create Plan",
289
+ agent: "spec.planner",
290
+ prompt: "Create a technical plan based on the explored codebase."
291
+ },
292
+ {
293
+ label: "Code Review",
294
+ agent: "spec.code_review",
295
+ prompt: "Review the improvement areas identified during exploration."
296
+ },
297
+ {
298
+ label: "Security Audit",
299
+ agent: "spec.security_audit",
300
+ prompt: "Audit the security risks identified during exploration."
301
+ }
231
302
  ]
232
303
  };
233
304
  function buildAgentFrontmatter(meta) {
@@ -630,6 +701,21 @@ var PROMPT_CATALOG = {
630
701
  title: "Architect",
631
702
  description: "Designs cloud infrastructure, database strategy, and scaling architecture with Mermaid diagrams",
632
703
  output: ".spec-lite/architect_<name>.md"
704
+ },
705
+ data_modeller: {
706
+ title: "Data Modeller",
707
+ description: "Designs optimized relational data models with tables, relationships, indexes, and constraints",
708
+ output: ".spec-lite/data_model.md"
709
+ },
710
+ yolo: {
711
+ title: "YOLO",
712
+ description: "Autonomous end-to-end pipeline: plans \u2192 features \u2192 implement \u2192 reviews \u2192 integration tests \u2192 docs. WARNING: consumes many requests.",
713
+ output: "Working app + .spec-lite/yolo_state.md"
714
+ },
715
+ explore: {
716
+ title: "Explore",
717
+ description: "Explores an unfamiliar codebase and documents architecture, patterns, data model, features, and improvement areas. WARNING: may consume many requests on large codebases.",
718
+ output: "README.md + TECH_SPECS.md + .spec-lite/memory.md"
633
719
  }
634
720
  };
635
721
  var SKIP_FILES = /* @__PURE__ */ new Set(["orchestrator"]);
@@ -1120,10 +1206,10 @@ async function loadPackageVersion() {
1120
1206
  try {
1121
1207
  const { createRequire: createRequire2 } = await import("module");
1122
1208
  const require3 = createRequire2(import.meta.url);
1123
- const pkg2 = require3("../../package.json");
1209
+ const pkg2 = require3("../package.json");
1124
1210
  return pkg2.version;
1125
1211
  } catch {
1126
- return "0.0.4";
1212
+ return "unknown";
1127
1213
  }
1128
1214
  }
1129
1215
 
@@ -1256,7 +1342,7 @@ async function updateCommand(options) {
1256
1342
  try {
1257
1343
  const { createRequire: createRequire2 } = await import("module");
1258
1344
  const require3 = createRequire2(import.meta.url);
1259
- const pkg2 = require3("../../package.json");
1345
+ const pkg2 = require3("../package.json");
1260
1346
  config.version = pkg2.version;
1261
1347
  } catch {
1262
1348
  }