specsmd 0.0.1

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 (83) hide show
  1. package/README.md +300 -0
  2. package/bin/cli.js +21 -0
  3. package/flows/aidlc/README.md +372 -0
  4. package/flows/aidlc/agents/construction-agent.md +81 -0
  5. package/flows/aidlc/agents/inception-agent.md +95 -0
  6. package/flows/aidlc/agents/master-agent.md +61 -0
  7. package/flows/aidlc/agents/operations-agent.md +89 -0
  8. package/flows/aidlc/commands/construction-agent.md +63 -0
  9. package/flows/aidlc/commands/inception-agent.md +55 -0
  10. package/flows/aidlc/commands/master-agent.md +47 -0
  11. package/flows/aidlc/commands/operations-agent.md +77 -0
  12. package/flows/aidlc/context-config.yaml +41 -0
  13. package/flows/aidlc/memory-bank.yaml +104 -0
  14. package/flows/aidlc/quick-start.md +315 -0
  15. package/flows/aidlc/skills/construction/bolt-list.md +163 -0
  16. package/flows/aidlc/skills/construction/bolt-replan.md +343 -0
  17. package/flows/aidlc/skills/construction/bolt-start.md +289 -0
  18. package/flows/aidlc/skills/construction/bolt-status.md +185 -0
  19. package/flows/aidlc/skills/construction/navigator.md +196 -0
  20. package/flows/aidlc/skills/inception/bolt-plan.md +338 -0
  21. package/flows/aidlc/skills/inception/context.md +171 -0
  22. package/flows/aidlc/skills/inception/intent-create.md +211 -0
  23. package/flows/aidlc/skills/inception/intent-list.md +124 -0
  24. package/flows/aidlc/skills/inception/navigator.md +207 -0
  25. package/flows/aidlc/skills/inception/requirements.md +227 -0
  26. package/flows/aidlc/skills/inception/review.md +248 -0
  27. package/flows/aidlc/skills/inception/story-create.md +304 -0
  28. package/flows/aidlc/skills/inception/units.md +271 -0
  29. package/flows/aidlc/skills/master/analyze-context.md +132 -0
  30. package/flows/aidlc/skills/master/answer-question.md +141 -0
  31. package/flows/aidlc/skills/master/explain-flow.md +146 -0
  32. package/flows/aidlc/skills/master/project-init.md +281 -0
  33. package/flows/aidlc/skills/master/route-request.md +126 -0
  34. package/flows/aidlc/skills/operations/build.md +237 -0
  35. package/flows/aidlc/skills/operations/deploy.md +259 -0
  36. package/flows/aidlc/skills/operations/monitor.md +265 -0
  37. package/flows/aidlc/skills/operations/navigator.md +209 -0
  38. package/flows/aidlc/skills/operations/verify.md +224 -0
  39. package/flows/aidlc/templates/construction/bolt-template.md +193 -0
  40. package/flows/aidlc/templates/construction/bolt-types/bdd-construction-bolt.md +250 -0
  41. package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt/adr-template.md +49 -0
  42. package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt/ddd-01-domain-model-template.md +55 -0
  43. package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt/ddd-02-technical-design-template.md +67 -0
  44. package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt/ddd-03-test-report-template.md +62 -0
  45. package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt.md +528 -0
  46. package/flows/aidlc/templates/construction/bolt-types/simple-construction-bolt.md +273 -0
  47. package/flows/aidlc/templates/construction/bolt-types/spike-bolt.md +240 -0
  48. package/flows/aidlc/templates/construction/bolt-types/tdd-construction-bolt.md +259 -0
  49. package/flows/aidlc/templates/construction/construction-log-template.md +129 -0
  50. package/flows/aidlc/templates/construction/standards/coding-standards.md +29 -0
  51. package/flows/aidlc/templates/construction/standards/system-architecture.md +22 -0
  52. package/flows/aidlc/templates/construction/standards/tech-stack.md +19 -0
  53. package/flows/aidlc/templates/inception/inception-log-template.md +134 -0
  54. package/flows/aidlc/templates/inception/project/README.md +55 -0
  55. package/flows/aidlc/templates/inception/requirements-template.md +144 -0
  56. package/flows/aidlc/templates/inception/stories-template.md +38 -0
  57. package/flows/aidlc/templates/inception/story-template.md +147 -0
  58. package/flows/aidlc/templates/inception/system-context-template.md +29 -0
  59. package/flows/aidlc/templates/inception/unit-brief-template.md +177 -0
  60. package/flows/aidlc/templates/inception/units-template.md +52 -0
  61. package/flows/aidlc/templates/standards/catalog.yaml +345 -0
  62. package/flows/aidlc/templates/standards/coding-standards.guide.md +553 -0
  63. package/flows/aidlc/templates/standards/data-stack.guide.md +162 -0
  64. package/flows/aidlc/templates/standards/tech-stack.guide.md +280 -0
  65. package/lib/InstallerFactory.js +36 -0
  66. package/lib/cli-utils.js +372 -0
  67. package/lib/constants.js +31 -0
  68. package/lib/installer.js +314 -0
  69. package/lib/installers/AntigravityInstaller.js +22 -0
  70. package/lib/installers/ClaudeInstaller.js +85 -0
  71. package/lib/installers/ClineInstaller.js +21 -0
  72. package/lib/installers/CodexInstaller.js +21 -0
  73. package/lib/installers/CopilotInstaller.js +113 -0
  74. package/lib/installers/CursorInstaller.js +63 -0
  75. package/lib/installers/GeminiInstaller.js +75 -0
  76. package/lib/installers/KiroInstaller.js +22 -0
  77. package/lib/installers/OpenCodeInstaller.js +22 -0
  78. package/lib/installers/RooInstaller.js +22 -0
  79. package/lib/installers/ToolInstaller.js +73 -0
  80. package/lib/installers/WindsurfInstaller.js +76 -0
  81. package/lib/markdown-validator.ts +175 -0
  82. package/lib/yaml-validator.ts +99 -0
  83. package/package.json +65 -0
@@ -0,0 +1,345 @@
1
+ # Standards Catalog
2
+ # Defines what standards exist, their decisions, and relationships.
3
+ # Each standard has a facilitation guide in templates/standards/
4
+
5
+ standards:
6
+ tech-stack:
7
+ description: Core technology choices for the project
8
+ facilitation: templates/standards/tech-stack.guide.md
9
+ output_path: standards/tech-stack.md
10
+ importance: critical
11
+ sections:
12
+ - header: Overview
13
+ type: static
14
+ content: "Core technology decisions for this project."
15
+ - type: from_decisions
16
+ decisions:
17
+ - id: languages
18
+ display_name: Languages
19
+ category: core
20
+ importance: critical
21
+ depends_on: []
22
+
23
+ - id: framework
24
+ display_name: Framework
25
+ category: core
26
+ importance: critical
27
+ depends_on: [languages]
28
+
29
+ - id: authentication
30
+ display_name: Authentication
31
+ category: security
32
+ importance: high
33
+ optional: true
34
+ depends_on: [framework]
35
+
36
+ - id: infrastructure
37
+ display_name: Infrastructure & Deployment
38
+ category: deployment
39
+ importance: high
40
+ depends_on: [framework]
41
+
42
+ - id: package_manager
43
+ display_name: Package Manager
44
+ category: tooling
45
+ importance: medium
46
+ depends_on: [languages]
47
+
48
+ data-stack:
49
+ description: Database and data persistence choices
50
+ facilitation: templates/standards/data-stack.guide.md
51
+ output_path: standards/data-stack.md
52
+ importance: high
53
+ depends_on_standards: [tech-stack]
54
+ sections:
55
+ - header: Overview
56
+ type: static
57
+ content: "Database and data persistence decisions for this project."
58
+ - type: from_decisions
59
+ decisions:
60
+ - id: database
61
+ display_name: Database
62
+ category: data
63
+ importance: high
64
+ depends_on: []
65
+
66
+ - id: orm
67
+ display_name: ORM / Database Client
68
+ category: data
69
+ importance: medium
70
+ depends_on: [database]
71
+
72
+ coding-standards:
73
+ description: Code style, patterns, and quality standards
74
+ facilitation: templates/standards/coding-standards.guide.md
75
+ output_path: standards/coding-standards.md
76
+ importance: critical
77
+ depends_on_standards: [tech-stack]
78
+ sections:
79
+ - header: Overview
80
+ type: static
81
+ content: "Code style and quality standards for this project."
82
+ - type: from_decisions
83
+ decisions:
84
+ - id: formatting
85
+ display_name: Code Formatting
86
+ category: style
87
+ importance: high
88
+ depends_on: []
89
+
90
+ - id: linting
91
+ display_name: Linting Rules
92
+ category: quality
93
+ importance: high
94
+ depends_on: []
95
+
96
+ - id: naming_conventions
97
+ display_name: Naming Conventions
98
+ category: style
99
+ importance: high
100
+ depends_on: []
101
+
102
+ - id: file_organization
103
+ display_name: File & Folder Organization
104
+ category: structure
105
+ importance: high
106
+ depends_on: []
107
+
108
+ - id: testing_strategy
109
+ display_name: Testing Strategy
110
+ category: quality
111
+ importance: critical
112
+ depends_on: []
113
+
114
+ - id: error_handling
115
+ display_name: Error Handling Patterns
116
+ category: patterns
117
+ importance: high
118
+ depends_on: []
119
+
120
+ - id: logging
121
+ display_name: Logging Standards
122
+ category: observability
123
+ importance: medium
124
+ depends_on: []
125
+
126
+ system-architecture:
127
+ description: High-level system design and architectural patterns
128
+ facilitation: templates/standards/system-architecture.guide.md
129
+ output_path: standards/system-architecture.md
130
+ importance: high
131
+ optional: true
132
+ depends_on_standards: [tech-stack]
133
+ sections:
134
+ - header: Overview
135
+ type: static
136
+ content: "High-level architectural decisions and patterns."
137
+ - type: from_decisions
138
+ decisions:
139
+ - id: architecture_style
140
+ display_name: Architecture Style
141
+ category: structure
142
+ importance: critical
143
+ depends_on: []
144
+
145
+ - id: api_design
146
+ display_name: API Design
147
+ category: communication
148
+ importance: high
149
+ optional: true
150
+ depends_on: []
151
+
152
+ - id: state_management
153
+ display_name: State Management
154
+ category: data
155
+ importance: high
156
+ optional: true
157
+ depends_on: []
158
+
159
+ - id: caching_strategy
160
+ display_name: Caching Strategy
161
+ category: performance
162
+ importance: medium
163
+ optional: true
164
+ depends_on: []
165
+
166
+ - id: security_patterns
167
+ display_name: Security Patterns
168
+ category: security
169
+ importance: high
170
+ depends_on: []
171
+
172
+ ux-guide:
173
+ description: UI/UX patterns and design system choices
174
+ facilitation: templates/standards/ux-guide.guide.md
175
+ output_path: standards/ux-guide.md
176
+ importance: medium
177
+ optional: true
178
+ depends_on_standards: [tech-stack]
179
+ sections:
180
+ - header: Overview
181
+ type: static
182
+ content: "UI/UX standards and design system choices."
183
+ - type: from_decisions
184
+ decisions:
185
+ - id: design_system
186
+ display_name: Design System / Component Library
187
+ category: ui
188
+ importance: high
189
+ depends_on: []
190
+
191
+ - id: styling_approach
192
+ display_name: Styling Approach
193
+ category: ui
194
+ importance: high
195
+ depends_on: []
196
+
197
+ - id: accessibility
198
+ display_name: Accessibility Standards
199
+ category: compliance
200
+ importance: high
201
+ depends_on: []
202
+
203
+ - id: responsive_strategy
204
+ display_name: Responsive Design Strategy
205
+ category: ui
206
+ importance: medium
207
+ depends_on: []
208
+
209
+ api-conventions:
210
+ description: API design conventions and standards
211
+ facilitation: templates/standards/api-conventions.guide.md
212
+ output_path: standards/api-conventions.md
213
+ importance: medium
214
+ optional: true
215
+ depends_on_standards: [tech-stack]
216
+ sections:
217
+ - header: Overview
218
+ type: static
219
+ content: "API design conventions and response formats."
220
+ - type: from_decisions
221
+ decisions:
222
+ - id: api_style
223
+ display_name: API Style
224
+ category: design
225
+ importance: critical
226
+ depends_on: []
227
+
228
+ - id: versioning
229
+ display_name: API Versioning
230
+ category: design
231
+ importance: medium
232
+ depends_on: []
233
+
234
+ - id: response_format
235
+ display_name: Response Format
236
+ category: format
237
+ importance: high
238
+ depends_on: []
239
+
240
+ - id: error_format
241
+ display_name: Error Response Format
242
+ category: format
243
+ importance: high
244
+ depends_on: []
245
+
246
+ - id: pagination
247
+ display_name: Pagination Strategy
248
+ category: design
249
+ importance: medium
250
+ optional: true
251
+ depends_on: []
252
+
253
+ # Project type presets - determines which standards to create and how to decompose units
254
+ project_types:
255
+ full-stack-web:
256
+ description: Full-stack web application
257
+ required_standards:
258
+ - tech-stack
259
+ - data-stack
260
+ - coding-standards
261
+ recommended_standards:
262
+ - system-architecture
263
+ - ux-guide
264
+ - api-conventions
265
+ # Unit decomposition structure
266
+ unit_structure:
267
+ backend:
268
+ enabled: true
269
+ decomposition: domain-driven
270
+ default_bolt_type: ddd-construction-bolt
271
+ description: Backend services using DDD decomposition
272
+ frontend:
273
+ enabled: true
274
+ decomposition: feature-based
275
+ default_bolt_type: simple-construction-bolt
276
+ naming_pattern: "{intent}-ui"
277
+ description: Frontend application (pages, components, state)
278
+
279
+ backend-api:
280
+ description: Backend API service
281
+ required_standards:
282
+ - tech-stack
283
+ - data-stack
284
+ - coding-standards
285
+ recommended_standards:
286
+ - system-architecture
287
+ - api-conventions
288
+ unit_structure:
289
+ backend:
290
+ enabled: true
291
+ decomposition: domain-driven
292
+ default_bolt_type: ddd-construction-bolt
293
+ description: Backend services using DDD decomposition
294
+ frontend:
295
+ enabled: false
296
+
297
+ frontend-app:
298
+ description: Frontend application (SPA/SSR)
299
+ required_standards:
300
+ - tech-stack
301
+ - coding-standards
302
+ recommended_standards:
303
+ - ux-guide
304
+ unit_structure:
305
+ backend:
306
+ enabled: false
307
+ frontend:
308
+ enabled: true
309
+ decomposition: feature-based
310
+ default_bolt_type: simple-construction-bolt
311
+ description: Frontend application (pages, components, state)
312
+
313
+ cli-tool:
314
+ description: Command-line tool
315
+ required_standards:
316
+ - tech-stack
317
+ - coding-standards
318
+ recommended_standards: []
319
+ unit_structure:
320
+ backend:
321
+ enabled: false
322
+ frontend:
323
+ enabled: false
324
+ cli:
325
+ enabled: true
326
+ decomposition: command-based
327
+ default_bolt_type: simple-construction-bolt
328
+ description: CLI commands and handlers
329
+
330
+ library:
331
+ description: Reusable library/package
332
+ required_standards:
333
+ - tech-stack
334
+ - coding-standards
335
+ recommended_standards:
336
+ - data-stack
337
+ - api-conventions
338
+ unit_structure:
339
+ backend:
340
+ enabled: true
341
+ decomposition: module-based
342
+ default_bolt_type: simple-construction-bolt
343
+ description: Library modules and public API
344
+ frontend:
345
+ enabled: false