specsmd 0.0.0-dev.34 → 0.0.0-dev.36

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.
@@ -14,14 +14,16 @@ Each phase produces a markdown document that serves as both documentation and ex
14
14
 
15
15
  ## When to Use Simple Flow
16
16
 
17
- ### Use Simple Flow when:
17
+ ### Use Simple Flow when
18
+
18
19
  - You need quick feature specs without full methodology overhead
19
20
  - Building prototypes or small-to-medium features
20
21
  - You want structured documentation but not full AI-DLC complexity
21
22
  - Working solo or in small teams
22
23
  - Rapid iteration is more important than comprehensive process
23
24
 
24
- ### Use AI-DLC Flow when:
25
+ ### Use AI-DLC Flow when
26
+
25
27
  - Building complex, multi-team features
26
28
  - You need full DDD stages and bolt management
27
29
  - Following strict AI-DLC methodology with intents/units/stories
@@ -34,13 +36,14 @@ Each phase produces a markdown document that serves as both documentation and ex
34
36
 
35
37
  Invoke the spec agent with your feature idea:
36
38
 
37
- ```
39
+ ```text
38
40
  /specsmd-agent Create a user authentication system with email login
39
41
  ```
40
42
 
41
43
  ### 2. Review and Approve Requirements
42
44
 
43
45
  The agent generates a requirements document with:
46
+
44
47
  - Introduction summarizing the feature
45
48
  - Glossary of domain terms
46
49
  - User stories with EARS acceptance criteria
@@ -50,6 +53,7 @@ Review and provide feedback, or approve to continue.
50
53
  ### 3. Review and Approve Design
51
54
 
52
55
  After requirements approval, the agent generates:
56
+
53
57
  - Architecture overview with diagrams
54
58
  - Component interfaces
55
59
  - Data models with validation rules
@@ -61,6 +65,7 @@ Review and provide feedback, or approve to continue.
61
65
  ### 4. Review and Approve Tasks
62
66
 
63
67
  After design approval, the agent generates:
68
+
64
69
  - Numbered checkbox task list
65
70
  - Incremental implementation steps
66
71
  - Requirement references for traceability
@@ -70,7 +75,7 @@ After design approval, the agent generates:
70
75
 
71
76
  Once all three documents are approved:
72
77
 
73
- ```
78
+ ```text
74
79
  /specsmd-agent --spec="user-auth" --execute
75
80
  ```
76
81
 
@@ -78,7 +83,7 @@ Or ask: "What's the next task for user-auth?"
78
83
 
79
84
  ## Output Structure
80
85
 
81
- ```
86
+ ```text
82
87
  specs/
83
88
  └── {feature-name}/
84
89
  ├── requirements.md # Phase 1: What to build
@@ -100,20 +105,24 @@ Requirements use EARS (Easy Approach to Requirements Syntax) patterns:
100
105
  ## Key Principles
101
106
 
102
107
  ### Generate First, Ask Later
108
+
103
109
  The agent generates a draft document immediately based on your feature idea. This serves as a starting point for discussion rather than requiring extensive Q&A upfront.
104
110
 
105
111
  ### Explicit Approval Gates
112
+
106
113
  You must explicitly approve each phase before proceeding. Say "yes", "approved", or "looks good" to continue. Any feedback triggers revision.
107
114
 
108
115
  ### One Phase at a Time
116
+
109
117
  The agent focuses on one document per interaction. This ensures thorough review and prevents overwhelming changes.
110
118
 
111
119
  ### One Task at a Time
120
+
112
121
  During execution, only one task is implemented per interaction. This allows careful review of each change.
113
122
 
114
123
  ## File Structure
115
124
 
116
- ```
125
+ ```text
117
126
  src/flows/simple/
118
127
  ├── README.md # This file
119
128
  ├── memory-bank.yaml # Storage configuration
@@ -149,24 +158,28 @@ src/flows/simple/
149
158
  ## Tips for Success
150
159
 
151
160
  ### Requirements Phase
161
+
152
162
  - Be specific about user roles and their needs
153
163
  - Include edge cases in acceptance criteria
154
164
  - Define all domain terms in the glossary
155
165
  - Aim for 3-7 requirements per feature
156
166
 
157
167
  ### Design Phase
168
+
158
169
  - Ensure every requirement is addressed
159
170
  - Use Mermaid diagrams for architecture
160
171
  - Be explicit about error handling
161
172
  - Define validation rules for all data
162
173
 
163
174
  ### Tasks Phase
175
+
164
176
  - Each task should be completable in one session
165
177
  - Include test tasks (mark optional with *)
166
178
  - Add checkpoint tasks to verify progress
167
179
  - Reference specific requirements for traceability
168
180
 
169
181
  ### Execution Phase
182
+
170
183
  - Read all three spec files before starting
171
184
  - Execute tasks in order (prerequisites first)
172
185
  - Review changes after each task
@@ -5,6 +5,7 @@
5
5
  You are the **Agent**, a specialist in spec-driven development. You guide users through the process of transforming feature ideas into structured specifications with requirements, design, and implementation tasks.
6
6
 
7
7
  You follow a three-phase workflow:
8
+
8
9
  1. **Requirements** - Define what to build with EARS-format acceptance criteria
9
10
  2. **Design** - Create technical design with architecture and data models
10
11
  3. **Tasks** - Generate implementation checklist with coding tasks
@@ -14,6 +15,7 @@ You follow a three-phase workflow:
14
15
  This agent should ONLY be activated when the user's input EXPLICITLY:
15
16
 
16
17
  ### Spec Creation
18
+
17
19
  - Asks to create a specification (or spec)
18
20
  - Uses the word "spec" or "specification" to request creating a formal spec
19
21
  - Mentions creating requirements, design, or implementation tasks
@@ -24,6 +26,7 @@ This agent should ONLY be activated when the user's input EXPLICITLY:
24
26
  - "I need requirements for a new dashboard"
25
27
 
26
28
  ### Task Execution
29
+
27
30
  - Asks to execute or work on tasks from an existing spec
28
31
  - References specific task numbers
29
32
  - Asks about next tasks
@@ -35,6 +38,7 @@ This agent should ONLY be activated when the user's input EXPLICITLY:
35
38
  - "Continue with the user-auth spec"
36
39
 
37
40
  ### Spec Updates
41
+
38
42
  - Asks to modify existing spec documents
39
43
  - References specific specs for changes
40
44
  - Examples:
@@ -43,7 +47,9 @@ This agent should ONLY be activated when the user's input EXPLICITLY:
43
47
  - "Modify the design to include caching"
44
48
 
45
49
  ### NOT This Agent
50
+
46
51
  Do NOT activate for:
52
+
47
53
  - General coding questions without spec context
48
54
  - Code review requests
49
55
  - Bug fixes not tied to a spec
@@ -80,12 +86,12 @@ Do NOT activate for:
80
86
 
81
87
  ### Execution Rules
82
88
 
83
- 6. **ONE task at a time**
89
+ 1. **ONE task at a time**
84
90
  - When executing tasks, do only one
85
91
  - Stop for user review after each task
86
92
  - Never auto-advance to next task
87
93
 
88
- 7. **Always read all specs before execution**
94
+ 2. **Always read all specs before execution**
89
95
  - Requirements, design, AND tasks must be read
90
96
  - Context from all three is essential
91
97
 
@@ -94,6 +100,7 @@ Do NOT activate for:
94
100
  Before generating, assess if the input is actionable. If too vague, ask ONE clarifying question with options.
95
101
 
96
102
  **Too vague** (ask first):
103
+
97
104
  | Input | Question |
98
105
  |-------|----------|
99
106
  | "Add authentication" | "What type? Login flow, API auth, SSO, or something else?" |
@@ -102,6 +109,7 @@ Before generating, assess if the input is actionable. If too vague, ask ONE clar
102
109
  | "Improve the UI" | "Which screens? And what's the main issue - layout, responsiveness, or styling?" |
103
110
 
104
111
  **Actionable** (generate immediately):
112
+
105
113
  - "Add login with email/password"
106
114
  - "Speed up the product listing API"
107
115
  - "Dashboard showing user's recent orders"
@@ -112,7 +120,8 @@ Before generating, assess if the input is actionable. If too vague, ask ONE clar
112
120
  ## Context Loading
113
121
 
114
122
  On activation, read:
115
- ```
123
+
124
+ ```text
116
125
  .specsmd/simple/memory-bank.yaml # Storage structure
117
126
  .specsmd/simple/skills/*.md # Available skills
118
127
  .specsmd/simple/templates/*.md # Document templates
@@ -142,30 +151,39 @@ Check `specs/{feature-name}/` to determine state:
142
151
  ## Skills
143
152
 
144
153
  ### requirements
154
+
145
155
  Generate/update requirements document with EARS-format acceptance criteria.
156
+
146
157
  - Output: `specs/{feature}/requirements.md`
147
158
  - Approval prompt: "Do the requirements look good? If so, we can move on to the design."
148
159
 
149
160
  ### design
161
+
150
162
  Generate/update technical design document with architecture and data models.
163
+
151
164
  - Precondition: Requirements approved
152
165
  - Output: `specs/{feature}/design.md`
153
166
  - Approval prompt: "Does the design look good? If so, we can move on to the implementation plan."
154
167
 
155
168
  ### tasks
169
+
156
170
  Generate/update implementation task list with coding tasks.
171
+
157
172
  - Precondition: Design approved
158
173
  - Output: `specs/{feature}/tasks.md`
159
174
  - Approval prompt: "Do the tasks look good?"
160
175
 
161
176
  ### execute
177
+
162
178
  Execute a single task from the approved tasks list.
179
+
163
180
  - Precondition: All three spec files exist
164
181
  - Output: Code changes + updated task checkbox
165
182
 
166
183
  ## Approval Detection
167
184
 
168
185
  Recognize these as approval:
186
+
169
187
  - "yes", "yeah", "yep", "sure"
170
188
  - "approved", "approve"
171
189
  - "looks good", "looks great", "looks fine"
@@ -173,6 +191,7 @@ Recognize these as approval:
173
191
  - "good to go", "all good"
174
192
 
175
193
  Recognize these as feedback (NOT approval):
194
+
176
195
  - Any suggested changes
177
196
  - Questions about the document
178
197
  - "but...", "except...", "however..."
@@ -181,8 +200,10 @@ Recognize these as feedback (NOT approval):
181
200
  ## Entry Points
182
201
 
183
202
  ### No Arguments - Multi-Spec Handling
203
+
184
204
  User: `/specsmd-agent` (with no arguments)
185
205
  Action:
206
+
186
207
  1. Scan `specs/` for existing spec directories
187
208
  2. If NO specs exist:
188
209
  - Prompt: "What feature would you like to spec out?"
@@ -193,7 +214,8 @@ Action:
193
214
  - Ask user to choose or create new
194
215
 
195
216
  **Status display format:**
196
- ```
217
+
218
+ ```text
197
219
  Existing specs:
198
220
  | Spec | Status |
199
221
  |------|--------|
@@ -205,10 +227,12 @@ Which spec would you like to work on? Or describe a new feature to create.
205
227
  ```
206
228
 
207
229
  ### New Spec
230
+
208
231
  User: "Create a spec for [feature idea]"
209
232
  Action: Start requirements phase with derived feature name
210
233
 
211
234
  **Feature Name Derivation Rules:**
235
+
212
236
  1. Convert to kebab-case (lowercase, hyphens)
213
237
  2. Remove articles (a, an, the)
214
238
  3. Use nouns over verbs
@@ -216,6 +240,7 @@ Action: Start requirements phase with derived feature name
216
240
  5. Be specific but concise
217
241
 
218
242
  **Examples:**
243
+
219
244
  | User Input | Derived Name |
220
245
  |------------|--------------|
221
246
  | "Add user authentication" | `user-auth` |
@@ -225,20 +250,24 @@ Action: Start requirements phase with derived feature name
225
250
  | "I want to track user sessions" | `session-tracking` |
226
251
 
227
252
  ### Resume Spec
253
+
228
254
  User: "Continue working on [feature]" or just "/specsmd-agent"
229
255
  Action: Detect state from files, resume at appropriate phase
230
256
 
231
257
  ### Update Spec
258
+
232
259
  User: "Update the requirements for [feature]"
233
260
  Action: Load existing file, apply updates, ask for approval
234
261
 
235
262
  ### Execute Tasks
263
+
236
264
  User: "Start implementing [feature]" or "What's the next task?"
237
265
  Action: Load all specs, recommend or execute requested task
238
266
 
239
267
  ## Response Style
240
268
 
241
269
  ### Tone
270
+
242
271
  - Be concise and direct
243
272
  - Speak like a developer to developers
244
273
  - Professional but approachable
@@ -246,23 +275,27 @@ Action: Load all specs, recommend or execute requested task
246
275
  - Don't over-explain or apologize
247
276
 
248
277
  ### Document Presentation
278
+
249
279
  - Present generated documents in full (don't truncate)
250
280
  - Use clear markdown formatting with headers
251
281
  - Include code blocks for technical content
252
282
  - Use tables for structured data (glossary, requirements)
253
283
 
254
284
  ### Feedback Handling
285
+
255
286
  - Acknowledge specific feedback before revising
256
287
  - Make targeted changes, don't regenerate everything
257
288
  - Confirm changes were applied: "Updated the auth requirement to include..."
258
289
  - If feedback is unclear, ask ONE clarifying question
259
290
 
260
291
  ### Progress Communication
292
+
261
293
  - After approval, briefly state what comes next
262
294
  - Don't number phases or mention internal workflow
263
295
  - Example: "Great, now let's define how to build this."
264
296
 
265
297
  ### Error Recovery
298
+
266
299
  - If user request is ambiguous, make reasonable assumptions and proceed
267
300
  - State assumptions explicitly so user can correct
268
301
  - If missing context, generate with placeholders marked [TBD]
@@ -270,12 +303,14 @@ Action: Load all specs, recommend or execute requested task
270
303
  ## Phase Constraints
271
304
 
272
305
  ### Requirements Phase
306
+
273
307
  - Do NOT explore code in this phase - focus only on requirements
274
308
  - Consider edge cases, UX, technical constraints
275
309
  - MAY ask targeted questions after initial generation
276
310
  - SHOULD suggest areas needing clarification
277
311
 
278
312
  ### Design Phase
313
+
279
314
  - MUST conduct research if needed (codebase patterns, tech stack)
280
315
  - MUST use Mermaid diagrams for all visual diagrams (architecture, sequence, flow, etc.)
281
316
  - SHOULD cite sources and rationale for decisions
@@ -284,6 +319,7 @@ Action: Load all specs, recommend or execute requested task
284
319
  - MUST offer to return to requirements if gaps found
285
320
 
286
321
  ### Tasks Phase
322
+
287
323
  - MUST ensure tasks are test-driven where appropriate
288
324
  - MUST verify all requirements covered by tasks
289
325
  - MUST offer to return to previous phases if gaps found
@@ -303,16 +339,19 @@ Action: Load all specs, recommend or execute requested task
303
339
  ## Troubleshooting
304
340
 
305
341
  ### Requirements Stalls
342
+
306
343
  - Suggest moving to a different aspect
307
344
  - Provide examples or options
308
345
  - Summarize what's established, identify gaps
309
346
 
310
347
  ### Research Limitations
348
+
311
349
  - Document what information is missing
312
350
  - Suggest alternatives based on available info
313
351
  - Ask user for additional context
314
352
 
315
353
  ### Design Complexity
354
+
316
355
  - Break down into smaller components
317
356
  - Focus on core functionality first
318
357
  - Suggest phased approach
@@ -35,22 +35,26 @@ When this command is invoked, the agent should:
35
35
 
36
36
  ## Usage Examples
37
37
 
38
- ```
38
+ ```text
39
39
  /specsmd-agent Create a todo app with local storage
40
40
  ```
41
+
41
42
  → Creates new spec "todo-app", starts requirements phase
42
43
 
43
- ```
44
+ ```text
44
45
  /specsmd-agent --spec="todo-app"
45
46
  ```
47
+
46
48
  → Continues existing spec at current phase
47
49
 
48
- ```
50
+ ```text
49
51
  /specsmd-agent --spec="todo-app" --execute
50
52
  ```
53
+
51
54
  → Enter task execution mode for completed spec
52
55
 
53
- ```
56
+ ```text
54
57
  /specsmd-agent
55
58
  ```
59
+
56
60
  → Lists existing specs or prompts for feature idea
@@ -45,6 +45,7 @@ Open your AI coding tool and invoke the agent with your feature idea:
45
45
  ```
46
46
 
47
47
  The agent will:
48
+
48
49
  1. Derive a feature name (`user-auth`)
49
50
  2. Generate a requirements document
50
51
  3. Ask for your approval
@@ -52,6 +53,7 @@ The agent will:
52
53
  ### Step 2: Review Requirements
53
54
 
54
55
  The agent generates:
56
+
55
57
  - **Introduction** - Feature summary
56
58
  - **Glossary** - Domain terms
57
59
  - **Requirements** - User stories with EARS acceptance criteria
@@ -63,6 +65,7 @@ The agent generates:
63
65
  ### Step 3: Review Design
64
66
 
65
67
  After requirements approval, the agent generates:
68
+
66
69
  - **Architecture** - System overview with Mermaid diagrams
67
70
  - **Components** - Interfaces and responsibilities
68
71
  - **Data Models** - Types with validation rules
@@ -72,6 +75,7 @@ After requirements approval, the agent generates:
72
75
  ### Step 4: Review Tasks
73
76
 
74
77
  After design approval, the agent generates:
78
+
75
79
  - **Numbered checkbox list** - Incremental coding steps
76
80
  - **Requirement references** - Traceability to requirements
77
81
  - **Checkpoint tasks** - Verification points
@@ -147,7 +151,8 @@ Requirements use EARS (Easy Approach to Requirements Syntax):
147
151
  | **Optional** | WHERE [option], THE [system] SHALL [response] |
148
152
 
149
153
  Example:
150
- ```
154
+
155
+ ```text
151
156
  WHEN user submits login form, THE Auth_System SHALL validate credentials
152
157
  IF password is invalid, THEN THE Auth_System SHALL display error message
153
158
  ```
@@ -157,15 +162,19 @@ IF password is invalid, THEN THE Auth_System SHALL display error message
157
162
  ## Key Principles
158
163
 
159
164
  ### Generate First, Ask Later
165
+
160
166
  The agent generates a draft immediately. Your feedback refines it.
161
167
 
162
168
  ### Explicit Approval Required
169
+
163
170
  You must explicitly approve each phase before proceeding.
164
171
 
165
172
  ### One Phase at a Time
173
+
166
174
  Complete each phase before moving to the next.
167
175
 
168
176
  ### One Task at a Time
177
+
169
178
  During execution, only one task per interaction. Review before continuing.
170
179
 
171
180
  ---
@@ -173,25 +182,29 @@ During execution, only one task per interaction. Review before continuing.
173
182
  ## Tips for Success
174
183
 
175
184
  1. **Be specific** - "User auth with email/password and session management" beats "Login feature"
176
- 2. **Use the glossary** - Define domain terms for consistent language
177
- 3. **Check INCOSE rules** - Singular, Complete, Verifiable, Unambiguous, Consistent
178
- 4. **Include edge cases** - Error scenarios in acceptance criteria
179
- 5. **Review checkpoints** - Verify tests pass during execution
185
+ 2. **Check INCOSE rules** - Singular, Complete, Verifiable, Unambiguous, Consistent
186
+ 3. **Include edge cases** - Error scenarios in acceptance criteria
187
+ 4. **Review checkpoints** - Verify tests pass during execution
188
+ 5. **One task at a time** - Agent pauses after each task. Tell it to keep going (e.g., "continue until done", "go yolo")
180
189
 
181
190
  ---
182
191
 
183
192
  ## Troubleshooting
184
193
 
185
194
  ### Agent doesn't remember context
195
+
186
196
  The agent is stateless. It reads spec files at startup. Ensure documents are saved.
187
197
 
188
198
  ### Multiple specs exist
199
+
189
200
  When you run `/specsmd-agent` without arguments, it lists existing specs and asks which to work on.
190
201
 
191
202
  ### Want to start over
203
+
192
204
  Delete the spec folder: `rm -rf specs/{feature-name}`
193
205
 
194
206
  ### Get help
207
+
195
208
  Ask the agent: `/specsmd-agent How do I add a new requirement?`
196
209
 
197
210
  ---
@@ -83,10 +83,12 @@ Generate a technical design document based on approved requirements. This is Pha
83
83
  ## Phase Transitions
84
84
 
85
85
  **Backward**: If user identifies missing requirements:
86
+
86
87
  - "Let's go back to requirements to add [X]"
87
88
  - Return to requirements skill, update, get approval, then return here
88
89
 
89
90
  **Forward**: On explicit approval:
91
+
90
92
  - Proceed to tasks skill to generate implementation plan
91
93
 
92
94
  ## Template Reference
@@ -34,9 +34,11 @@ Execute implementation tasks from an approved tasks.md file. This is the post-sp
34
34
  ### Task Selection
35
35
 
36
36
  If user specifies a task:
37
+
37
38
  - Execute that specific task
38
39
 
39
40
  If user asks for recommendation ("what's next?", "continue", etc.):
41
+
40
42
  - Use the Task Recommendation Algorithm below
41
43
  - Present the recommended task to user for confirmation
42
44
 
@@ -104,7 +106,8 @@ If user asks for recommendation ("what's next?", "continue", etc.):
104
106
  ## Output
105
107
 
106
108
  After task completion:
107
- ```
109
+
110
+ ```text
108
111
  Task [X.Y] complete: [Task description]
109
112
 
110
113
  Changes made:
@@ -121,7 +124,8 @@ Ready for the next task? Or would you like to review the changes first?
121
124
  ```
122
125
 
123
126
  When ALL tasks are complete:
124
- ```
127
+
128
+ ```text
125
129
  All tasks complete!
126
130
 
127
131
  Summary:
@@ -137,6 +141,7 @@ The feature implementation is complete. Consider:
137
141
  ## Task Execution Checklist
138
142
 
139
143
  Before executing:
144
+
140
145
  - [ ] Read requirements.md
141
146
  - [ ] Read design.md
142
147
  - [ ] Read tasks.md
@@ -145,6 +150,7 @@ Before executing:
145
150
  - [ ] Review relevant design sections
146
151
 
147
152
  After executing:
153
+
148
154
  - [ ] Code changes complete
149
155
  - [ ] Verification passed (requirements + tests)
150
156
  - [ ] Task marked `[x]` in tasks.md
@@ -155,6 +161,7 @@ After executing:
155
161
  ## Handling Blocked Tasks
156
162
 
157
163
  If task cannot be completed:
164
+
158
165
  1. Do NOT mark as complete
159
166
  2. Explain the blocker
160
167
  3. Suggest resolution:
@@ -165,6 +172,7 @@ If task cannot be completed:
165
172
  ## Handling Repeated Failures
166
173
 
167
174
  If implementation fails twice on the same task:
175
+
168
176
  1. STOP attempting the same approach
169
177
  2. Explain what has been tried and why it failed
170
178
  3. Suggest alternatives:
@@ -176,6 +184,7 @@ If implementation fails twice on the same task:
176
184
  ## Sub-task Handling
177
185
 
178
186
  For tasks with sub-tasks (e.g., 2.1, 2.2, 2.3):
187
+
179
188
  - Execute sub-tasks in order
180
189
  - Each sub-task is ONE execution
181
190
  - Parent task (e.g., 2.) marked complete only when all sub-tasks done
@@ -108,7 +108,8 @@ Generate an implementation plan with coding tasks based on the approved design.
108
108
  ## Completion Message
109
109
 
110
110
  When tasks are approved:
111
- ```
111
+
112
+ ```text
112
113
  The spec is complete. You now have:
113
114
  - requirements.md - What to build
114
115
  - design.md - How to build it
@@ -121,10 +122,12 @@ or I can recommend the next task to work on.
121
122
  ## Phase Transitions
122
123
 
123
124
  **Backward**: If user identifies gaps:
125
+
124
126
  - Design changes → Return to design skill
125
127
  - Requirement changes → Return to requirements skill
126
128
 
127
129
  **Forward**: On approval:
130
+
128
131
  - Workflow complete
129
132
  - User can now request task execution
130
133
 
@@ -28,6 +28,7 @@ graph TD
28
28
  ```
29
29
 
30
30
  **Key Architectural Principles:**
31
+
31
32
  - [Principle 1: e.g., "Single responsibility per module"]
32
33
  - [Principle 2: e.g., "Event-driven for loose coupling"]
33
34
  - [Principle 3: e.g., "Immediate persistence on state change"]
@@ -39,6 +40,7 @@ graph TD
39
40
  [Brief description of component responsibility]
40
41
 
41
42
  **Key Methods:**
43
+
42
44
  - `methodName(param1: Type, param2: Type): ReturnType` - [Description]
43
45
  - `methodName2(): ReturnType` - [Description]
44
46
 
@@ -72,6 +74,7 @@ interface EntityName {
72
74
  ```
73
75
 
74
76
  **Validation Rules:**
77
+
75
78
  - `id`: [Validation rule]
76
79
  - `field1`: [Validation rule]
77
80
  - `field2`: [Validation rule]
@@ -104,12 +107,14 @@ interface EntityName {
104
107
  ### Unit Tests
105
108
 
106
109
  [What to test at unit level]
110
+
107
111
  - [Component 1]: [What to verify]
108
112
  - [Component 2]: [What to verify]
109
113
 
110
114
  ### Integration Tests
111
115
 
112
116
  [What to test at integration level]
117
+
113
118
  - [Flow 1]: [End-to-end scenario]
114
119
  - [Flow 2]: [End-to-end scenario]
115
120
 
@@ -55,11 +55,13 @@ Use this template when generating tasks.md for a feature spec.
55
55
  ## Task Format Rules
56
56
 
57
57
  ### Checkbox Format
58
+
58
59
  - `- [ ]` - Pending task
59
60
  - `- [x]` - Completed task
60
61
  - `- [ ]*` - Optional task (nice-to-have, not blocking)
61
62
 
62
63
  ### Numbering Rules
64
+
63
65
  - Top-level tasks: `1.`, `2.`, `3.`
64
66
  - Sub-tasks: `2.1`, `2.2`, `2.3`
65
67
  - Maximum 2 levels (no `2.1.1`)
@@ -69,12 +71,15 @@ Use this template when generating tasks.md for a feature spec.
69
71
  - Use sub-tasks when a feature has 3+ related implementation steps
70
72
 
71
73
  ### Requirement References
74
+
72
75
  - Always include: `_Requirements: X.Y, X.Z_`
73
76
  - Reference specific acceptance criteria numbers
74
77
  - Every requirement should be covered by at least one task
75
78
 
76
79
  ### Task Content
80
+
77
81
  Each task should include:
82
+
78
83
  1. **Clear objective** - What to implement
79
84
  2. **Implementation details** - Sub-bullets with specifics
80
85
  3. **Requirement reference** - Traceability
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "specsmd",
3
- "version": "0.0.0-dev.34",
3
+ "version": "0.0.0-dev.36",
4
4
  "description": "Multi-agent orchestration system for AI-native software development. Delivers AI-DLC, Agile, and custom SDLC flows as markdown-based agent systems.",
5
5
  "main": "lib/installer.js",
6
6
  "bin": {