@specforge/mcp 2.1.6 → 2.3.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.
Files changed (177) hide show
  1. package/dist/cli/commands/blocked.js +6 -6
  2. package/dist/cli/commands/blocked.js.map +1 -1
  3. package/dist/cli/commands/debug/test.d.ts.map +1 -1
  4. package/dist/cli/commands/debug/test.js +4 -3
  5. package/dist/cli/commands/debug/test.js.map +1 -1
  6. package/dist/cli/commands/doctor.d.ts.map +1 -1
  7. package/dist/cli/commands/doctor.js +39 -23
  8. package/dist/cli/commands/doctor.js.map +1 -1
  9. package/dist/cli/commands/feedback.d.ts +16 -0
  10. package/dist/cli/commands/feedback.d.ts.map +1 -0
  11. package/dist/cli/commands/feedback.js +220 -0
  12. package/dist/cli/commands/feedback.js.map +1 -0
  13. package/dist/cli/commands/feedback.types.d.ts +116 -0
  14. package/dist/cli/commands/feedback.types.d.ts.map +1 -0
  15. package/dist/cli/commands/feedback.types.js +97 -0
  16. package/dist/cli/commands/feedback.types.js.map +1 -0
  17. package/dist/cli/commands/index.d.ts +1 -0
  18. package/dist/cli/commands/index.d.ts.map +1 -1
  19. package/dist/cli/commands/index.js +1 -0
  20. package/dist/cli/commands/index.js.map +1 -1
  21. package/dist/cli/commands/init.d.ts.map +1 -1
  22. package/dist/cli/commands/init.js +7 -3
  23. package/dist/cli/commands/init.js.map +1 -1
  24. package/dist/cli/commands/next.js +3 -3
  25. package/dist/cli/commands/next.js.map +1 -1
  26. package/dist/cli/commands/review/epic-review.js +2 -2
  27. package/dist/cli/commands/review/epic-review.js.map +1 -1
  28. package/dist/cli/commands/review/types.d.ts +1 -1
  29. package/dist/cli/commands/review/types.d.ts.map +1 -1
  30. package/dist/cli/commands/scaffold/agent-types.d.ts +49 -0
  31. package/dist/cli/commands/scaffold/agent-types.d.ts.map +1 -0
  32. package/dist/cli/commands/scaffold/agent-types.js +37 -0
  33. package/dist/cli/commands/scaffold/agent-types.js.map +1 -0
  34. package/dist/cli/commands/scaffold/display.d.ts +31 -2
  35. package/dist/cli/commands/scaffold/display.d.ts.map +1 -1
  36. package/dist/cli/commands/scaffold/display.js +176 -14
  37. package/dist/cli/commands/scaffold/display.js.map +1 -1
  38. package/dist/cli/commands/scaffold/register.d.ts.map +1 -1
  39. package/dist/cli/commands/scaffold/register.js +8 -4
  40. package/dist/cli/commands/scaffold/register.js.map +1 -1
  41. package/dist/cli/commands/scaffold/scaffold.d.ts +1 -1
  42. package/dist/cli/commands/scaffold/scaffold.d.ts.map +1 -1
  43. package/dist/cli/commands/scaffold/scaffold.js +522 -30
  44. package/dist/cli/commands/scaffold/scaffold.js.map +1 -1
  45. package/dist/cli/commands/scaffold/targets.d.ts +12 -0
  46. package/dist/cli/commands/scaffold/targets.d.ts.map +1 -1
  47. package/dist/cli/commands/scaffold/targets.js +33 -0
  48. package/dist/cli/commands/scaffold/targets.js.map +1 -1
  49. package/dist/cli/commands/scaffold/types.d.ts +34 -1
  50. package/dist/cli/commands/scaffold/types.d.ts.map +1 -1
  51. package/dist/cli/commands/scaffold/types.js.map +1 -1
  52. package/dist/cli/commands/scaffold/utils.d.ts +22 -1
  53. package/dist/cli/commands/scaffold/utils.d.ts.map +1 -1
  54. package/dist/cli/commands/scaffold/utils.js +106 -0
  55. package/dist/cli/commands/scaffold/utils.js.map +1 -1
  56. package/dist/cli/commands/session/start.js +1 -1
  57. package/dist/cli/commands/session/start.js.map +1 -1
  58. package/dist/cli/commands/status.types.d.ts +1 -1
  59. package/dist/cli/commands/status.types.d.ts.map +1 -1
  60. package/dist/cli/commands/status.types.js +2 -2
  61. package/dist/cli/commands/status.types.js.map +1 -1
  62. package/dist/cli/commands/ticket/resolver.js +1 -1
  63. package/dist/cli/commands/ticket/resolver.js.map +1 -1
  64. package/dist/cli/commands/tickets.js +1 -1
  65. package/dist/cli/commands/tickets.js.map +1 -1
  66. package/dist/cli/commands/tickets.types.d.ts +1 -1
  67. package/dist/cli/commands/tickets.types.d.ts.map +1 -1
  68. package/dist/cli/config/writer.d.ts +32 -13
  69. package/dist/cli/config/writer.d.ts.map +1 -1
  70. package/dist/cli/config/writer.js +30 -11
  71. package/dist/cli/config/writer.js.map +1 -1
  72. package/dist/cli/index.d.ts.map +1 -1
  73. package/dist/cli/index.js +3 -1
  74. package/dist/cli/index.js.map +1 -1
  75. package/dist/cli/templates/agents/content/core/sfag-implementer.d.ts +8 -0
  76. package/dist/cli/templates/agents/content/core/sfag-implementer.d.ts.map +1 -0
  77. package/dist/cli/templates/agents/content/core/sfag-implementer.js +111 -0
  78. package/dist/cli/templates/agents/content/core/sfag-implementer.js.map +1 -0
  79. package/dist/cli/templates/agents/content/core/sfag-orchestrator.d.ts +8 -0
  80. package/dist/cli/templates/agents/content/core/sfag-orchestrator.d.ts.map +1 -0
  81. package/dist/cli/templates/agents/content/core/sfag-orchestrator.js +105 -0
  82. package/dist/cli/templates/agents/content/core/sfag-orchestrator.js.map +1 -0
  83. package/dist/cli/templates/agents/content/core/sfag-spec-creator.d.ts +8 -0
  84. package/dist/cli/templates/agents/content/core/sfag-spec-creator.d.ts.map +1 -0
  85. package/dist/cli/templates/agents/content/core/sfag-spec-creator.js +124 -0
  86. package/dist/cli/templates/agents/content/core/sfag-spec-creator.js.map +1 -0
  87. package/dist/cli/templates/agents/content/core/sfag-ticket-implementer.d.ts +8 -0
  88. package/dist/cli/templates/agents/content/core/sfag-ticket-implementer.d.ts.map +1 -0
  89. package/dist/cli/templates/agents/content/core/sfag-ticket-implementer.js +130 -0
  90. package/dist/cli/templates/agents/content/core/sfag-ticket-implementer.js.map +1 -0
  91. package/dist/cli/templates/agents/content/research/sfag-package-researcher.d.ts +8 -0
  92. package/dist/cli/templates/agents/content/research/sfag-package-researcher.d.ts.map +1 -0
  93. package/dist/cli/templates/agents/content/research/sfag-package-researcher.js +151 -0
  94. package/dist/cli/templates/agents/content/research/sfag-package-researcher.js.map +1 -0
  95. package/dist/cli/templates/agents/content/task-type/sfag-api-implementer.d.ts +8 -0
  96. package/dist/cli/templates/agents/content/task-type/sfag-api-implementer.d.ts.map +1 -0
  97. package/dist/cli/templates/agents/content/task-type/sfag-api-implementer.js +130 -0
  98. package/dist/cli/templates/agents/content/task-type/sfag-api-implementer.js.map +1 -0
  99. package/dist/cli/templates/agents/content/task-type/sfag-docs-writer.d.ts +8 -0
  100. package/dist/cli/templates/agents/content/task-type/sfag-docs-writer.d.ts.map +1 -0
  101. package/dist/cli/templates/agents/content/task-type/sfag-docs-writer.js +181 -0
  102. package/dist/cli/templates/agents/content/task-type/sfag-docs-writer.js.map +1 -0
  103. package/dist/cli/templates/agents/content/task-type/sfag-frontend-builder.d.ts +8 -0
  104. package/dist/cli/templates/agents/content/task-type/sfag-frontend-builder.d.ts.map +1 -0
  105. package/dist/cli/templates/agents/content/task-type/sfag-frontend-builder.js +139 -0
  106. package/dist/cli/templates/agents/content/task-type/sfag-frontend-builder.js.map +1 -0
  107. package/dist/cli/templates/agents/content/task-type/sfag-infra-architect.d.ts +8 -0
  108. package/dist/cli/templates/agents/content/task-type/sfag-infra-architect.d.ts.map +1 -0
  109. package/dist/cli/templates/agents/content/task-type/sfag-infra-architect.js +147 -0
  110. package/dist/cli/templates/agents/content/task-type/sfag-infra-architect.js.map +1 -0
  111. package/dist/cli/templates/agents/content/task-type/sfag-schema-designer.d.ts +8 -0
  112. package/dist/cli/templates/agents/content/task-type/sfag-schema-designer.d.ts.map +1 -0
  113. package/dist/cli/templates/agents/content/task-type/sfag-schema-designer.js +130 -0
  114. package/dist/cli/templates/agents/content/task-type/sfag-schema-designer.js.map +1 -0
  115. package/dist/cli/templates/agents/content/task-type/sfag-test-writer.d.ts +8 -0
  116. package/dist/cli/templates/agents/content/task-type/sfag-test-writer.d.ts.map +1 -0
  117. package/dist/cli/templates/agents/content/task-type/sfag-test-writer.js +169 -0
  118. package/dist/cli/templates/agents/content/task-type/sfag-test-writer.js.map +1 -0
  119. package/dist/cli/templates/agents/index.d.ts +23 -0
  120. package/dist/cli/templates/agents/index.d.ts.map +1 -0
  121. package/dist/cli/templates/agents/index.js +63 -0
  122. package/dist/cli/templates/agents/index.js.map +1 -0
  123. package/dist/cli/templates/content/sf-create-epics.d.ts +1 -1
  124. package/dist/cli/templates/content/sf-create-epics.d.ts.map +1 -1
  125. package/dist/cli/templates/content/sf-create-epics.js +72 -13
  126. package/dist/cli/templates/content/sf-create-epics.js.map +1 -1
  127. package/dist/cli/templates/content/sf-create-spec.d.ts +1 -1
  128. package/dist/cli/templates/content/sf-create-spec.d.ts.map +1 -1
  129. package/dist/cli/templates/content/sf-create-spec.js +91 -22
  130. package/dist/cli/templates/content/sf-create-spec.js.map +1 -1
  131. package/dist/cli/templates/content/sf-create-tickets.d.ts +1 -1
  132. package/dist/cli/templates/content/sf-create-tickets.d.ts.map +1 -1
  133. package/dist/cli/templates/content/sf-create-tickets.js +90 -18
  134. package/dist/cli/templates/content/sf-create-tickets.js.map +1 -1
  135. package/dist/cli/templates/index.d.ts +2 -1
  136. package/dist/cli/templates/index.d.ts.map +1 -1
  137. package/dist/cli/templates/index.js +4 -1
  138. package/dist/cli/templates/index.js.map +1 -1
  139. package/dist/lib/index.d.ts +1 -0
  140. package/dist/lib/index.d.ts.map +1 -1
  141. package/dist/lib/index.js +1 -0
  142. package/dist/lib/index.js.map +1 -1
  143. package/dist/lib/workflow-definitions.d.ts +41 -0
  144. package/dist/lib/workflow-definitions.d.ts.map +1 -0
  145. package/dist/lib/workflow-definitions.js +511 -0
  146. package/dist/lib/workflow-definitions.js.map +1 -0
  147. package/dist/tools/core/bulk.d.ts.map +1 -1
  148. package/dist/tools/core/bulk.js +5 -30
  149. package/dist/tools/core/bulk.js.map +1 -1
  150. package/dist/tools/core/epic.d.ts.map +1 -1
  151. package/dist/tools/core/epic.js +95 -11
  152. package/dist/tools/core/epic.js.map +1 -1
  153. package/dist/tools/core/feedback.d.ts +110 -0
  154. package/dist/tools/core/feedback.d.ts.map +1 -0
  155. package/dist/tools/core/feedback.js +303 -0
  156. package/dist/tools/core/feedback.js.map +1 -0
  157. package/dist/tools/core/help.d.ts.map +1 -1
  158. package/dist/tools/core/help.js +17 -2
  159. package/dist/tools/core/help.js.map +1 -1
  160. package/dist/tools/core/index.d.ts +2 -0
  161. package/dist/tools/core/index.d.ts.map +1 -1
  162. package/dist/tools/core/index.js +2 -0
  163. package/dist/tools/core/index.js.map +1 -1
  164. package/dist/tools/core/specification.d.ts.map +1 -1
  165. package/dist/tools/core/specification.js +98 -9
  166. package/dist/tools/core/specification.js.map +1 -1
  167. package/dist/tools/core/ticket.d.ts.map +1 -1
  168. package/dist/tools/core/ticket.js +48 -11
  169. package/dist/tools/core/ticket.js.map +1 -1
  170. package/dist/tools/core/workflow-guide.d.ts +13 -0
  171. package/dist/tools/core/workflow-guide.d.ts.map +1 -0
  172. package/dist/tools/core/workflow-guide.js +332 -0
  173. package/dist/tools/core/workflow-guide.js.map +1 -0
  174. package/dist/tools/index.d.ts.map +1 -1
  175. package/dist/tools/index.js +131 -96
  176. package/dist/tools/index.js.map +1 -1
  177. package/package.json +1 -1
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Agent Templates Module
3
+ *
4
+ * Defines all SpecForge agent templates for scaffolding to AI CLI tools.
5
+ */
6
+ // Import core agents
7
+ import { SFAG_ORCHESTRATOR } from './content/core/sfag-orchestrator.js';
8
+ import { SFAG_IMPLEMENTER } from './content/core/sfag-implementer.js';
9
+ import { SFAG_SPEC_CREATOR } from './content/core/sfag-spec-creator.js';
10
+ import { SFAG_TICKET_IMPLEMENTER } from './content/core/sfag-ticket-implementer.js';
11
+ // Import task-type agents
12
+ import { SFAG_API_IMPLEMENTER } from './content/task-type/sfag-api-implementer.js';
13
+ import { SFAG_SCHEMA_DESIGNER } from './content/task-type/sfag-schema-designer.js';
14
+ import { SFAG_FRONTEND_BUILDER } from './content/task-type/sfag-frontend-builder.js';
15
+ import { SFAG_INFRA_ARCHITECT } from './content/task-type/sfag-infra-architect.js';
16
+ import { SFAG_TEST_WRITER } from './content/task-type/sfag-test-writer.js';
17
+ import { SFAG_DOCS_WRITER } from './content/task-type/sfag-docs-writer.js';
18
+ // Import research agents
19
+ import { SFAG_PACKAGE_RESEARCHER } from './content/research/sfag-package-researcher.js';
20
+ /**
21
+ * All agent templates
22
+ */
23
+ const AGENT_TEMPLATES = [
24
+ // Core agents
25
+ SFAG_ORCHESTRATOR,
26
+ SFAG_IMPLEMENTER,
27
+ SFAG_SPEC_CREATOR,
28
+ SFAG_TICKET_IMPLEMENTER,
29
+ // Task-type agents
30
+ SFAG_API_IMPLEMENTER,
31
+ SFAG_SCHEMA_DESIGNER,
32
+ SFAG_FRONTEND_BUILDER,
33
+ SFAG_INFRA_ARCHITECT,
34
+ SFAG_TEST_WRITER,
35
+ SFAG_DOCS_WRITER,
36
+ // Research agents
37
+ SFAG_PACKAGE_RESEARCHER,
38
+ ];
39
+ /**
40
+ * Get all agent templates
41
+ */
42
+ export function getAgentTemplates() {
43
+ return AGENT_TEMPLATES;
44
+ }
45
+ /**
46
+ * Get a specific agent template by name
47
+ */
48
+ export function getAgentTemplate(name) {
49
+ return AGENT_TEMPLATES.find(t => t.name === name);
50
+ }
51
+ /**
52
+ * Get agent templates by category
53
+ */
54
+ export function getAgentsByCategory(category) {
55
+ return AGENT_TEMPLATES.filter(t => t.category === category);
56
+ }
57
+ /**
58
+ * Get all agent template names
59
+ */
60
+ export function getAgentNames() {
61
+ return AGENT_TEMPLATES.map(t => t.name);
62
+ }
63
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/cli/templates/agents/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,qBAAqB;AACrB,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,0BAA0B;AAC1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAE3E,yBAAyB;AACzB,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AAExF;;GAEG;AACH,MAAM,eAAe,GAAoB;IACvC,cAAc;IACd,iBAAiB;IACjB,gBAAgB;IAChB,iBAAiB;IACjB,uBAAuB;IAEvB,mBAAmB;IACnB,oBAAoB;IACpB,oBAAoB;IACpB,qBAAqB;IACrB,oBAAoB;IACpB,gBAAgB;IAChB,gBAAgB;IAEhB,kBAAkB;IAClB,uBAAuB;CACxB,CAAC;AAEF;;GAEG;AACH,MAAM,UAAU,iBAAiB;IAC/B,OAAO,eAAe,CAAC;AACzB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAAC,IAAY;IAC3C,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;AACpD,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,mBAAmB,CAAC,QAAuB;IACzD,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC;AAC9D,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,aAAa;IAC3B,OAAO,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAC1C,CAAC"}
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * Template for creating epics with epic-level patterns from plan phases.
5
5
  */
6
- export declare const SF_CREATE_EPICS_CONTENT = "# Create Epics (SpecForge)\n\nCreate epics for a specification with patterns extracted from plan phases.\n\n## Arguments\n- `$ARGUMENTS` - Required: Specification ID\n\n## Task\n\n### 1. Get Specification\n\n**MCP Calls:**\n```typescript\nget_specification($ARGUMENTS)\n```\n\n### 2. Read Original Plan\n\n**Logic:**\n- Locate original plan file from specification metadata\n- Parse plan phases/sections\n- Extract epic-level descriptions\n- Identify patterns per epic\n\n### 3. Create Epics\n\n**MCP Calls:**\n```typescript\n// For each phase/section in plan\nfor (const phase of phases) {\n await create_epic({\n specificationId: $ARGUMENTS,\n title: phase.title,\n description: phase.description,\n patterns: phase.patterns,\n order: phase.order\n })\n}\n```\n\n### 4. Display Creation Results\n\n**Output:**\n```\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\nEPICS CREATED\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\nSpecification: {title}\n\nCREATED EPICS\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nE1 \u2502 {title} \u2502 {description}\nE2 \u2502 {title} \u2502 {description}\nE3 \u2502 {title} \u2502 {description}\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n\nNext: Run /sf-create-tickets <epic-id> for each epic\n```\n\n## Notes\n- Creates epic structure from plan phases\n- Preserves patterns for ticket creation\n- Use /sf-create-tickets for each epic\n";
6
+ export declare const SF_CREATE_EPICS_CONTENT = "# Create Epics (SpecForge)\n\nCreate epics for a specification with objectives extracted from plan phases.\n\n## Arguments\n- `$ARGUMENTS` - Required: Specification ID\n\n## Task\n\n### 1. Get Specification\n\n**MCP Calls:**\n```typescript\nspecification({\n operation: 'get',\n specificationId: $ARGUMENTS,\n include: ['epics', 'patterns'] // Get existing epics and inherited patterns\n})\n```\n\n### 2. Read Original Plan\n\n**Logic:**\n- Locate original plan file from specification metadata\n- Parse plan phases/sections\n- Extract epic-level titles, descriptions, and objectives\n- Identify epic-specific technical details\n\n### 3. Create Epics\n\n**MCP Calls:**\n```typescript\n// For each phase/section in plan\nfor (const phase of phases) {\n await epic({\n operation: 'create',\n\n // === REQUIRED ===\n specificationId: $ARGUMENTS,\n title: phase.title,\n description: phase.description,\n objective: phase.objective, // Clear goal statement\n\n // === CORE (recommended) ===\n content: phase.fullContent, // Full markdown content\n scope: phase.scope, // What's in/out of scope\n priority: 'high', // high | medium | low\n tags: ['phase1', 'backend'],\n estimatedHours: 40,\n\n // === PLANNING ===\n goals: ['Implement X', 'Enable Y'],\n acceptanceCriteria: ['Feature X works', 'Tests pass'],\n guardrails: ['Do NOT break existing API'],\n constraints: ['Must be backward compatible'],\n assumptions: ['Database schema is stable'],\n risks: ['May require migration'],\n\n // === TECHNICAL ===\n architecture: 'Service layer with repository pattern',\n fileStructure: 'src/services/\\n user.service.ts\\n auth.service.ts',\n techStack: ['typescript', 'prisma'],\n dependencies: ['zod', '@prisma/client'],\n apiContracts: { endpoints: [{ path: '/api/users', method: 'POST' }] },\n\n // === PATTERN OVERRIDES (override spec-level patterns) ===\n sharedPatterns: {\n errorHandling: 'Custom error handling for this epic',\n validation: 'Use zod schemas'\n },\n additionalImports: [\n \"import { z } from 'zod'\",\n \"import { PrismaClient } from '@prisma/client'\"\n ],\n commonFiles: {\n 'types.ts': 'Shared types for this epic',\n 'utils.ts': 'Epic-specific utilities'\n }\n })\n}\n```\n\n### 4. Display Creation Results\n\n**Output:**\n```\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\nEPICS CREATED\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\nSpecification: {title}\n\nCREATED EPICS\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nE1 \u2502 {title} \u2502 {objective}\nE2 \u2502 {title} \u2502 {objective}\nE3 \u2502 {title} \u2502 {objective}\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n\nNext: Run /sf-create-tickets <epic-id> for each epic\n```\n\n## Field Reference\n\n| Field | Required | Description |\n|-------|----------|-------------|\n| specificationId | \u2705 | Parent specification |\n| title | \u2705 | Epic title |\n| description | \u2705 | Epic description |\n| objective | \u2705 | Clear goal statement |\n| content | | Full markdown content |\n| scope | | In/out of scope |\n| goals | | Epic-specific goals |\n| guardrails | | What NOT to do |\n| architecture | | Epic-level design |\n| sharedPatterns | | Override spec patterns |\n| additionalImports | | Extra imports for tickets |\n\n## Notes\n- specificationId, title, description, and objective are required\n- sharedPatterns override specification-level patterns\n- additionalImports are added to spec-level commonImports\n- Use /sf-create-tickets for each epic after creation\n";
7
7
  //# sourceMappingURL=sf-create-epics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sf-create-epics.d.ts","sourceRoot":"","sources":["../../../../src/cli/templates/content/sf-create-epics.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,uBAAuB,m9EA+DnC,CAAC"}
1
+ {"version":3,"file":"sf-create-epics.d.ts","sourceRoot":"","sources":["../../../../src/cli/templates/content/sf-create-epics.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,uBAAuB,upJA0HnC,CAAC"}
@@ -5,7 +5,7 @@
5
5
  */
6
6
  export const SF_CREATE_EPICS_CONTENT = `# Create Epics (SpecForge)
7
7
 
8
- Create epics for a specification with patterns extracted from plan phases.
8
+ Create epics for a specification with objectives extracted from plan phases.
9
9
 
10
10
  ## Arguments
11
11
  - \`$ARGUMENTS\` - Required: Specification ID
@@ -16,7 +16,11 @@ Create epics for a specification with patterns extracted from plan phases.
16
16
 
17
17
  **MCP Calls:**
18
18
  \`\`\`typescript
19
- get_specification($ARGUMENTS)
19
+ specification({
20
+ operation: 'get',
21
+ specificationId: $ARGUMENTS,
22
+ include: ['epics', 'patterns'] // Get existing epics and inherited patterns
23
+ })
20
24
  \`\`\`
21
25
 
22
26
  ### 2. Read Original Plan
@@ -24,8 +28,8 @@ get_specification($ARGUMENTS)
24
28
  **Logic:**
25
29
  - Locate original plan file from specification metadata
26
30
  - Parse plan phases/sections
27
- - Extract epic-level descriptions
28
- - Identify patterns per epic
31
+ - Extract epic-level titles, descriptions, and objectives
32
+ - Identify epic-specific technical details
29
33
 
30
34
  ### 3. Create Epics
31
35
 
@@ -33,12 +37,50 @@ get_specification($ARGUMENTS)
33
37
  \`\`\`typescript
34
38
  // For each phase/section in plan
35
39
  for (const phase of phases) {
36
- await create_epic({
40
+ await epic({
41
+ operation: 'create',
42
+
43
+ // === REQUIRED ===
37
44
  specificationId: $ARGUMENTS,
38
45
  title: phase.title,
39
46
  description: phase.description,
40
- patterns: phase.patterns,
41
- order: phase.order
47
+ objective: phase.objective, // Clear goal statement
48
+
49
+ // === CORE (recommended) ===
50
+ content: phase.fullContent, // Full markdown content
51
+ scope: phase.scope, // What's in/out of scope
52
+ priority: 'high', // high | medium | low
53
+ tags: ['phase1', 'backend'],
54
+ estimatedHours: 40,
55
+
56
+ // === PLANNING ===
57
+ goals: ['Implement X', 'Enable Y'],
58
+ acceptanceCriteria: ['Feature X works', 'Tests pass'],
59
+ guardrails: ['Do NOT break existing API'],
60
+ constraints: ['Must be backward compatible'],
61
+ assumptions: ['Database schema is stable'],
62
+ risks: ['May require migration'],
63
+
64
+ // === TECHNICAL ===
65
+ architecture: 'Service layer with repository pattern',
66
+ fileStructure: 'src/services/\\n user.service.ts\\n auth.service.ts',
67
+ techStack: ['typescript', 'prisma'],
68
+ dependencies: ['zod', '@prisma/client'],
69
+ apiContracts: { endpoints: [{ path: '/api/users', method: 'POST' }] },
70
+
71
+ // === PATTERN OVERRIDES (override spec-level patterns) ===
72
+ sharedPatterns: {
73
+ errorHandling: 'Custom error handling for this epic',
74
+ validation: 'Use zod schemas'
75
+ },
76
+ additionalImports: [
77
+ "import { z } from 'zod'",
78
+ "import { PrismaClient } from '@prisma/client'"
79
+ ],
80
+ commonFiles: {
81
+ 'types.ts': 'Shared types for this epic',
82
+ 'utils.ts': 'Epic-specific utilities'
83
+ }
42
84
  })
43
85
  }
44
86
  \`\`\`
@@ -54,17 +96,34 @@ Specification: {title}
54
96
 
55
97
  CREATED EPICS
56
98
  ─────────────────────────────────────────────────────────────────
57
- E1 │ {title} │ {description}
58
- E2 │ {title} │ {description}
59
- E3 │ {title} │ {description}
99
+ E1 │ {title} │ {objective}
100
+ E2 │ {title} │ {objective}
101
+ E3 │ {title} │ {objective}
60
102
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
61
103
 
62
104
  Next: Run /sf-create-tickets <epic-id> for each epic
63
105
  \`\`\`
64
106
 
107
+ ## Field Reference
108
+
109
+ | Field | Required | Description |
110
+ |-------|----------|-------------|
111
+ | specificationId | ✅ | Parent specification |
112
+ | title | ✅ | Epic title |
113
+ | description | ✅ | Epic description |
114
+ | objective | ✅ | Clear goal statement |
115
+ | content | | Full markdown content |
116
+ | scope | | In/out of scope |
117
+ | goals | | Epic-specific goals |
118
+ | guardrails | | What NOT to do |
119
+ | architecture | | Epic-level design |
120
+ | sharedPatterns | | Override spec patterns |
121
+ | additionalImports | | Extra imports for tickets |
122
+
65
123
  ## Notes
66
- - Creates epic structure from plan phases
67
- - Preserves patterns for ticket creation
68
- - Use /sf-create-tickets for each epic
124
+ - specificationId, title, description, and objective are required
125
+ - sharedPatterns override specification-level patterns
126
+ - additionalImports are added to spec-level commonImports
127
+ - Use /sf-create-tickets for each epic after creation
69
128
  `;
70
129
  //# sourceMappingURL=sf-create-epics.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sf-create-epics.js","sourceRoot":"","sources":["../../../../src/cli/templates/content/sf-create-epics.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+DtC,CAAC"}
1
+ {"version":3,"file":"sf-create-epics.js","sourceRoot":"","sources":["../../../../src/cli/templates/content/sf-create-epics.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0HtC,CAAC"}
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * Template for creating a SpecForge specification with patterns from a plan.
5
5
  */
6
- export declare const SF_CREATE_SPEC_CONTENT = "# Create Specification (SpecForge)\n\nCreate a SpecForge specification structure with patterns extracted from a plan document.\n\n## Arguments\n- `$ARGUMENTS` - Required: Path to plan markdown file\n\n## Task\n\n### 1. Read and Analyze Plan\n\n**Logic:**\n- Read file at $ARGUMENTS\n- Extract specification metadata\n- Identify patterns and guardrails\n- Parse high-level structure\n- Extract success criteria\n\n### 2. Create Specification\n\n**MCP Calls:**\n```typescript\ncreate_specification({\n title: extractedTitle,\n description: extractedDescription,\n patterns: extractedPatterns,\n guardrails: extractedGuardrails,\n successCriteria: extractedCriteria\n})\n```\n\n### 3. Display Creation Results\n\n**Output:**\n```\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\nSPECIFICATION CREATED\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\nTitle: {title}\nID: {specificationId}\n\nEXTRACTED PATTERNS\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\u2022 {pattern1}\n\u2022 {pattern2}\n\u2022 {pattern3}\n\nGUARDRAILS\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\u2022 {guardrail1}\n\u2022 {guardrail2}\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n\nNext: Run /sf-create-epics {specificationId} to create epics\n```\n\n## Notes\n- Creates specification structure only\n- Extracts patterns for epic/ticket creation\n- Use /sf-create-epics to add epics\n";
6
+ export declare const SF_CREATE_SPEC_CONTENT = "# Create Specification (SpecForge)\n\nCreate a SpecForge specification structure with metadata extracted from a plan document.\n\n## Arguments\n- `$ARGUMENTS` - Required: Path to plan markdown file\n\n## Task\n\n### 1. Read and Analyze Plan\n\n**Logic:**\n- Read file at $ARGUMENTS\n- Extract specification title and description\n- Identify priority level (high/medium/low)\n- Parse tags from plan categories/themes\n- Extract goals, requirements, and constraints\n\n### 2. Create Specification\n\n**MCP Calls:**\n```typescript\nspecification({\n operation: 'create',\n\n // === REQUIRED ===\n projectId: currentProjectId,\n title: extractedTitle,\n\n // === CORE (recommended) ===\n description: shortSummary, // 2-3 sentence summary\n content: fullMarkdownContent, // Full markdown content\n background: problemContext, // Why this exists\n scope: scopeDefinition, // What's in/out of scope\n priority: 'high', // high | medium | low\n tags: ['feature', 'api'],\n estimatedHours: 40,\n targetAudience: 'developers',\n\n // === GOALS & REQUIREMENTS ===\n goals: ['Enable X', 'Improve Y'],\n requirements: ['Must do A', 'Must support B'],\n nonFunctionalRequirements: ['< 100ms latency', '99.9% uptime'],\n acceptanceCriteria: ['Users can X', 'System handles Y'],\n successMetrics: ['50% reduction in Z'],\n\n // === GUARDRAILS & RISKS ===\n guardrails: ['Do NOT modify X', 'Avoid pattern Y'],\n constraints: ['Must use existing auth', 'Budget limit'],\n assumptions: ['Users have Node 18+'],\n risks: ['Third-party API may change'],\n\n // === TECHNICAL ===\n architecture: 'Microservices with event-driven communication',\n fileStructure: 'src/\\n components/\\n services/\\n utils/',\n techStack: ['typescript', 'react', 'node'],\n dependencies: ['@aws-sdk/client-s3', 'zod'],\n apiContracts: { endpoints: [{ path: '/api/v1/users', method: 'GET' }] },\n\n // === PATTERN INHERITANCE (for epics/tickets) ===\n codeStandards: {\n errorHandling: 'Use Result<T, E> pattern',\n naming: 'camelCase for functions, PascalCase for types'\n },\n commonImports: [\n \"import { logger } from '@/lib/logger'\",\n \"import { db } from '@/lib/db'\"\n ],\n returnTypes: {\n success: '{ success: true, data: T }',\n error: '{ success: false, error: string }'\n },\n\n // === VALIDATION (for CI/CD) ===\n validationCommands: {\n test: 'npm test',\n lint: 'npm run lint',\n build: 'npm run build',\n typeCheck: 'npm run typecheck'\n },\n workingDirectory: './src',\n outputDirectory: './dist'\n})\n```\n\n### 3. Display Creation Results\n\n**Output:**\n```\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\nSPECIFICATION CREATED\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\nTitle: {title}\nID: {specificationId}\nPriority: {priority}\n\nDESCRIPTION\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n{description}\n\nTAGS\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n{tags}\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n\nNext: Run /sf-create-epics {specificationId} to create epics\n```\n\n## Field Reference\n\n| Field | Required | Description |\n|-------|----------|-------------|\n| projectId | \u2705 | Project to create spec in |\n| title | \u2705 | Specification title |\n| description | | Short summary |\n| content | | Full markdown content |\n| background | | Problem context |\n| scope | | In/out of scope |\n| goals | | Business objectives |\n| requirements | | Functional requirements |\n| guardrails | | What NOT to do |\n| architecture | | System design |\n| techStack | | Technologies used |\n| codeStandards | | Inherited by epics/tickets |\n\n## Notes\n- Only projectId and title are required\n- codeStandards, commonImports, returnTypes are inherited by child epics/tickets\n- Use /sf-create-epics to add epics after creation\n";
7
7
  //# sourceMappingURL=sf-create-spec.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sf-create-spec.d.ts","sourceRoot":"","sources":["../../../../src/cli/templates/content/sf-create-spec.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,sBAAsB,gxFA4DlC,CAAC"}
1
+ {"version":3,"file":"sf-create-spec.d.ts","sourceRoot":"","sources":["../../../../src/cli/templates/content/sf-create-spec.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,sBAAsB,wsKAiIlC,CAAC"}
@@ -5,7 +5,7 @@
5
5
  */
6
6
  export const SF_CREATE_SPEC_CONTENT = `# Create Specification (SpecForge)
7
7
 
8
- Create a SpecForge specification structure with patterns extracted from a plan document.
8
+ Create a SpecForge specification structure with metadata extracted from a plan document.
9
9
 
10
10
  ## Arguments
11
11
  - \`$ARGUMENTS\` - Required: Path to plan markdown file
@@ -16,21 +16,75 @@ Create a SpecForge specification structure with patterns extracted from a plan d
16
16
 
17
17
  **Logic:**
18
18
  - Read file at $ARGUMENTS
19
- - Extract specification metadata
20
- - Identify patterns and guardrails
21
- - Parse high-level structure
22
- - Extract success criteria
19
+ - Extract specification title and description
20
+ - Identify priority level (high/medium/low)
21
+ - Parse tags from plan categories/themes
22
+ - Extract goals, requirements, and constraints
23
23
 
24
24
  ### 2. Create Specification
25
25
 
26
26
  **MCP Calls:**
27
27
  \`\`\`typescript
28
- create_specification({
28
+ specification({
29
+ operation: 'create',
30
+
31
+ // === REQUIRED ===
32
+ projectId: currentProjectId,
29
33
  title: extractedTitle,
30
- description: extractedDescription,
31
- patterns: extractedPatterns,
32
- guardrails: extractedGuardrails,
33
- successCriteria: extractedCriteria
34
+
35
+ // === CORE (recommended) ===
36
+ description: shortSummary, // 2-3 sentence summary
37
+ content: fullMarkdownContent, // Full markdown content
38
+ background: problemContext, // Why this exists
39
+ scope: scopeDefinition, // What's in/out of scope
40
+ priority: 'high', // high | medium | low
41
+ tags: ['feature', 'api'],
42
+ estimatedHours: 40,
43
+ targetAudience: 'developers',
44
+
45
+ // === GOALS & REQUIREMENTS ===
46
+ goals: ['Enable X', 'Improve Y'],
47
+ requirements: ['Must do A', 'Must support B'],
48
+ nonFunctionalRequirements: ['< 100ms latency', '99.9% uptime'],
49
+ acceptanceCriteria: ['Users can X', 'System handles Y'],
50
+ successMetrics: ['50% reduction in Z'],
51
+
52
+ // === GUARDRAILS & RISKS ===
53
+ guardrails: ['Do NOT modify X', 'Avoid pattern Y'],
54
+ constraints: ['Must use existing auth', 'Budget limit'],
55
+ assumptions: ['Users have Node 18+'],
56
+ risks: ['Third-party API may change'],
57
+
58
+ // === TECHNICAL ===
59
+ architecture: 'Microservices with event-driven communication',
60
+ fileStructure: 'src/\\n components/\\n services/\\n utils/',
61
+ techStack: ['typescript', 'react', 'node'],
62
+ dependencies: ['@aws-sdk/client-s3', 'zod'],
63
+ apiContracts: { endpoints: [{ path: '/api/v1/users', method: 'GET' }] },
64
+
65
+ // === PATTERN INHERITANCE (for epics/tickets) ===
66
+ codeStandards: {
67
+ errorHandling: 'Use Result<T, E> pattern',
68
+ naming: 'camelCase for functions, PascalCase for types'
69
+ },
70
+ commonImports: [
71
+ "import { logger } from '@/lib/logger'",
72
+ "import { db } from '@/lib/db'"
73
+ ],
74
+ returnTypes: {
75
+ success: '{ success: true, data: T }',
76
+ error: '{ success: false, error: string }'
77
+ },
78
+
79
+ // === VALIDATION (for CI/CD) ===
80
+ validationCommands: {
81
+ test: 'npm test',
82
+ lint: 'npm run lint',
83
+ build: 'npm run build',
84
+ typeCheck: 'npm run typecheck'
85
+ },
86
+ workingDirectory: './src',
87
+ outputDirectory: './dist'
34
88
  })
35
89
  \`\`\`
36
90
 
@@ -41,27 +95,42 @@ create_specification({
41
95
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
42
96
  SPECIFICATION CREATED
43
97
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
44
- Title: {title}
45
- ID: {specificationId}
98
+ Title: {title}
99
+ ID: {specificationId}
100
+ Priority: {priority}
46
101
 
47
- EXTRACTED PATTERNS
102
+ DESCRIPTION
48
103
  ─────────────────────────────────────────────────────────────────
49
- {pattern1}
50
- • {pattern2}
51
- • {pattern3}
104
+ {description}
52
105
 
53
- GUARDRAILS
106
+ TAGS
54
107
  ─────────────────────────────────────────────────────────────────
55
- {guardrail1}
56
- • {guardrail2}
108
+ {tags}
57
109
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
58
110
 
59
111
  Next: Run /sf-create-epics {specificationId} to create epics
60
112
  \`\`\`
61
113
 
114
+ ## Field Reference
115
+
116
+ | Field | Required | Description |
117
+ |-------|----------|-------------|
118
+ | projectId | ✅ | Project to create spec in |
119
+ | title | ✅ | Specification title |
120
+ | description | | Short summary |
121
+ | content | | Full markdown content |
122
+ | background | | Problem context |
123
+ | scope | | In/out of scope |
124
+ | goals | | Business objectives |
125
+ | requirements | | Functional requirements |
126
+ | guardrails | | What NOT to do |
127
+ | architecture | | System design |
128
+ | techStack | | Technologies used |
129
+ | codeStandards | | Inherited by epics/tickets |
130
+
62
131
  ## Notes
63
- - Creates specification structure only
64
- - Extracts patterns for epic/ticket creation
65
- - Use /sf-create-epics to add epics
132
+ - Only projectId and title are required
133
+ - codeStandards, commonImports, returnTypes are inherited by child epics/tickets
134
+ - Use /sf-create-epics to add epics after creation
66
135
  `;
67
136
  //# sourceMappingURL=sf-create-spec.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sf-create-spec.js","sourceRoot":"","sources":["../../../../src/cli/templates/content/sf-create-spec.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DrC,CAAC"}
1
+ {"version":3,"file":"sf-create-spec.js","sourceRoot":"","sources":["../../../../src/cli/templates/content/sf-create-spec.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiIrC,CAAC"}
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * Template for creating detailed tickets individually with full implementation context.
5
5
  */
6
- export declare const SF_CREATE_TICKETS_CONTENT = "# Create Tickets (SpecForge)\n\nCreate detailed tickets for an epic with full implementation context.\n\n## Arguments\n- `$ARGUMENTS` - Required: Epic ID\n\n## Task\n\n### 1. Get Epic Context\n\n**MCP Calls:**\n```typescript\nget_epic($ARGUMENTS)\nget_specification(epic.specificationId)\n```\n\n### 2. Extract Ticket Definitions\n\n**Logic:**\n- Read epic description and patterns\n- Parse task breakdown\n- Extract dependencies\n- Generate acceptance criteria\n- Add implementation guidance\n\n### 3. Create Tickets\n\n**MCP Calls:**\n```typescript\n// For each task in epic\nfor (const task of tasks) {\n await create_ticket({\n epicId: $ARGUMENTS,\n title: task.title,\n description: task.description,\n acceptanceCriteria: task.criteria,\n dependencies: task.dependencies,\n implementationGuidance: task.guidance,\n estimatedComplexity: task.complexity\n })\n}\n```\n\n### 4. Display Creation Results\n\n**Output:**\n```\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\nTICKETS CREATED\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\nEpic: E{n} - {epicTitle}\n\nCREATED TICKETS\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nE{n}-T1 \u2502 {title} \u2502 {complexity}\nE{n}-T2 \u2502 {title} \u2502 {complexity} \u2502 Depends: E{n}-T1\nE{n}-T3 \u2502 {title} \u2502 {complexity}\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n\nTotal: {ticketCount} tickets created\n\nNext: Run /sf-status to see overall progress\n```\n\n## Notes\n- Creates tickets with full implementation details\n- Establishes dependency relationships\n- Use /sf-next to start implementation\n";
6
+ export declare const SF_CREATE_TICKETS_CONTENT = "# Create Tickets (SpecForge)\n\nCreate detailed tickets for an epic with full implementation context.\n\n## Arguments\n- `$ARGUMENTS` - Required: Epic ID\n\n## Task\n\n### 1. Get Epic Context\n\n**MCP Calls:**\n```typescript\nepic({\n operation: 'get',\n epicId: $ARGUMENTS,\n include: ['tickets', 'specification'] // Get existing tickets and parent spec\n})\n```\n\n### 2. Extract Ticket Definitions\n\n**Logic:**\n- Read epic description and objective\n- Parse task breakdown from epic content\n- Determine complexity and dependencies\n- Extract acceptance criteria for each ticket\n\n### 3. Create Tickets\n\n**MCP Calls:**\n```typescript\n// For each task in epic\nfor (const task of tasks) {\n await ticket({\n operation: 'create',\n\n // === REQUIRED ===\n epicId: $ARGUMENTS,\n title: task.title,\n\n // === CORE (recommended) ===\n description: task.description,\n priority: 'high', // high | medium | low\n complexity: 'medium', // small | medium | large | xlarge\n estimatedHours: 4,\n tags: ['feature', 'api'],\n notes: 'Watch out for edge case X', // Warnings, considerations\n\n // === ACCEPTANCE CRITERIA ===\n acceptanceCriteria: [\n 'Function returns correct result for valid input',\n 'Function throws error for invalid input',\n 'Unit tests cover all branches'\n ],\n\n // === IMPLEMENTATION GUIDANCE ===\n implementation: {\n filesToCreate: ['src/services/user.service.ts'],\n filesToModify: ['src/index.ts'],\n steps: [\n 'Create UserService class',\n 'Implement createUser method',\n 'Add validation with zod',\n 'Write unit tests'\n ],\n testing: 'Use vitest with mocked database'\n },\n technicalDetails: {\n approach: 'Repository pattern with dependency injection',\n stack: ['typescript', 'prisma', 'zod'],\n endpoints: ['/api/users POST'],\n databaseChanges: ['Add users table']\n },\n\n // === CODE REFERENCES ===\n codeReferences: [{\n name: 'createUser',\n language: 'typescript',\n code: `async function createUser(data: CreateUserInput): Promise<User> {\n const validated = createUserSchema.parse(data);\n return await db.user.create({ data: validated });\n}`\n }],\n typeReferences: [{\n name: 'CreateUserInput',\n definition: `interface CreateUserInput {\n email: string;\n name: string;\n role?: 'admin' | 'user';\n}`\n }],\n\n // === DEPENDENCIES ===\n dependsOn: ['ticket-id-1', 'ticket-id-2'] // Must complete these first\n })\n}\n```\n\n### 4. Display Creation Results\n\n**Output:**\n```\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\nTICKETS CREATED\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\nEpic: E{n} - {epicTitle}\n\nCREATED TICKETS\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nE{n}-T1 \u2502 {title} \u2502 {complexity} \u2502 ready\nE{n}-T2 \u2502 {title} \u2502 {complexity} \u2502 pending (depends on T1)\nE{n}-T3 \u2502 {title} \u2502 {complexity} \u2502 ready\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n\nTotal: {ticketCount} tickets created\n\nNext: Run /sf-status to see overall progress\n```\n\n## Field Reference\n\n| Field | Required | Description |\n|-------|----------|-------------|\n| epicId | \u2705 | Parent epic |\n| title | \u2705 | Ticket title |\n| description | | What to implement |\n| complexity | | small \\| medium \\| large \\| xlarge |\n| acceptanceCriteria | | Success criteria (array of strings) |\n| implementation | | Steps, files to create/modify |\n| technicalDetails | | Approach, stack, endpoints |\n| codeReferences | | Code snippets to guide implementation |\n| typeReferences | | Type definitions to implement |\n| dependsOn | | Ticket IDs that must complete first |\n| notes | | Warnings, edge cases, considerations |\n\n## Notes\n- Only epicId and title are required\n- Tickets with dependsOn start as 'pending', others as 'ready'\n- codeReferences and typeReferences provide implementation guidance\n- Use /sf-next to start working on ready tickets\n";
7
7
  //# sourceMappingURL=sf-create-tickets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sf-create-tickets.d.ts","sourceRoot":"","sources":["../../../../src/cli/templates/content/sf-create-tickets.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,yBAAyB,upFAqErC,CAAC"}
1
+ {"version":3,"file":"sf-create-tickets.d.ts","sourceRoot":"","sources":["../../../../src/cli/templates/content/sf-create-tickets.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,yBAAyB,4kKA6IrC,CAAC"}
@@ -16,18 +16,20 @@ Create detailed tickets for an epic with full implementation context.
16
16
 
17
17
  **MCP Calls:**
18
18
  \`\`\`typescript
19
- get_epic($ARGUMENTS)
20
- get_specification(epic.specificationId)
19
+ epic({
20
+ operation: 'get',
21
+ epicId: $ARGUMENTS,
22
+ include: ['tickets', 'specification'] // Get existing tickets and parent spec
23
+ })
21
24
  \`\`\`
22
25
 
23
26
  ### 2. Extract Ticket Definitions
24
27
 
25
28
  **Logic:**
26
- - Read epic description and patterns
27
- - Parse task breakdown
28
- - Extract dependencies
29
- - Generate acceptance criteria
30
- - Add implementation guidance
29
+ - Read epic description and objective
30
+ - Parse task breakdown from epic content
31
+ - Determine complexity and dependencies
32
+ - Extract acceptance criteria for each ticket
31
33
 
32
34
  ### 3. Create Tickets
33
35
 
@@ -35,14 +37,67 @@ get_specification(epic.specificationId)
35
37
  \`\`\`typescript
36
38
  // For each task in epic
37
39
  for (const task of tasks) {
38
- await create_ticket({
40
+ await ticket({
41
+ operation: 'create',
42
+
43
+ // === REQUIRED ===
39
44
  epicId: $ARGUMENTS,
40
45
  title: task.title,
46
+
47
+ // === CORE (recommended) ===
41
48
  description: task.description,
42
- acceptanceCriteria: task.criteria,
43
- dependencies: task.dependencies,
44
- implementationGuidance: task.guidance,
45
- estimatedComplexity: task.complexity
49
+ priority: 'high', // high | medium | low
50
+ complexity: 'medium', // small | medium | large | xlarge
51
+ estimatedHours: 4,
52
+ tags: ['feature', 'api'],
53
+ notes: 'Watch out for edge case X', // Warnings, considerations
54
+
55
+ // === ACCEPTANCE CRITERIA ===
56
+ acceptanceCriteria: [
57
+ 'Function returns correct result for valid input',
58
+ 'Function throws error for invalid input',
59
+ 'Unit tests cover all branches'
60
+ ],
61
+
62
+ // === IMPLEMENTATION GUIDANCE ===
63
+ implementation: {
64
+ filesToCreate: ['src/services/user.service.ts'],
65
+ filesToModify: ['src/index.ts'],
66
+ steps: [
67
+ 'Create UserService class',
68
+ 'Implement createUser method',
69
+ 'Add validation with zod',
70
+ 'Write unit tests'
71
+ ],
72
+ testing: 'Use vitest with mocked database'
73
+ },
74
+ technicalDetails: {
75
+ approach: 'Repository pattern with dependency injection',
76
+ stack: ['typescript', 'prisma', 'zod'],
77
+ endpoints: ['/api/users POST'],
78
+ databaseChanges: ['Add users table']
79
+ },
80
+
81
+ // === CODE REFERENCES ===
82
+ codeReferences: [{
83
+ name: 'createUser',
84
+ language: 'typescript',
85
+ code: \`async function createUser(data: CreateUserInput): Promise<User> {
86
+ const validated = createUserSchema.parse(data);
87
+ return await db.user.create({ data: validated });
88
+ }\`
89
+ }],
90
+ typeReferences: [{
91
+ name: 'CreateUserInput',
92
+ definition: \`interface CreateUserInput {
93
+ email: string;
94
+ name: string;
95
+ role?: 'admin' | 'user';
96
+ }\`
97
+ }],
98
+
99
+ // === DEPENDENCIES ===
100
+ dependsOn: ['ticket-id-1', 'ticket-id-2'] // Must complete these first
46
101
  })
47
102
  }
48
103
  \`\`\`
@@ -58,9 +113,9 @@ Epic: E{n} - {epicTitle}
58
113
 
59
114
  CREATED TICKETS
60
115
  ─────────────────────────────────────────────────────────────────
61
- E{n}-T1 │ {title} │ {complexity}
62
- E{n}-T2 │ {title} │ {complexity} │ Depends: E{n}-T1
63
- E{n}-T3 │ {title} │ {complexity}
116
+ E{n}-T1 │ {title} │ {complexity} │ ready
117
+ E{n}-T2 │ {title} │ {complexity} │ pending (depends on T1)
118
+ E{n}-T3 │ {title} │ {complexity} │ ready
64
119
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
65
120
 
66
121
  Total: {ticketCount} tickets created
@@ -68,9 +123,26 @@ Total: {ticketCount} tickets created
68
123
  Next: Run /sf-status to see overall progress
69
124
  \`\`\`
70
125
 
126
+ ## Field Reference
127
+
128
+ | Field | Required | Description |
129
+ |-------|----------|-------------|
130
+ | epicId | ✅ | Parent epic |
131
+ | title | ✅ | Ticket title |
132
+ | description | | What to implement |
133
+ | complexity | | small \\| medium \\| large \\| xlarge |
134
+ | acceptanceCriteria | | Success criteria (array of strings) |
135
+ | implementation | | Steps, files to create/modify |
136
+ | technicalDetails | | Approach, stack, endpoints |
137
+ | codeReferences | | Code snippets to guide implementation |
138
+ | typeReferences | | Type definitions to implement |
139
+ | dependsOn | | Ticket IDs that must complete first |
140
+ | notes | | Warnings, edge cases, considerations |
141
+
71
142
  ## Notes
72
- - Creates tickets with full implementation details
73
- - Establishes dependency relationships
74
- - Use /sf-next to start implementation
143
+ - Only epicId and title are required
144
+ - Tickets with dependsOn start as 'pending', others as 'ready'
145
+ - codeReferences and typeReferences provide implementation guidance
146
+ - Use /sf-next to start working on ready tickets
75
147
  `;
76
148
  //# sourceMappingURL=sf-create-tickets.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sf-create-tickets.js","sourceRoot":"","sources":["../../../../src/cli/templates/content/sf-create-tickets.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqExC,CAAC"}
1
+ {"version":3,"file":"sf-create-tickets.js","sourceRoot":"","sources":["../../../../src/cli/templates/content/sf-create-tickets.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6IxC,CAAC"}
@@ -1,7 +1,8 @@
1
1
  /**
2
2
  * Templates Module
3
3
  *
4
- * Exports all template functions for command scaffolding.
4
+ * Exports all template functions for command and agent scaffolding.
5
5
  */
6
6
  export { getCommandTemplates, getCommandTemplate, getCommandsByCategory } from './commands.js';
7
+ export { getAgentTemplates, getAgentTemplate, getAgentsByCategory, getAgentNames, } from './agents/index.js';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cli/templates/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cli/templates/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAG/F,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,aAAa,GACd,MAAM,mBAAmB,CAAC"}
@@ -1,7 +1,10 @@
1
1
  /**
2
2
  * Templates Module
3
3
  *
4
- * Exports all template functions for command scaffolding.
4
+ * Exports all template functions for command and agent scaffolding.
5
5
  */
6
+ // Command templates
6
7
  export { getCommandTemplates, getCommandTemplate, getCommandsByCategory } from './commands.js';
8
+ // Agent templates
9
+ export { getAgentTemplates, getAgentTemplate, getAgentsByCategory, getAgentNames, } from './agents/index.js';
7
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/cli/templates/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/cli/templates/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,oBAAoB;AACpB,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAE/F,kBAAkB;AAClB,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,aAAa,GACd,MAAM,mBAAmB,CAAC"}
@@ -4,4 +4,5 @@
4
4
  * Exports shared utility modules for the MCP server.
5
5
  */
6
6
  export { type OutputFormat, formatResponse, formatArrayResponse, formatErrorResponse, formatSuccessResponse, isValidFormat, getFormatFromArgs, } from './format.js';
7
+ export { type WorkflowStep, type WorkflowDefinition, type ReviewChecklistItem, type ReviewWorkflowDefinition, type FinalizeWorkflowDefinition, type WorkflowType, CREATION_WORKFLOW, IMPLEMENTATION_WORKFLOW, REVIEW_WORKFLOW, FINALIZE_WORKFLOW, WORKFLOW_TYPES, getWorkflowDefinition, } from './workflow-definitions.js';
7
8
  //# sourceMappingURL=index.d.ts.map