@schilling.mark.a/software-methodology 1.0.0 → 1.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.
- package/.github/copilot-instructions.md +159 -0
- package/README.md +172 -6
- package/docs/story-map/backbone.md +141 -0
- package/docs/story-map/releases/r1-walking-skeleton.md +152 -0
- package/docs/story-map/user-tasks/ACT-001-task-001.md +45 -0
- package/docs/story-map/user-tasks/ACT-001-task-002.md +48 -0
- package/docs/story-map/user-tasks/ACT-002-task-001.md +47 -0
- package/docs/story-map/user-tasks/ACT-002-task-002.md +47 -0
- package/docs/story-map/user-tasks/ACT-002-task-003.md +46 -0
- package/docs/story-map/user-tasks/ACT-003-task-001.md +47 -0
- package/docs/story-map/user-tasks/ACT-003-task-002.md +46 -0
- package/docs/story-map/user-tasks/ACT-003-task-003.md +49 -0
- package/docs/story-map/user-tasks/ACT-003-task-004.md +47 -0
- package/docs/story-map/user-tasks/ACT-004-task-001.md +48 -0
- package/docs/story-map/user-tasks/ACT-004-task-002.md +49 -0
- package/docs/story-map/user-tasks/ACT-004-task-003.md +47 -0
- package/docs/story-map/user-tasks/ACT-005-task-001.md +47 -0
- package/docs/story-map/user-tasks/ACT-005-task-002.md +48 -0
- package/docs/story-map/user-tasks/ACT-005-task-003.md +48 -0
- package/docs/story-map/user-tasks/ACT-005-task-004.md +48 -0
- package/docs/story-map/user-tasks/ACT-006-task-001.md +47 -0
- package/docs/story-map/user-tasks/ACT-006-task-002.md +46 -0
- package/docs/story-map/user-tasks/ACT-006-task-003.md +47 -0
- package/docs/story-map/user-tasks/ACT-006-task-004.md +46 -0
- package/docs/story-map/user-tasks/ACT-007-task-001.md +48 -0
- package/docs/story-map/user-tasks/ACT-007-task-002.md +47 -0
- package/docs/story-map/user-tasks/ACT-007-task-003.md +47 -0
- package/docs/story-map/user-tasks/ACT-007-task-004.md +48 -0
- package/docs/story-map/user-tasks/ACT-008-task-001.md +48 -0
- package/docs/story-map/user-tasks/ACT-008-task-002.md +48 -0
- package/docs/story-map/user-tasks/ACT-008-task-003.md +47 -0
- package/docs/story-map/user-tasks/ACT-008-task-004.md +48 -0
- package/docs/story-map/walking-skeleton.md +95 -0
- package/docs/value-proposition-canvas.md +171 -0
- package/features/mcp-server/query-vpc.feature +48 -0
- package/features/mcp-server/read-reference.feature +41 -0
- package/features/mcp-server/read-skill.feature +33 -0
- package/features/mcp-server/search-guidance.feature +42 -0
- package/features/mcp-server/suggest-next-step.feature +61 -0
- package/features/mcp-server/validate-gherkin.feature +54 -0
- package/mcp-server/QUICKSTART.md +172 -0
- package/mcp-server/README.md +171 -0
- package/mcp-server/dist/index.d.ts +12 -0
- package/mcp-server/dist/index.js +296 -0
- package/mcp-server/dist/repository.d.ts +59 -0
- package/mcp-server/dist/repository.js +211 -0
- package/mcp-server/dist/tools/gherkin-validator.d.ts +16 -0
- package/mcp-server/dist/tools/gherkin-validator.js +152 -0
- package/mcp-server/dist/tools/guidance-searcher.d.ts +11 -0
- package/mcp-server/dist/tools/guidance-searcher.js +34 -0
- package/mcp-server/dist/tools/next-step-suggester.d.ts +16 -0
- package/mcp-server/dist/tools/next-step-suggester.js +210 -0
- package/mcp-server/dist/tools/reference-reader.d.ts +17 -0
- package/mcp-server/dist/tools/reference-reader.js +57 -0
- package/mcp-server/dist/tools/skill-reader.d.ts +17 -0
- package/mcp-server/dist/tools/skill-reader.js +38 -0
- package/mcp-server/dist/tools/vpc-querier.d.ts +37 -0
- package/mcp-server/dist/tools/vpc-querier.js +158 -0
- package/mcp-server/package.json +42 -0
- package/mcp-server/src/index.ts +331 -0
- package/mcp-server/src/repository.ts +254 -0
- package/mcp-server/src/tools/gherkin-validator.ts +206 -0
- package/mcp-server/src/tools/guidance-searcher.ts +42 -0
- package/mcp-server/src/tools/next-step-suggester.ts +243 -0
- package/mcp-server/src/tools/reference-reader.ts +71 -0
- package/mcp-server/src/tools/skill-reader.ts +47 -0
- package/mcp-server/src/tools/vpc-querier.ts +201 -0
- package/mcp-server/tsconfig.json +17 -0
- package/package.json +8 -2
|
@@ -97,6 +97,163 @@ continuous-improvement (feeds back to any upstream skill)
|
|
|
97
97
|
3. Check `/features/*.feature` files for related Gherkin scenarios
|
|
98
98
|
4. Suggest acceptance tests first, then unit tests for edge cases
|
|
99
99
|
|
|
100
|
+
## Advanced Capabilities
|
|
101
|
+
|
|
102
|
+
### When asked "What should I do next?" or "What's the next step?"
|
|
103
|
+
|
|
104
|
+
Analyze the project state by checking for key files, then suggest the appropriate next skill:
|
|
105
|
+
|
|
106
|
+
1. **No VPC exists** (`/docs/value-proposition-canvas.md` missing)
|
|
107
|
+
→ Suggest creating VPC using `product-strategy/SKILL.md`
|
|
108
|
+
→ Explain: "VPC defines customer jobs, pains, and gains that inform all downstream work"
|
|
109
|
+
|
|
110
|
+
2. **VPC exists, no story map** (`/docs/story-map/backbone.md` missing)
|
|
111
|
+
→ Suggest creating story map backbone using `story-mapping/SKILL.md`
|
|
112
|
+
→ Explain: "Derive backbone activities from VPC customer jobs"
|
|
113
|
+
|
|
114
|
+
3. **Story map exists, no feature files** (`/features/` empty or missing)
|
|
115
|
+
→ Suggest writing Gherkin scenarios using `bdd-specification/SKILL.md`
|
|
116
|
+
→ Explain: "Each scenario's 'So that' clause should trace to a VPC gain"
|
|
117
|
+
|
|
118
|
+
4. **Feature files exist, no tests**
|
|
119
|
+
→ Suggest RED phase using `atdd-workflow/references/red-phase.md`
|
|
120
|
+
→ Explain: "Write failing acceptance test before implementation"
|
|
121
|
+
|
|
122
|
+
5. **Tests exist and failing**
|
|
123
|
+
→ Suggest GREEN phase using `atdd-workflow/references/green-phase.md`
|
|
124
|
+
→ Explain: "Implement minimum code to pass tests"
|
|
125
|
+
|
|
126
|
+
6. **Tests passing**
|
|
127
|
+
→ Suggest REFACTOR phase using `atdd-workflow/references/refactor-phase.md` and `clean-code/SKILL.md`
|
|
128
|
+
→ Explain: "Apply SOLID principles while keeping tests green"
|
|
129
|
+
|
|
130
|
+
7. **Code implemented, no pipeline**
|
|
131
|
+
→ Suggest CI/CD setup using `cicd-pipeline/SKILL.md`
|
|
132
|
+
→ Explain: "Automate build, test, and deployment"
|
|
133
|
+
|
|
134
|
+
8. **Everything exists**
|
|
135
|
+
→ Suggest continuous improvement using `continuous-improvement/SKILL.md`
|
|
136
|
+
→ Explain: "Measure outcomes, perform root cause analysis, update artifacts"
|
|
137
|
+
|
|
138
|
+
### When asked to validate Gherkin scenarios
|
|
139
|
+
|
|
140
|
+
Check the feature file content against `bdd-specification/references/gherkin-patterns.md`:
|
|
141
|
+
|
|
142
|
+
**Required elements:**
|
|
143
|
+
- Feature declaration with user story (As a... I want... So that...)
|
|
144
|
+
- "So that" clause traces to VPC gain
|
|
145
|
+
- Scenarios use Given-When-Then format
|
|
146
|
+
- Given steps in past tense (establish existing state)
|
|
147
|
+
- When steps in present tense (single user action)
|
|
148
|
+
- Then steps verify observable outcomes (not internal state)
|
|
149
|
+
|
|
150
|
+
**Common issues to flag:**
|
|
151
|
+
- Missing user story format
|
|
152
|
+
- No VPC traceability in "So that" clause
|
|
153
|
+
- Given steps in future tense
|
|
154
|
+
- Then steps referencing database/logs/internal state (should be user-observable)
|
|
155
|
+
- Multiple scenarios with same structure (suggest Scenario Outline)
|
|
156
|
+
|
|
157
|
+
**Response format:**
|
|
158
|
+
```
|
|
159
|
+
✅ Validation PASSED / ❌ Validation FAILED
|
|
160
|
+
|
|
161
|
+
Errors:
|
|
162
|
+
- [List critical issues]
|
|
163
|
+
|
|
164
|
+
Warnings:
|
|
165
|
+
- [List best practice violations]
|
|
166
|
+
|
|
167
|
+
Suggestions:
|
|
168
|
+
- [List optimization opportunities]
|
|
169
|
+
|
|
170
|
+
Reference: bdd-specification/references/gherkin-patterns.md
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
### When asked to search for guidance on a topic
|
|
174
|
+
|
|
175
|
+
Search across skills and references for relevant content:
|
|
176
|
+
|
|
177
|
+
**Process:**
|
|
178
|
+
1. Identify keywords from the question
|
|
179
|
+
2. Check relevant skill SKILL.md files
|
|
180
|
+
3. Check relevant reference documents
|
|
181
|
+
4. Return top 3-5 matches with file paths
|
|
182
|
+
|
|
183
|
+
**Example queries and where to look:**
|
|
184
|
+
|
|
185
|
+
- "test before code" / "TDD" / "RED-GREEN-REFACTOR"
|
|
186
|
+
→ `atdd-workflow/SKILL.md`, `atdd-workflow/references/red-phase.md`
|
|
187
|
+
|
|
188
|
+
- "design patterns" / "SOLID" / "clean code"
|
|
189
|
+
→ `clean-code/SKILL.md`, `clean-code/references/solid.md`, `clean-code/references/*-patterns.md`
|
|
190
|
+
|
|
191
|
+
- "many parameters" / "object creation"
|
|
192
|
+
→ `clean-code/references/creational-patterns.md` (Builder pattern)
|
|
193
|
+
|
|
194
|
+
- "hard to test" / "dependencies"
|
|
195
|
+
→ `clean-code/references/solid.md` (Dependency Inversion)
|
|
196
|
+
|
|
197
|
+
- "Given When Then" / "BDD" / "Gherkin"
|
|
198
|
+
→ `bdd-specification/references/gherkin-patterns.md`
|
|
199
|
+
|
|
200
|
+
- "deployment" / "CI/CD" / "pipeline"
|
|
201
|
+
→ `cicd-pipeline/SKILL.md`, `cicd-pipeline/references/pipeline-stages.md`
|
|
202
|
+
|
|
203
|
+
**Response format:**
|
|
204
|
+
```
|
|
205
|
+
# Search Results for '[query]'
|
|
206
|
+
|
|
207
|
+
1. [skill-name]/[file] (most relevant)
|
|
208
|
+
[Relevant excerpt from content]
|
|
209
|
+
|
|
210
|
+
2. [skill-name]/[file]
|
|
211
|
+
[Relevant excerpt]
|
|
212
|
+
|
|
213
|
+
3. [skill-name]/[file]
|
|
214
|
+
[Relevant excerpt]
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### When asked about VPC content
|
|
218
|
+
|
|
219
|
+
Query `/docs/value-proposition-canvas.md` to extract specific information:
|
|
220
|
+
|
|
221
|
+
**Available segments:**
|
|
222
|
+
- Individual Developer
|
|
223
|
+
- Development Team
|
|
224
|
+
- Engineering Leader / Coach
|
|
225
|
+
|
|
226
|
+
**Query patterns:**
|
|
227
|
+
|
|
228
|
+
- "What are the customer segments?" → List all segment names
|
|
229
|
+
- "What are the pains for [segment]?" → Extract pains from that segment's Customer Profile
|
|
230
|
+
- "What are the gains for [segment]?" → Extract gains from that segment's Customer Profile
|
|
231
|
+
- "What are the jobs for [segment]?" → Extract customer jobs from that segment
|
|
232
|
+
- "Search VPC for [term]" → Find pains and gains containing that term across all segments
|
|
233
|
+
|
|
234
|
+
**Response format:**
|
|
235
|
+
```
|
|
236
|
+
# [Query Title]
|
|
237
|
+
|
|
238
|
+
## Segment: [Segment Name]
|
|
239
|
+
|
|
240
|
+
[Relevant pains/gains/jobs numbered list]
|
|
241
|
+
|
|
242
|
+
Note: Each pain/gain should maintain traceability to downstream artifacts.
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
### When asked to list skills or references
|
|
246
|
+
|
|
247
|
+
**List all skills:**
|
|
248
|
+
Provide the 11 skills with brief descriptions from their SKILL.md frontmatter or first paragraph.
|
|
249
|
+
|
|
250
|
+
**List references for a skill:**
|
|
251
|
+
Check the skill's `references/` directory and list available markdown files.
|
|
252
|
+
|
|
253
|
+
Example:
|
|
254
|
+
- "What references are available for clean-code?"
|
|
255
|
+
→ List: `solid.md`, `creational-patterns.md`, `structural-patterns.md`, `behavioral-patterns.md`, `enterprise-patterns.md`
|
|
256
|
+
|
|
100
257
|
## Important Reminders
|
|
101
258
|
|
|
102
259
|
- **Always start with business value**: Reference the VPC before suggesting features
|
|
@@ -104,3 +261,5 @@ continuous-improvement (feeds back to any upstream skill)
|
|
|
104
261
|
- **Use ubiquitous language**: Domain terms from `/docs/ubiquitous-language.md`
|
|
105
262
|
- **Patterns over code**: Suggest patterns from `clean-code/references/` before generating code
|
|
106
263
|
- **Incremental delivery**: Align with release plan in `/docs/story-map/releases/`
|
|
264
|
+
- **Project state awareness**: Analyze what exists before suggesting next steps
|
|
265
|
+
- **Traceability**: Every feature should trace from VPC gain → Gherkin scenario → test → code
|
package/README.md
CHANGED
|
@@ -1,10 +1,29 @@
|
|
|
1
1
|
# software-methodology
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@schilling.mark.a/software-methodology)
|
|
4
|
+
[](https://www.npmjs.com/package/@schilling.mark.a/software-methodology)
|
|
5
|
+
|
|
3
6
|
A comprehensive software development methodology from product strategy through production deployment. Eleven skills, each with a clear scope and a defined position in the chain. Together they form a closed loop: the last skill (continuous-improvement) feeds findings back into any skill upstream.
|
|
4
7
|
|
|
5
|
-
**Works with:**
|
|
8
|
+
**Works with:**
|
|
9
|
+
- 🤖 **Claude Desktop** (via MCP server) — Structured tools for querying methodology
|
|
10
|
+
- 🔮 **GitHub Copilot** (via `.github/copilot-instructions.md`) — AI-guided methodology navigation
|
|
11
|
+
- 📝 **VS Code** — Direct markdown file access and workspace navigation
|
|
12
|
+
- 🎯 **Claude Code** — Deployable .skill files for autonomous coding
|
|
13
|
+
- 🛡️ **atdd-guardian** (via git hooks & CI/CD) — Workflow enforcement and validation
|
|
14
|
+
|
|
15
|
+
**Quick Start:** See [`docs/QUICKSTART.md`](docs/QUICKSTART.md) | **Skills Index:** [`docs/SKILLS.md`](docs/SKILLS.md) | **MCP Server:** [`mcp-server/QUICKSTART.md`](mcp-server/QUICKSTART.md) | **Sharing Guide:** [`docs/SHARING.md`](docs/SHARING.md)
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npm install @schilling.mark.a/software-methodology
|
|
21
|
+
```
|
|
6
22
|
|
|
7
|
-
|
|
23
|
+
Or clone from source:
|
|
24
|
+
```bash
|
|
25
|
+
git clone https://github.com/MarkSchilling/software-methodology.git
|
|
26
|
+
```
|
|
8
27
|
|
|
9
28
|
## The Chain
|
|
10
29
|
|
|
@@ -85,15 +104,18 @@ Each skill's `SKILL.md` tells you what to read before starting and what it produ
|
|
|
85
104
|
|
|
86
105
|
### Using with GitHub Copilot / VS Code
|
|
87
106
|
|
|
88
|
-
**1.
|
|
107
|
+
**1. Install the methodology.**
|
|
89
108
|
|
|
90
|
-
|
|
109
|
+
Choose one of these installation methods:
|
|
91
110
|
|
|
92
111
|
```bash
|
|
93
|
-
#
|
|
112
|
+
# Option 1: Install via npm (recommended)
|
|
113
|
+
npm install @schilling.mark.a/software-methodology
|
|
114
|
+
|
|
115
|
+
# Option 2: Add as a submodule
|
|
94
116
|
git submodule add https://github.com/MarkSchilling/software-methodology.git methodology
|
|
95
117
|
|
|
96
|
-
#
|
|
118
|
+
# Option 3: Clone separately
|
|
97
119
|
git clone https://github.com/MarkSchilling/software-methodology.git
|
|
98
120
|
```
|
|
99
121
|
|
|
@@ -127,6 +149,150 @@ In VS Code or GitHub, ask Copilot questions like:
|
|
|
127
149
|
|
|
128
150
|
Copilot will reference the appropriate skill files and guide you through the process.
|
|
129
151
|
|
|
152
|
+
### Using with Claude Desktop (MCP Server)
|
|
153
|
+
|
|
154
|
+
**1. Install the methodology and build the MCP server.**
|
|
155
|
+
|
|
156
|
+
```bash
|
|
157
|
+
# Option 1: Install via npm (recommended)
|
|
158
|
+
npm install @schilling.mark.a/software-methodology
|
|
159
|
+
cd node_modules/@schilling.mark.a/software-methodology/mcp-server
|
|
160
|
+
npm install
|
|
161
|
+
npm run build
|
|
162
|
+
|
|
163
|
+
# Option 2: Clone and build from source
|
|
164
|
+
git clone https://github.com/MarkSchilling/software-methodology.git
|
|
165
|
+
cd software-methodology/mcp-server
|
|
166
|
+
npm install
|
|
167
|
+
npm run build
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
**2. Configure Claude Desktop.**
|
|
171
|
+
|
|
172
|
+
Edit your Claude Desktop config file:
|
|
173
|
+
|
|
174
|
+
**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
175
|
+
|
|
176
|
+
Add the MCP server (use the path matching your installation method):
|
|
177
|
+
|
|
178
|
+
```json
|
|
179
|
+
{
|
|
180
|
+
"mcpServers": {
|
|
181
|
+
"software-methodology": {
|
|
182
|
+
"command": "node",
|
|
183
|
+
"args": [
|
|
184
|
+
"/absolute/path/to/node_modules/@schilling.mark.a/software-methodology/mcp-server/dist/index.js"
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
**Note:** If you cloned from source, use the path to your clone instead:
|
|
192
|
+
```
|
|
193
|
+
"/absolute/path/to/software-methodology/mcp-server/dist/index.js"
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
**3. Restart Claude Desktop.**
|
|
197
|
+
|
|
198
|
+
The MCP server will start automatically and provide structured access to the methodology.
|
|
199
|
+
|
|
200
|
+
**4. Use the MCP tools.**
|
|
201
|
+
|
|
202
|
+
In Claude Desktop, ask questions like:
|
|
203
|
+
- "List all available skills"
|
|
204
|
+
- "Show me the SOLID principles"
|
|
205
|
+
- "What are the pains for Individual Developer?"
|
|
206
|
+
- "What should I do next?" (analyzes your project state)
|
|
207
|
+
- "Search for test-first guidance"
|
|
208
|
+
- "Validate this Gherkin scenario" (checks against best practices)
|
|
209
|
+
|
|
210
|
+
See [`mcp-server/QUICKSTART.md`](mcp-server/QUICKSTART.md) for detailed setup and troubleshooting.
|
|
211
|
+
|
|
212
|
+
### Using with atdd-guardian (Workflow Enforcement)
|
|
213
|
+
|
|
214
|
+
**atdd-guardian** is a complementary tool that **enforces** the methodology, while software-methodology MCP **guides** you through it. Think of software-methodology as knowledge and atdd-guardian as guardrails.
|
|
215
|
+
|
|
216
|
+
**Complementary Roles:**
|
|
217
|
+
|
|
218
|
+
| Tool | Role | How It Helps |
|
|
219
|
+
|------|------|--------------|
|
|
220
|
+
| **software-methodology MCP** | Knowledge & Guidance | Reads skills, queries VPC, suggests next steps, validates Gherkin syntax |
|
|
221
|
+
| **atdd-guardian** | Workflow Enforcement | Blocks invalid commits, enforces RED-GREEN-REFACTOR, checks test coverage, validates commit messages |
|
|
222
|
+
|
|
223
|
+
**1. Install atdd-guardian.**
|
|
224
|
+
|
|
225
|
+
Clone the repository and follow its setup instructions:
|
|
226
|
+
|
|
227
|
+
```bash
|
|
228
|
+
git clone https://github.com/MarkSchilling/atdd-guardian.git
|
|
229
|
+
cd atdd-guardian
|
|
230
|
+
# Follow installation instructions in atdd-guardian/README.md
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
**2. Typical workflow using both tools.**
|
|
234
|
+
|
|
235
|
+
```bash
|
|
236
|
+
# 1. Use software-methodology MCP in Claude Desktop to plan
|
|
237
|
+
# "What should I do next?"
|
|
238
|
+
# → Suggests: "Write Gherkin scenario for user login"
|
|
239
|
+
|
|
240
|
+
# 2. Write the scenario
|
|
241
|
+
vim features/authentication.feature
|
|
242
|
+
|
|
243
|
+
# 3. Use MCP to validate syntax
|
|
244
|
+
# "Validate this Gherkin scenario"
|
|
245
|
+
# → Returns validation feedback
|
|
246
|
+
|
|
247
|
+
# 4. Try to commit (atdd-guardian enforces RED phase)
|
|
248
|
+
git add features/authentication.feature
|
|
249
|
+
git commit -m "Add login scenario"
|
|
250
|
+
# ✅ Passes: Gherkin scenarios can be committed before tests
|
|
251
|
+
|
|
252
|
+
# 5. Write failing test (RED phase)
|
|
253
|
+
vim tests/authentication.test.ts
|
|
254
|
+
|
|
255
|
+
# 6. Try to commit without running tests (atdd-guardian blocks)
|
|
256
|
+
git add tests/authentication.test.ts
|
|
257
|
+
git commit -m "RED: Add login test"
|
|
258
|
+
# ❌ Blocked: "Tests must pass before committing RED phase"
|
|
259
|
+
|
|
260
|
+
# 7. Run tests, verify failure, commit
|
|
261
|
+
npm test # Fails as expected
|
|
262
|
+
git commit -m "RED: Add login test - FAILING as expected"
|
|
263
|
+
# ✅ Passes: RED commit with failing test documented
|
|
264
|
+
|
|
265
|
+
# 8. Implement feature (GREEN phase)
|
|
266
|
+
vim src/auth/login.ts
|
|
267
|
+
|
|
268
|
+
# 9. Try to commit without tests passing (atdd-guardian blocks)
|
|
269
|
+
git add src/auth/login.ts
|
|
270
|
+
git commit -m "GREEN: Implement login"
|
|
271
|
+
# ❌ Blocked: "Tests must pass in GREEN phase"
|
|
272
|
+
|
|
273
|
+
# 10. Fix implementation, run tests, commit
|
|
274
|
+
npm test # Now passes
|
|
275
|
+
git commit -m "GREEN: Implement login - tests passing"
|
|
276
|
+
# ✅ Passes: GREEN commit with passing tests
|
|
277
|
+
|
|
278
|
+
# 11. Use MCP for refactoring guidance
|
|
279
|
+
# "Search for guidance on dependency injection"
|
|
280
|
+
# → Returns clean-code references
|
|
281
|
+
|
|
282
|
+
# 12. Refactor (atdd-guardian requires tests stay green)
|
|
283
|
+
vim src/auth/login.ts
|
|
284
|
+
npm test # Must still pass
|
|
285
|
+
git commit -m "REFACTOR: Extract authentication service"
|
|
286
|
+
# ✅ Passes: REFACTOR with tests still passing
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
**3. How they work together.**
|
|
290
|
+
|
|
291
|
+
- **software-methodology MCP:** Answers "What should I do?" and "Is this right?" — provides methodology knowledge
|
|
292
|
+
- **atdd-guardian:** Enforces "You must follow the rules" — prevents workflow violations
|
|
293
|
+
|
|
294
|
+
Both tools reference the same methodology, creating a complete system: one guides you forward, the other prevents you from going backward.
|
|
295
|
+
|
|
130
296
|
### General Workflow (All Tools)
|
|
131
297
|
|
|
132
298
|
1. **Start with product-strategy** — Create Business Model Canvas and Value Proposition Canvas
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# Story Map Backbone
|
|
2
|
+
|
|
3
|
+
**Created:** February 16, 2026
|
|
4
|
+
**Last updated:** February 16, 2026
|
|
5
|
+
**Product:** Software Methodology
|
|
6
|
+
|
|
7
|
+
**Source:** `/docs/value-proposition-canvas.md`
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## User Activities
|
|
12
|
+
|
|
13
|
+
### ACT-001: Define Business Value
|
|
14
|
+
**User Goal:** Understand what problem the product solves and for whom
|
|
15
|
+
|
|
16
|
+
**Value Proposition Link:**
|
|
17
|
+
- Pain relieved: Unclear or changing requirements lead to rework; Disconnect between "what we built" and "what users needed"
|
|
18
|
+
- Gain created: Trace code back to business value; Deliver features users actually want and use
|
|
19
|
+
|
|
20
|
+
**Reference Skills:** product-strategy
|
|
21
|
+
|
|
22
|
+
**Tasks:**
|
|
23
|
+
- [ACT-001-task-001](user-tasks/ACT-001-task-001.md): Create Business Model Canvas
|
|
24
|
+
- [ACT-001-task-002](user-tasks/ACT-001-task-002.md): Create Value Proposition Canvas
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
### ACT-002: Understand User Needs
|
|
29
|
+
**User Goal:** Identify who users are, what they need, and how they currently accomplish their goals
|
|
30
|
+
|
|
31
|
+
**Value Proposition Link:**
|
|
32
|
+
- Pain relieved: Disconnect between built vs needed; No shared language between developers, product, and stakeholders
|
|
33
|
+
- Gain created: Deliver features users actually want; Have clear criteria for "done"
|
|
34
|
+
|
|
35
|
+
**Reference Skills:** ux-research
|
|
36
|
+
|
|
37
|
+
**Tasks:**
|
|
38
|
+
- [ACT-002-task-001](user-tasks/ACT-002-task-001.md): Create user personas
|
|
39
|
+
- [ACT-002-task-002](user-tasks/ACT-002-task-002.md): Map user journeys
|
|
40
|
+
- [ACT-002-task-003](user-tasks/ACT-002-task-003.md): Document mental models
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
### ACT-003: Plan Features
|
|
45
|
+
**User Goal:** Organize user activities and tasks into a navigable plan that shows what to build and when
|
|
46
|
+
|
|
47
|
+
**Value Proposition Link:**
|
|
48
|
+
- Pain relieved: Hard to know what to build first or how to prioritize
|
|
49
|
+
- Gain created: Ship smaller increments more frequently; Have clear criteria for "done" before starting
|
|
50
|
+
|
|
51
|
+
**Reference Skills:** story-mapping
|
|
52
|
+
|
|
53
|
+
**Tasks:**
|
|
54
|
+
- [ACT-003-task-001](user-tasks/ACT-003-task-001.md): Create story map backbone
|
|
55
|
+
- [ACT-003-task-002](user-tasks/ACT-003-task-002.md): Define walking skeleton
|
|
56
|
+
- [ACT-003-task-003](user-tasks/ACT-003-task-003.md): Plan release 1
|
|
57
|
+
- [ACT-003-task-004](user-tasks/ACT-003-task-004.md): Break down activities into tasks
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
### ACT-004: Specify Behavior
|
|
62
|
+
**User Goal:** Define expected behavior with concrete examples before writing code
|
|
63
|
+
|
|
64
|
+
**Value Proposition Link:**
|
|
65
|
+
- Pain relieved: Unclear requirements lead to rework; No shared language between roles
|
|
66
|
+
- Gain created: Have clear criteria for "done" before starting; Establish shared understanding across roles
|
|
67
|
+
|
|
68
|
+
**Reference Skills:** bdd-specification
|
|
69
|
+
|
|
70
|
+
**Tasks:**
|
|
71
|
+
- [ACT-004-task-001](user-tasks/ACT-004-task-001.md): Run example mapping session
|
|
72
|
+
- [ACT-004-task-002](user-tasks/ACT-004-task-002.md): Write Gherkin scenarios
|
|
73
|
+
- [ACT-004-task-003](user-tasks/ACT-004-task-003.md): Review scenarios with stakeholders
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
### ACT-005: Design User Experience
|
|
78
|
+
**User Goal:** Design how users interact with the product and ensure it's usable and accessible
|
|
79
|
+
|
|
80
|
+
**Value Proposition Link:**
|
|
81
|
+
- Pain relieved: Built features don't match what users expected
|
|
82
|
+
- Gain created: Deliver features users actually want; Users can accomplish tasks efficiently
|
|
83
|
+
|
|
84
|
+
**Reference Skills:** ux-design, ui-design-workflow, ui-design-system
|
|
85
|
+
|
|
86
|
+
**Tasks:**
|
|
87
|
+
- [ACT-005-task-001](user-tasks/ACT-005-task-001.md): Design information architecture
|
|
88
|
+
- [ACT-005-task-002](user-tasks/ACT-005-task-002.md): Create screen flows
|
|
89
|
+
- [ACT-005-task-003](user-tasks/ACT-005-task-003.md): Select UI components
|
|
90
|
+
- [ACT-005-task-004](user-tasks/ACT-005-task-004.md): Define acceptance targets
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
### ACT-006: Implement Features
|
|
95
|
+
**User Goal:** Write production code that passes acceptance tests and is maintainable
|
|
96
|
+
|
|
97
|
+
**Value Proposition Link:**
|
|
98
|
+
- Pain relieved: Writing tests after code feels like extra work; Code becomes messy over time
|
|
99
|
+
- Gain created: Feel confident refactoring; Spend less time debugging; Build transferable skills
|
|
100
|
+
|
|
101
|
+
**Reference Skills:** atdd-workflow, clean-code
|
|
102
|
+
|
|
103
|
+
**Tasks:**
|
|
104
|
+
- [ACT-006-task-001](user-tasks/ACT-006-task-001.md): Write failing acceptance test (RED)
|
|
105
|
+
- [ACT-006-task-002](user-tasks/ACT-006-task-002.md): Make test pass with minimum code (GREEN)
|
|
106
|
+
- [ACT-006-task-003](user-tasks/ACT-006-task-003.md): Refactor for maintainability
|
|
107
|
+
- [ACT-006-task-004](user-tasks/ACT-006-task-004.md): Review code against SOLID principles
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
### ACT-007: Deploy Safely
|
|
112
|
+
**User Goal:** Ship code to production with confidence and ability to rollback if needed
|
|
113
|
+
|
|
114
|
+
**Value Proposition Link:**
|
|
115
|
+
- Pain relieved: Fear of breaking existing functionality; Unclear if changes introduced regressions
|
|
116
|
+
- Gain created: Make confident changes; Deploy smaller increments more frequently
|
|
117
|
+
|
|
118
|
+
**Reference Skills:** cicd-pipeline
|
|
119
|
+
|
|
120
|
+
**Tasks:**
|
|
121
|
+
- [ACT-007-task-001](user-tasks/ACT-007-task-001.md): Set up pipeline stages
|
|
122
|
+
- [ACT-007-task-002](user-tasks/ACT-007-task-002.md): Configure environment promotion
|
|
123
|
+
- [ACT-007-task-003](user-tasks/ACT-007-task-003.md): Implement deployment strategy
|
|
124
|
+
- [ACT-007-task-004](user-tasks/ACT-007-task-004.md): Test rollback procedure
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
### ACT-008: Measure and Improve
|
|
129
|
+
**User Goal:** Validate that shipped features deliver expected value and identify process improvements
|
|
130
|
+
|
|
131
|
+
**Value Proposition Link:**
|
|
132
|
+
- Pain relieved: Disconnect between built vs needed; Hard to prove ROI of quality practices
|
|
133
|
+
- Gain created: Demonstrate that quality practices increase delivery speed; Connect engineering to business outcomes
|
|
134
|
+
|
|
135
|
+
**Reference Skills:** continuous-improvement
|
|
136
|
+
|
|
137
|
+
**Tasks:**
|
|
138
|
+
- [ACT-008-task-001](user-tasks/ACT-008-task-001.md): Define success metrics
|
|
139
|
+
- [ACT-008-task-002](user-tasks/ACT-008-task-002.md): Collect measurement data
|
|
140
|
+
- [ACT-008-task-003](user-tasks/ACT-008-task-003.md): Perform root cause analysis
|
|
141
|
+
- [ACT-008-task-004](user-tasks/ACT-008-task-004.md): Update upstream artifacts
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
# Release 1 — Walking Skeleton
|
|
2
|
+
|
|
3
|
+
**Created:** February 16, 2026
|
|
4
|
+
**Product:** Software Methodology
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Enable a developer to complete their first end-to-end journey through the methodology: from defining business value to deploying working, tested code to production.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Target Date
|
|
15
|
+
|
|
16
|
+
*To be determined based on implementation approach (tooling, automation, documentation)*
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Value Proposition
|
|
21
|
+
|
|
22
|
+
### Job to be Done
|
|
23
|
+
- Ship working software that delivers business value (Individual Developer)
|
|
24
|
+
- Make confident changes without breaking existing functionality (Individual Developer)
|
|
25
|
+
- Align on what "done" means across team members (Development Team)
|
|
26
|
+
|
|
27
|
+
### Pain Relieved
|
|
28
|
+
- Unclear or changing requirements lead to rework (30-40% waste)
|
|
29
|
+
- Writing tests after code feels like extra work and is often skipped
|
|
30
|
+
- No shared language between developers, product, and stakeholders
|
|
31
|
+
|
|
32
|
+
### Gain Created
|
|
33
|
+
- Have clear criteria for "done" before starting work
|
|
34
|
+
- Trace code back to business value
|
|
35
|
+
- Spend less time debugging and more time building
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Included Tasks
|
|
40
|
+
|
|
41
|
+
### ACT-001: Define Business Value
|
|
42
|
+
- ✅ **ACT-001-task-002**: Create Value Proposition Canvas — **Must Have**
|
|
43
|
+
|
|
44
|
+
### ACT-002: Understand User Needs
|
|
45
|
+
- ❌ All tasks deferred to R2 — Can start with VPC customer jobs alone
|
|
46
|
+
|
|
47
|
+
### ACT-003: Plan Features
|
|
48
|
+
- ✅ **ACT-003-task-001**: Create story map backbone — **Must Have**
|
|
49
|
+
|
|
50
|
+
### ACT-004: Specify Behavior
|
|
51
|
+
- ✅ **ACT-004-task-002**: Write Gherkin scenarios — **Must Have**
|
|
52
|
+
|
|
53
|
+
### ACT-005: Design User Experience
|
|
54
|
+
- ❌ All tasks deferred to R2+ — Not all features require UX design (APIs, CLIs, backend services)
|
|
55
|
+
|
|
56
|
+
### ACT-006: Implement Features
|
|
57
|
+
- ✅ **ACT-006-task-001**: Write failing acceptance test (RED) — **Must Have**
|
|
58
|
+
- ✅ **ACT-006-task-002**: Make test pass with minimum code (GREEN) — **Must Have**
|
|
59
|
+
- ✅ **ACT-006-task-003**: Refactor for maintainability — **Must Have**
|
|
60
|
+
|
|
61
|
+
### ACT-007: Deploy Safely
|
|
62
|
+
- ✅ **ACT-007-task-001**: Set up pipeline stages — **Must Have**
|
|
63
|
+
|
|
64
|
+
### ACT-008: Measure and Improve
|
|
65
|
+
- ❌ All tasks deferred to R3 — Requires multiple delivery cycles to collect meaningful data
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Success Metrics
|
|
70
|
+
|
|
71
|
+
### User Can Complete These Actions
|
|
72
|
+
1. Define business value for a feature using VPC format
|
|
73
|
+
2. Derive 3-5 user activities from VPC customer jobs
|
|
74
|
+
3. Write 2-3 Gherkin scenarios that trace to VPC gains
|
|
75
|
+
4. Write failing acceptance test that verifies one scenario
|
|
76
|
+
5. Implement minimum code to pass the test
|
|
77
|
+
6. Apply one SOLID principle during refactoring
|
|
78
|
+
7. Deploy to production via automated pipeline
|
|
79
|
+
8. Trace deployed code back to original VPC gain
|
|
80
|
+
|
|
81
|
+
### Measurable Outcomes
|
|
82
|
+
- Time from "feature idea" to "code in production" under 4 hours for simple feature
|
|
83
|
+
- 100% of scenarios have corresponding acceptance tests
|
|
84
|
+
- 100% of production code traces to VPC gain via test → scenario → gain chain
|
|
85
|
+
- Zero manual deployment steps (fully automated pipeline)
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## Risks
|
|
90
|
+
|
|
91
|
+
| Risk | Impact | Mitigation |
|
|
92
|
+
|------|--------|-----------|
|
|
93
|
+
| Learning curve too steep for first-time users | High | Provide QUICKSTART.md with worked example; simplify walking skeleton further if needed |
|
|
94
|
+
| Pipeline setup complexity varies by tech stack | Medium | Document common pipeline configurations (GitHub Actions, GitLab CI, Jenkins); focus on principles not specific tools |
|
|
95
|
+
| Developers skip REFACTOR phase under time pressure | High | Make REFACTOR a pipeline gate - code review checks for documented clean code principle application |
|
|
96
|
+
| VPC creation feels abstract without real users | Medium | Provide methodology's own VPC as reference example; emphasize "customer" can include internal users |
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Dependencies
|
|
101
|
+
|
|
102
|
+
### External
|
|
103
|
+
- None - walking skeleton is self-contained and can be completed by individual developer
|
|
104
|
+
|
|
105
|
+
### Internal Sequencing
|
|
106
|
+
1. VPC must exist before backbone (backbone derives from customer jobs)
|
|
107
|
+
2. Backbone must exist before scenarios (scenarios specify behavior for user tasks)
|
|
108
|
+
3. Scenarios must exist before RED phase (tests verify scenarios)
|
|
109
|
+
4. RED must pass before GREEN (can't make it pass if it doesn't fail first)
|
|
110
|
+
5. GREEN must pass before REFACTOR (can't safely refactor without green tests)
|
|
111
|
+
6. Tests must pass before pipeline deployment (pipeline gates on test success)
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## What's NOT in Release 1
|
|
116
|
+
|
|
117
|
+
### Deferred to Release 2
|
|
118
|
+
- UX Research artifacts (personas, journey maps, mental models)
|
|
119
|
+
- Business Model Canvas (VPC sufficient for feature-level work)
|
|
120
|
+
- Example mapping workshops (simplified: write scenarios directly)
|
|
121
|
+
- UI design workflow (add when building UI-heavy features)
|
|
122
|
+
- Comprehensive test strategy documents
|
|
123
|
+
- Walking skeleton document creation (meta-task)
|
|
124
|
+
- Multiple deployment environments and rollback procedures
|
|
125
|
+
|
|
126
|
+
### Deferred to Release 3
|
|
127
|
+
- Continuous improvement data collection and analysis
|
|
128
|
+
- Root cause analysis procedures
|
|
129
|
+
- Process update feedback loops
|
|
130
|
+
|
|
131
|
+
### Explicitly Out of Scope
|
|
132
|
+
- Tool-specific implementations (methodology is tool-agnostic)
|
|
133
|
+
- Team working agreements (pairing, mobbing, etc.)
|
|
134
|
+
- Organizational change management
|
|
135
|
+
- Automated validation tooling (CLI, IDE plugins)
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
## Release Narrative
|
|
140
|
+
|
|
141
|
+
Release 1 proves the methodology works end-to-end with minimum viable implementation of each skill. A developer or team can:
|
|
142
|
+
|
|
143
|
+
1. **Start with business value** - Define what problem they're solving and for whom (VPC)
|
|
144
|
+
2. **Organize work by user activities** - See the user's journey, not just technical tasks (backbone)
|
|
145
|
+
3. **Specify with examples** - Write concrete, testable scenarios before code (Gherkin)
|
|
146
|
+
4. **Test-first development** - Define "done" before implementation starts (RED-GREEN-REFACTOR)
|
|
147
|
+
5. **Deploy automatically** - Ship to production with confidence (pipeline)
|
|
148
|
+
6. **Trace everything** - Connect any line of code back to business value (VPC → scenario → test → code)
|
|
149
|
+
|
|
150
|
+
Each subsequent release adds depth: more comprehensive artifacts, additional practices, enhanced tooling support. But Release 1 delivers the complete value loop: idea → value definition → specification → implementation → deployment → verification.
|
|
151
|
+
|
|
152
|
+
This is the walking skeleton that proves the methodology delivers on its core value proposition: help developers ship working software that solves real problems.
|