sdd-toolkit 2.0.2 โ 3.0.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.
- package/README.md +22 -22
- package/definitions/AGENTS.md +114 -0
- package/definitions/RULES.md +248 -0
- package/definitions/sdd-backend.yaml +427 -0
- package/definitions/sdd-coder.yaml +237 -161
- package/definitions/sdd-feature.yaml +272 -140
- package/definitions/sdd-frontend.yaml +423 -0
- package/definitions/sdd-log.yaml +70 -70
- package/definitions/sdd-project.yaml +298 -179
- package/definitions/sdd-prompt.yaml +334 -0
- package/definitions/sdd-requirements.yaml +323 -136
- package/definitions/sdd-review.yaml +197 -105
- package/definitions/sdd-security.yaml +335 -0
- package/definitions/sdd-test.yaml +369 -0
- package/definitions/skills/brownfield-setup/SKILL.md +119 -0
- package/definitions/skills/detect-manifest/SKILL.md +97 -0
- package/definitions/skills/feature-templates/SKILL.md +136 -0
- package/definitions/skills/handover-protocol/SKILL.md +62 -0
- package/definitions/skills/stack-interview/SKILL.md +124 -0
- package/package.json +1 -1
- package/src/index.js +159 -158
- package/src/lib/messages.js +6 -3
- package/src/lib/transformers.js +272 -26
- package/definitions/sdd.yaml +0 -29
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@ Reads agnostic definitions (YAML) and converts them to specific formats:
|
|
|
51
51
|
- **Cursor:** Generates rules in `.cursor/commands/*.mdc`.
|
|
52
52
|
- **Windsurf:** Generates workflows in `.windsurf/workflows/*.md`.
|
|
53
53
|
- **Trae:** Generates instructions in `.trae/instructions.md`.
|
|
54
|
-
- **OpenCode:** Generates
|
|
54
|
+
- **OpenCode:** Generates skills in `.opencode/skills/`.
|
|
55
55
|
- **Kilo Code:** Generates Markdown prompts (`.kilocode/workflows/*.md`).
|
|
56
56
|
|
|
57
57
|
## ๐ฅ The Squad (Agent Roles)
|
|
@@ -190,17 +190,17 @@ Once agents are installed, use these commands in your AI coding assistant:
|
|
|
190
190
|
|
|
191
191
|
After running `sdd-toolkit`, the following structure is created in your project:
|
|
192
192
|
|
|
193
|
-
```
|
|
194
|
-
.sdd-toolkit/
|
|
195
|
-
โโโ project.md # Project scope and principles
|
|
196
|
-
โโโ requirements.md # Technical requirements and stack
|
|
197
|
-
โโโ milestones.md # Development roadmap
|
|
198
|
-
โโโ task.md # Task execution backlog
|
|
199
|
-
โโโ features/ # Individual feature specifications
|
|
200
|
-
โ โโโ [feature-name].md
|
|
201
|
-
โโโ logs/
|
|
202
|
-
โ โโโ executions/ # Task execution logs
|
|
203
|
-
โ โโโ reviews/ # Code review reports
|
|
193
|
+
```
|
|
194
|
+
.sdd-toolkit/
|
|
195
|
+
โโโ project.md # Project scope and principles
|
|
196
|
+
โโโ requirements.md # Technical requirements and stack
|
|
197
|
+
โโโ milestones.md # Development roadmap
|
|
198
|
+
โโโ task.md # Task execution backlog
|
|
199
|
+
โโโ features/ # Individual feature specifications
|
|
200
|
+
โ โโโ [feature-name].md
|
|
201
|
+
โโโ logs/
|
|
202
|
+
โ โโโ executions/ # Task execution logs
|
|
203
|
+
โ โโโ reviews/ # Code review reports
|
|
204
204
|
โ โโโ archive/ # Archived completed work
|
|
205
205
|
โโโ agents/ # Custom agent definitions (optional overrides)
|
|
206
206
|
```
|
|
@@ -327,7 +327,7 @@ MIT
|
|
|
327
327
|
- Re-run `sdd-toolkit` and ensure you select the correct language during setup (English, Portuguese, or Spanish).
|
|
328
328
|
- Or manually edit the `LANGUAGE_RULES` in your agent files.
|
|
329
329
|
|
|
330
|
-
### `.sdd-toolkit/` folder not created
|
|
330
|
+
### `.sdd-toolkit/` folder not created
|
|
331
331
|
|
|
332
332
|
**Problem:** The hidden folder structure is not created after installation.
|
|
333
333
|
|
|
@@ -343,9 +343,9 @@ MIT
|
|
|
343
343
|
|
|
344
344
|
A: Yes! You can install agents for multiple AI tools in the same project. Each tool has its own folder structure (`.roo/`, `.cline/`, `.cursor/`, etc.) and they can coexist without conflicts.
|
|
345
345
|
|
|
346
|
-
**Q: How do I update agents after initial setup?**
|
|
347
|
-
|
|
348
|
-
A: Run `sdd-toolkit upgrade`. This will update all installed agents without requiring you to reconfigure global rules.
|
|
346
|
+
**Q: How do I update agents after initial setup?**
|
|
347
|
+
|
|
348
|
+
A: Run `sdd-toolkit upgrade`. This will update all installed agents without requiring you to reconfigure global rules.
|
|
349
349
|
|
|
350
350
|
**Q: Can I customize agent definitions?**
|
|
351
351
|
|
|
@@ -371,10 +371,10 @@ A: Simply delete the `.sdd-toolkit/` folder and any tool-specific folders (`.roo
|
|
|
371
371
|
|
|
372
372
|
A: No, sdd-toolkit only manages documentation and AI agent configurations. It does not track code changes, read your source files, or interfere with version control.
|
|
373
373
|
|
|
374
|
-
**Q: How do I define my tech stack and conventions?**
|
|
375
|
-
|
|
376
|
-
A: Use the Requirements Engineer agent (`/sdd.requirements`) to define your tech stack. The agent will interview you with detailed questions about frontend, backend, database, and infrastructure. Stack-specific conventions can also be added via "Global Rules" during setup or by manually editing `.sdd-toolkit/requirements.md`.
|
|
374
|
+
**Q: How do I define my tech stack and conventions?**
|
|
375
|
+
|
|
376
|
+
A: Use the Requirements Engineer agent (`/sdd.requirements`) to define your tech stack. The agent will interview you with detailed questions about frontend, backend, database, and infrastructure. Stack-specific conventions can also be added via "Global Rules" during setup or by manually editing `.sdd-toolkit/requirements.md`.
|
|
377
|
+
|
|
378
|
+
**Q: Is this suitable for enterprise projects?**
|
|
377
379
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
A: Yes, sdd-toolkit is designed to scale. The `.sdd-toolkit/` folder can be committed to your repository, ensuring all team members use the same agent configurations and follow the same development principles defined in `requirements.md` and `project.md`. Stack-specific conventions are automatically applied via selected profile during agent installation.
|
|
380
|
+
A: Yes, sdd-toolkit is designed to scale. The `.sdd-toolkit/` folder can be committed to your repository, ensuring all team members use the same agent configurations and follow the same development principles defined in `requirements.md` and `project.md`. Stack-specific conventions are automatically applied via selected profile during agent installation.
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# AGENTS.md โ SDD Toolkit
|
|
2
|
+
|
|
3
|
+
This document describes the agent and skill structure of SDD Toolkit to guide coding agents.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
SDD Toolkit is a collaborative agent system for specification-driven development. Agents work as a team, each with specific responsibilities.
|
|
8
|
+
|
|
9
|
+
## Available Agents
|
|
10
|
+
|
|
11
|
+
| Command | Agent | Emoji | Responsibility |
|
|
12
|
+
|---------|--------|-------|----------------|
|
|
13
|
+
| `/sdd.project` | Project Architect | ๐๏ธ | Defines project scope and vision |
|
|
14
|
+
| `/sdd.requirements` | Requirements Engineer | ๐ | Documents requirements and tech stack |
|
|
15
|
+
| `/sdd.feature` | Feature Manager | โจ | Manages features and milestones |
|
|
16
|
+
| `/sdd.coder` | Coder | ๐ป | Implements code following SOLID |
|
|
17
|
+
| `/sdd.frontend` | Frontend Architect | ๐จ | Design and UI/UX (framework-agnostic) |
|
|
18
|
+
| `/sdd.backend` | Backend Architect | โ๏ธ | APIs and server-side systems (agnostic) |
|
|
19
|
+
| `/sdd.test` | Test Engineer | ๐งช | Automated testing and TDD |
|
|
20
|
+
| `/sdd.review` | QA Engineer | ๐ | Reviews and validates code quality |
|
|
21
|
+
| `/sdd.security` | Security Auditor | ๐ก๏ธ | Security analysis following OWASP Top 10 |
|
|
22
|
+
| `/sdd.prompt` | Prompt Architect | ๐ง | Creates AI prompts and agents |
|
|
23
|
+
| `/sdd.log` | Release Manager | ๐ฆ | Consolidates logs and manages changelog |
|
|
24
|
+
|
|
25
|
+
## Workflow
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
Project Architect โ Requirements Engineer โ Feature Manager โ Coder โ Security Auditor โ QA Engineer โ Release Manager
|
|
29
|
+
๐๏ธ ๐ โจ ๐ป ๐ก๏ธ ๐ ๐ฆ
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## File Structure
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
definitions/
|
|
36
|
+
โโโ AGENTS.md # This file (main index)
|
|
37
|
+
โโโ sdd-project.yaml # Project Architect
|
|
38
|
+
โโโ sdd-requirements.yaml # Requirements Engineer
|
|
39
|
+
โโโ sdd-feature.yaml # Feature Manager
|
|
40
|
+
โโโ sdd-coder.yaml # Coder
|
|
41
|
+
โโโ sdd-frontend.yaml # Frontend Architect (Agnostic)
|
|
42
|
+
โโโ sdd-backend.yaml # Backend Architect (Agnostic)
|
|
43
|
+
โโโ sdd-test.yaml # Test Engineer (TDD)
|
|
44
|
+
โโโ sdd-review.yaml # QA Engineer
|
|
45
|
+
โโโ sdd-security.yaml # Security Auditor (OWASP)
|
|
46
|
+
โโโ sdd-prompt.yaml # Prompt Architect (Meta-Agent)
|
|
47
|
+
โโโ sdd-log.yaml # Release Manager
|
|
48
|
+
โโโ skills/ # Reusable skills
|
|
49
|
+
โโโ handover-protocol/
|
|
50
|
+
โ โโโ SKILL.md
|
|
51
|
+
โโโ detect-manifest/
|
|
52
|
+
โโโ SKILL.md
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Available Skills
|
|
56
|
+
|
|
57
|
+
Skills are reusable instruction modules that agents can load on demand.
|
|
58
|
+
|
|
59
|
+
| Skill | Description | Used By |
|
|
60
|
+
|-------|-------------|---------|
|
|
61
|
+
| `handover-protocol` | Handover protocol between agents | All |
|
|
62
|
+
| `detect-manifest` | Detects manifests and identifies tech stack | Project, Requirements, Coder |
|
|
63
|
+
|
|
64
|
+
### How to Use a Skill
|
|
65
|
+
|
|
66
|
+
1. Read the `skills/[name]/SKILL.md` file before executing
|
|
67
|
+
2. Follow the instructions contained in the skill
|
|
68
|
+
3. Return to main flow after completion
|
|
69
|
+
|
|
70
|
+
## Generated Artifacts
|
|
71
|
+
|
|
72
|
+
Agents generate documentation in the `.sdd-toolkit/` folder:
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
.sdd-toolkit/
|
|
76
|
+
โโโ project.md # Conceptual scope (Project Architect)
|
|
77
|
+
โโโ requirements.md # Requirements and stack (Requirements Engineer)
|
|
78
|
+
โโโ context.md # Feature matrix
|
|
79
|
+
โโโ features/ # Active features
|
|
80
|
+
โ โโโ [feature-slug]/
|
|
81
|
+
โ โโโ index.md # Feature overview
|
|
82
|
+
โ โโโ state.md # Progress and context
|
|
83
|
+
โ โโโ MT01.md # Milestone 1 with tasks
|
|
84
|
+
โ โโโ MT02.md # Milestone 2 with tasks
|
|
85
|
+
โ โโโ ... # (MTXX = Milestone XX)
|
|
86
|
+
โโโ logs/ # Execution history
|
|
87
|
+
โโโ executions/ # Executed task logs
|
|
88
|
+
โโโ reviews/ # Review reports
|
|
89
|
+
โโโ archive/ # Archived logs after release
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Build and Test Commands
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
# Install dependencies
|
|
96
|
+
npm install
|
|
97
|
+
|
|
98
|
+
# Run CLI
|
|
99
|
+
npm start
|
|
100
|
+
|
|
101
|
+
# Check available agents
|
|
102
|
+
node src/index.js
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## Code Conventions
|
|
106
|
+
|
|
107
|
+
- **Language**: English for documentation and responses
|
|
108
|
+
- **Agent format**: YAML with frontmatter
|
|
109
|
+
- **Skill format**: Markdown with YAML frontmatter
|
|
110
|
+
- **Handover**: Always use the handover protocol
|
|
111
|
+
|
|
112
|
+
## Reference
|
|
113
|
+
|
|
114
|
+
This format follows the [AGENTS.md](https://agents.md/) convention for compatibility with multiple coding agents.
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
# RULES.md โ SDD Toolkit Usage Rules
|
|
2
|
+
|
|
3
|
+
This document defines usage rules, folder structure, and where to document each type of artifact.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## ๐ Target Project Folder Structure
|
|
8
|
+
|
|
9
|
+
All agents work with the `.sdd-toolkit/` folder in the target project:
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
.sdd-toolkit/
|
|
13
|
+
โโโ project.md # Conceptual project scope
|
|
14
|
+
โโโ requirements.md # Functional requirements + Tech stack
|
|
15
|
+
โโโ context.md # Feature matrix (global view)
|
|
16
|
+
โโโ system.md # System state (deploys, migrations)
|
|
17
|
+
โ
|
|
18
|
+
โโโ features/ # Active features
|
|
19
|
+
โ โโโ [feature-slug]/
|
|
20
|
+
โ โโโ index.md # Feature overview
|
|
21
|
+
โ โโโ state.md # Progress + context + created files
|
|
22
|
+
โ โโโ MT01.md # Milestone 1 with tasks
|
|
23
|
+
โ โโโ MT02.md # Milestone 2 with tasks
|
|
24
|
+
โ โโโ ...
|
|
25
|
+
โ
|
|
26
|
+
โโโ logs/ # Execution history
|
|
27
|
+
โโโ executions/ # Executed task logs
|
|
28
|
+
โ โโโ [Task_ID].md # Ex: MT01-task-1.md
|
|
29
|
+
โโโ reviews/ # Review logs
|
|
30
|
+
โ โโโ [Task_ID]-REVIEW.md
|
|
31
|
+
โโโ archive/ # Archived logs after release
|
|
32
|
+
โโโ [feature-slug]/
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## ๐ What to Read Before Starting
|
|
38
|
+
|
|
39
|
+
### Layered Reading Protocol (L1 โ L2 โ L3)
|
|
40
|
+
|
|
41
|
+
All agents must follow this protocol to avoid context explosion:
|
|
42
|
+
|
|
43
|
+
#### L1: Global Context (ALWAYS READ)
|
|
44
|
+
1. `.sdd-toolkit/context.md` โ Feature matrix + executive summary
|
|
45
|
+
2. `.sdd-toolkit/requirements.md` โ Tech stack + business rules
|
|
46
|
+
|
|
47
|
+
#### L2: Feature Context (IF WORKING ON A FEATURE)
|
|
48
|
+
3. `.sdd-toolkit/features/[feature-slug]/index.md` โ Overview
|
|
49
|
+
4. `.sdd-toolkit/features/[feature-slug]/state.md` โ Progress + context
|
|
50
|
+
5. `.sdd-toolkit/features/[feature-slug]/[MILESTONE].md` โ Tasks
|
|
51
|
+
|
|
52
|
+
#### L3: Task Context (ON DEMAND)
|
|
53
|
+
6. `.sdd-toolkit/logs/executions/[Task_ID].md` โ Previous execution log
|
|
54
|
+
7. `.sdd-toolkit/logs/reviews/[Task_ID]-REVIEW.md` โ Previous review
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## ๐ Where to Document Each Artifact Type
|
|
59
|
+
|
|
60
|
+
### Project Scope (Project Architect ๐๏ธ)
|
|
61
|
+
|
|
62
|
+
| Artifact | Location | Description |
|
|
63
|
+
|----------|----------|-------------|
|
|
64
|
+
| Conceptual scope | `.sdd-toolkit/project.md` | Project constitution |
|
|
65
|
+
|
|
66
|
+
**Actions after creation:**
|
|
67
|
+
- Update `.sdd-toolkit/context.md` if applicable
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
### Requirements (Requirements Engineer ๐)
|
|
72
|
+
|
|
73
|
+
| Artifact | Location | Description |
|
|
74
|
+
|----------|----------|-------------|
|
|
75
|
+
| Functional requirements | `.sdd-toolkit/requirements.md` | Stack + FR + NFR + BR |
|
|
76
|
+
|
|
77
|
+
**Actions after creation:**
|
|
78
|
+
- Update `.sdd-toolkit/context.md` if there are relevant changes
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
### Features (Feature Manager โจ)
|
|
83
|
+
|
|
84
|
+
| Artifact | Location | Description |
|
|
85
|
+
|----------|----------|-------------|
|
|
86
|
+
| Overview | `.sdd-toolkit/features/[slug]/index.md` | Objective + roadmap |
|
|
87
|
+
| State | `.sdd-toolkit/features/[slug]/state.md` | Progress + context |
|
|
88
|
+
| Milestones | `.sdd-toolkit/features/[slug]/MT01.md` | Milestone tasks |
|
|
89
|
+
|
|
90
|
+
**`index.md` Structure:**
|
|
91
|
+
```markdown
|
|
92
|
+
# ๐ Feature: [Name]
|
|
93
|
+
|
|
94
|
+
## Overview
|
|
95
|
+
- **Objective:** [Value description]
|
|
96
|
+
- **Linked Requirements:** [FR-XXX, FR-YYY]
|
|
97
|
+
|
|
98
|
+
## Roadmap
|
|
99
|
+
- **MT01:** [Milestone Name]
|
|
100
|
+
- **MT02:** [Milestone Name]
|
|
101
|
+
|
|
102
|
+
## Dependencies
|
|
103
|
+
- Depends on: [other features]
|
|
104
|
+
- Blocks: [other features]
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**`state.md` Structure:**
|
|
108
|
+
```markdown
|
|
109
|
+
# ๐ Feature: [Name] - State & Context
|
|
110
|
+
|
|
111
|
+
## Progress
|
|
112
|
+
- **MT01:** โณ Not Started (0/X tasks)
|
|
113
|
+
- **MT02:** ๐ In Progress (Y/Z tasks)
|
|
114
|
+
|
|
115
|
+
## Current Work
|
|
116
|
+
- **Last Completed Task:** [Task_ID]
|
|
117
|
+
- **Current Task:** [Task_ID]
|
|
118
|
+
|
|
119
|
+
## Technical Context (Created Files)
|
|
120
|
+
[File list]
|
|
121
|
+
|
|
122
|
+
## Key Decisions
|
|
123
|
+
[YYYY-MM-DD] [DT] Description
|
|
124
|
+
|
|
125
|
+
## Known Issues
|
|
126
|
+
[YYYY-MM-DD] [ISSUE] Description
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
**Actions after creation:**
|
|
130
|
+
- ALWAYS update `.sdd-toolkit/context.md` with the new feature
|
|
131
|
+
- Initial status: "Not Started"
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
### Executed Tasks (Coder ๐ป)
|
|
136
|
+
|
|
137
|
+
| Artifact | Location | Description |
|
|
138
|
+
|----------|----------|-------------|
|
|
139
|
+
| Execution log | `.sdd-toolkit/logs/executions/[Task_ID].md` | What was done |
|
|
140
|
+
|
|
141
|
+
**Execution log structure:**
|
|
142
|
+
```markdown
|
|
143
|
+
**Task:** [Task_ID]
|
|
144
|
+
**Status:** Completed
|
|
145
|
+
**Feature:** [feature-slug]
|
|
146
|
+
|
|
147
|
+
**Changes:**
|
|
148
|
+
- Created `src/components/Button.tsx`
|
|
149
|
+
- Updated `src/utils/helpers.ts`
|
|
150
|
+
|
|
151
|
+
**Technical Reasoning:**
|
|
152
|
+
- Decision A: Technical justification.
|
|
153
|
+
|
|
154
|
+
**Self-Check:**
|
|
155
|
+
- [x] Linter Passed
|
|
156
|
+
- [x] Tests Passed (if applicable)
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
**Actions after each task:**
|
|
160
|
+
1. Create log in `.sdd-toolkit/logs/executions/[Task_ID].md`
|
|
161
|
+
2. Update `.sdd-toolkit/features/[slug]/state.md` (Progress, Current Work, Files)
|
|
162
|
+
3. Update `.sdd-toolkit/context.md` (Feature Matrix)
|
|
163
|
+
4. Mark task as completed in `[MILESTONE].md`
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
### Reviews (QA Engineer ๐)
|
|
168
|
+
|
|
169
|
+
| Artifact | Location | Description |
|
|
170
|
+
|----------|----------|-------------|
|
|
171
|
+
| Review report | `.sdd-toolkit/logs/reviews/[Task_ID]-REVIEW.md` | Approval/Rejection |
|
|
172
|
+
|
|
173
|
+
**Report structure:**
|
|
174
|
+
```markdown
|
|
175
|
+
### ๐ฌ REVIEW RECORD
|
|
176
|
+
|
|
177
|
+
**Task_ID:** [Task_ID]
|
|
178
|
+
**Reviewer:** Senior QA Engineer
|
|
179
|
+
**Status:** Approved / Rejected
|
|
180
|
+
|
|
181
|
+
**Checklist:**
|
|
182
|
+
- [x] Business logic verified
|
|
183
|
+
- [x] Adequate test coverage
|
|
184
|
+
- [x] DoD compliance
|
|
185
|
+
|
|
186
|
+
**Items for Correction:** (if rejected)
|
|
187
|
+
- [Problem description]
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
**Actions after review:**
|
|
191
|
+
1. Create report in `.sdd-toolkit/logs/reviews/[Task_ID]-REVIEW.md`
|
|
192
|
+
2. Update `.sdd-toolkit/features/[slug]/state.md`
|
|
193
|
+
3. If approved: indicate next task or milestone
|
|
194
|
+
4. If rejected: list items for correction
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
### Releases (Release Manager ๐ฆ)
|
|
199
|
+
|
|
200
|
+
| Artifact | Location | Description |
|
|
201
|
+
|----------|----------|-------------|
|
|
202
|
+
| Changelog | `changelog.md` (project root) | Version history |
|
|
203
|
+
| Archived logs | `.sdd-toolkit/logs/archive/[feature-slug]/` | Processed logs |
|
|
204
|
+
|
|
205
|
+
**Changelog structure:**
|
|
206
|
+
```markdown
|
|
207
|
+
## [v1.0.1] - 2024-03-20
|
|
208
|
+
|
|
209
|
+
### Added
|
|
210
|
+
- New feature X
|
|
211
|
+
|
|
212
|
+
### Changed
|
|
213
|
+
- Improvements to Y
|
|
214
|
+
|
|
215
|
+
### Fixed
|
|
216
|
+
- Bug Z
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
**Actions after release:**
|
|
220
|
+
1. Add version to top of `changelog.md`
|
|
221
|
+
2. Move logs from `executions/` and `reviews/` to `archive/[feature-slug]/`
|
|
222
|
+
3. Update `.sdd-toolkit/context.md` to mark feature as "Completed"
|
|
223
|
+
4. Update `.sdd-toolkit/system.md` if necessary
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
## ๐ท๏ธ Standard Naming Conventions
|
|
228
|
+
|
|
229
|
+
| Element | Format | Example |
|
|
230
|
+
|---------|--------|---------|
|
|
231
|
+
| Feature slug | `kebab-case` | `user-authentication` |
|
|
232
|
+
| Milestone | `MTXX` | `MT01`, `MT02` |
|
|
233
|
+
| Task ID | `MTXX-task Y` | `MT01-task 1` |
|
|
234
|
+
| Functional Requirement | `FR-XXX` | `FR-001` |
|
|
235
|
+
| Business Rule | `BR-XXX` | `BR-001` |
|
|
236
|
+
| Non-Functional Requirement | `NFR-XXX` | `NFR-001` |
|
|
237
|
+
| Temporary features | `fix-[name]` or `refactor-[name]` | `fix-login-bug` |
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
## โ ๏ธ Critical Rules
|
|
242
|
+
|
|
243
|
+
1. **Logs are global** โ DO NOT create `logs/` folder inside features
|
|
244
|
+
2. **Always update state.md** โ After EACH executed task
|
|
245
|
+
3. **Always update context.md** โ After feature status changes
|
|
246
|
+
4. **Maximum 5 tasks per milestone** โ If exceeded, create new milestone
|
|
247
|
+
5. **Do not delete logs** โ Archive in `logs/archive/` after release
|
|
248
|
+
6. **Language** โ Respond in the user's language (English by default)
|