@lipter7/blueprint 2.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.
Files changed (125) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +626 -0
  3. package/agents/bp-codebase-mapper.md +761 -0
  4. package/agents/bp-debugger.md +1198 -0
  5. package/agents/bp-executor.md +403 -0
  6. package/agents/bp-integration-checker.md +423 -0
  7. package/agents/bp-phase-researcher.md +469 -0
  8. package/agents/bp-plan-checker.md +622 -0
  9. package/agents/bp-planner.md +1157 -0
  10. package/agents/bp-project-researcher.md +618 -0
  11. package/agents/bp-research-synthesizer.md +236 -0
  12. package/agents/bp-roadmapper.md +605 -0
  13. package/agents/bp-verifier.md +523 -0
  14. package/bin/install.js +1754 -0
  15. package/blueprint/bin/blueprint-tools.js +4597 -0
  16. package/blueprint/bin/blueprint-tools.test.js +2033 -0
  17. package/blueprint/references/checkpoints.md +775 -0
  18. package/blueprint/references/continuation-format.md +249 -0
  19. package/blueprint/references/decimal-phase-calculation.md +65 -0
  20. package/blueprint/references/git-integration.md +248 -0
  21. package/blueprint/references/git-planning-commit.md +38 -0
  22. package/blueprint/references/model-profile-resolution.md +32 -0
  23. package/blueprint/references/model-profiles.md +73 -0
  24. package/blueprint/references/phase-argument-parsing.md +61 -0
  25. package/blueprint/references/planning-config.md +194 -0
  26. package/blueprint/references/questioning.md +141 -0
  27. package/blueprint/references/tdd.md +263 -0
  28. package/blueprint/references/ui-brand.md +160 -0
  29. package/blueprint/references/verification-patterns.md +612 -0
  30. package/blueprint/templates/DEBUG.md +159 -0
  31. package/blueprint/templates/UAT.md +247 -0
  32. package/blueprint/templates/codebase/architecture.md +255 -0
  33. package/blueprint/templates/codebase/concerns.md +310 -0
  34. package/blueprint/templates/codebase/conventions.md +307 -0
  35. package/blueprint/templates/codebase/integrations.md +280 -0
  36. package/blueprint/templates/codebase/stack.md +186 -0
  37. package/blueprint/templates/codebase/structure.md +285 -0
  38. package/blueprint/templates/codebase/testing.md +480 -0
  39. package/blueprint/templates/config.json +35 -0
  40. package/blueprint/templates/context.md +283 -0
  41. package/blueprint/templates/continue-here.md +78 -0
  42. package/blueprint/templates/debug-subagent-prompt.md +91 -0
  43. package/blueprint/templates/discovery.md +146 -0
  44. package/blueprint/templates/milestone-archive.md +123 -0
  45. package/blueprint/templates/milestone.md +115 -0
  46. package/blueprint/templates/phase-prompt.md +567 -0
  47. package/blueprint/templates/planner-subagent-prompt.md +117 -0
  48. package/blueprint/templates/project.md +184 -0
  49. package/blueprint/templates/requirements.md +231 -0
  50. package/blueprint/templates/research-project/ARCHITECTURE.md +204 -0
  51. package/blueprint/templates/research-project/FEATURES.md +147 -0
  52. package/blueprint/templates/research-project/PITFALLS.md +200 -0
  53. package/blueprint/templates/research-project/STACK.md +120 -0
  54. package/blueprint/templates/research-project/SUMMARY.md +170 -0
  55. package/blueprint/templates/research.md +552 -0
  56. package/blueprint/templates/roadmap.md +202 -0
  57. package/blueprint/templates/state.md +176 -0
  58. package/blueprint/templates/summary-complex.md +59 -0
  59. package/blueprint/templates/summary-minimal.md +41 -0
  60. package/blueprint/templates/summary-standard.md +48 -0
  61. package/blueprint/templates/summary.md +246 -0
  62. package/blueprint/templates/user-setup.md +311 -0
  63. package/blueprint/templates/verification-report.md +322 -0
  64. package/blueprint/workflows/add-phase.md +111 -0
  65. package/blueprint/workflows/add-todo.md +157 -0
  66. package/blueprint/workflows/audit-milestone.md +241 -0
  67. package/blueprint/workflows/check-todos.md +176 -0
  68. package/blueprint/workflows/complete-milestone.md +644 -0
  69. package/blueprint/workflows/diagnose-issues.md +219 -0
  70. package/blueprint/workflows/discovery-phase.md +289 -0
  71. package/blueprint/workflows/discuss-phase.md +408 -0
  72. package/blueprint/workflows/execute-phase.md +338 -0
  73. package/blueprint/workflows/execute-plan.md +437 -0
  74. package/blueprint/workflows/help.md +470 -0
  75. package/blueprint/workflows/insert-phase.md +129 -0
  76. package/blueprint/workflows/list-phase-assumptions.md +178 -0
  77. package/blueprint/workflows/map-codebase.md +327 -0
  78. package/blueprint/workflows/new-milestone.md +373 -0
  79. package/blueprint/workflows/new-project.md +958 -0
  80. package/blueprint/workflows/pause-work.md +122 -0
  81. package/blueprint/workflows/plan-milestone-gaps.md +256 -0
  82. package/blueprint/workflows/plan-phase.md +376 -0
  83. package/blueprint/workflows/progress.md +385 -0
  84. package/blueprint/workflows/quick.md +230 -0
  85. package/blueprint/workflows/remove-phase.md +154 -0
  86. package/blueprint/workflows/research-phase.md +74 -0
  87. package/blueprint/workflows/resume-project.md +306 -0
  88. package/blueprint/workflows/set-profile.md +80 -0
  89. package/blueprint/workflows/settings.md +145 -0
  90. package/blueprint/workflows/transition.md +493 -0
  91. package/blueprint/workflows/update.md +212 -0
  92. package/blueprint/workflows/verify-phase.md +226 -0
  93. package/blueprint/workflows/verify-work.md +570 -0
  94. package/commands/bp/add-phase.md +39 -0
  95. package/commands/bp/add-todo.md +42 -0
  96. package/commands/bp/audit-milestone.md +42 -0
  97. package/commands/bp/check-todos.md +41 -0
  98. package/commands/bp/complete-milestone.md +136 -0
  99. package/commands/bp/debug.md +162 -0
  100. package/commands/bp/discuss-phase.md +86 -0
  101. package/commands/bp/execute-phase.md +42 -0
  102. package/commands/bp/help.md +22 -0
  103. package/commands/bp/insert-phase.md +33 -0
  104. package/commands/bp/join-discord.md +18 -0
  105. package/commands/bp/list-phase-assumptions.md +50 -0
  106. package/commands/bp/map-codebase.md +71 -0
  107. package/commands/bp/new-milestone.md +51 -0
  108. package/commands/bp/new-project.md +42 -0
  109. package/commands/bp/pause-work.md +35 -0
  110. package/commands/bp/plan-milestone-gaps.md +40 -0
  111. package/commands/bp/plan-phase.md +44 -0
  112. package/commands/bp/progress.md +24 -0
  113. package/commands/bp/quick.md +38 -0
  114. package/commands/bp/reapply-patches.md +110 -0
  115. package/commands/bp/remove-phase.md +32 -0
  116. package/commands/bp/research-phase.md +187 -0
  117. package/commands/bp/resume-work.md +40 -0
  118. package/commands/bp/set-profile.md +34 -0
  119. package/commands/bp/settings.md +36 -0
  120. package/commands/bp/update.md +37 -0
  121. package/commands/bp/verify-work.md +39 -0
  122. package/hooks/dist/bp-check-update.js +62 -0
  123. package/hooks/dist/bp-statusline.js +91 -0
  124. package/package.json +48 -0
  125. package/scripts/build-hooks.js +42 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Lex Christopherson
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,626 @@
1
+ <div align="center">
2
+
3
+ # Blueprint
4
+
5
+ **A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code, OpenCode, and Gemini CLI.**
6
+
7
+ *Forked from [GET SHIT DONE (GSD)](https://github.com/gsd-build/get-shit-done) with a focus on improved user interaction during research, planning, and codebase mapping.*
8
+
9
+ **Solves context rot — the quality degradation that happens as Claude fills its context window.**
10
+
11
+ [![npm version](https://img.shields.io/npm/v/@lipter7/blueprint?style=for-the-badge&logo=npm&logoColor=white&color=CB3837)](https://www.npmjs.com/package/@lipter7/blueprint)
12
+ [![npm downloads](https://img.shields.io/npm/dm/@lipter7/blueprint?style=for-the-badge&logo=npm&logoColor=white&color=CB3837)](https://www.npmjs.com/package/@lipter7/blueprint)
13
+ [![GitHub stars](https://img.shields.io/github/stars/lipter7/blueprint?style=for-the-badge&logo=github&color=181717)](https://github.com/lipter7/blueprint)
14
+ [![License](https://img.shields.io/badge/license-MIT-blue?style=for-the-badge)](LICENSE)
15
+
16
+ <br>
17
+
18
+ ```bash
19
+ npx @lipter7/blueprint@latest
20
+ ```
21
+
22
+ **Works on Mac, Windows, and Linux.**
23
+
24
+ <br>
25
+
26
+ ![Blueprint Install](assets/terminal.svg)
27
+
28
+ <br>
29
+
30
+ [How It Works](#how-it-works) · [Commands](#commands) · [Why It Works](#why-it-works)
31
+
32
+ </div>
33
+
34
+ ---
35
+
36
+ ## What Is Blueprint?
37
+
38
+ Blueprint is a context engineering layer that makes Claude Code reliable. It solves "vibecoding" problems -- the inconsistent, degrading output you get as Claude fills its context window. The complexity is in the system, not in your workflow: context engineering, XML prompt formatting, subagent orchestration, and state management happen behind the scenes. What you see is a few commands that just work.
39
+
40
+ Blueprint is a fork of [GET SHIT DONE (GSD)](https://github.com/gsd-build/get-shit-done) by TACHES. This fork adds more user interaction points during the research, planning, and codebase mapping steps -- areas where the upstream version was too heavily AI-driven with insufficient human oversight.
41
+
42
+ ---
43
+
44
+ ## Getting Started
45
+
46
+ ```bash
47
+ npx @lipter7/blueprint@latest
48
+ ```
49
+
50
+ The installer prompts you to choose:
51
+ 1. **Runtime** — Claude Code, OpenCode, Gemini, or all
52
+ 2. **Location** — Global (all projects) or local (current project only)
53
+
54
+ Verify with `/bp:help` inside your chosen runtime.
55
+
56
+ ### Staying Updated
57
+
58
+ Blueprint evolves fast. Update periodically:
59
+
60
+ ```bash
61
+ npx @lipter7/blueprint@latest
62
+ ```
63
+
64
+ <details>
65
+ <summary><strong>Non-interactive Install (Docker, CI, Scripts)</strong></summary>
66
+
67
+ ```bash
68
+ # Claude Code
69
+ npx @lipter7/blueprint --claude --global # Install to ~/.claude/
70
+ npx @lipter7/blueprint --claude --local # Install to ./.claude/
71
+
72
+ # OpenCode (open source, free models)
73
+ npx @lipter7/blueprint --opencode --global # Install to ~/.config/opencode/
74
+
75
+ # Gemini CLI
76
+ npx @lipter7/blueprint --gemini --global # Install to ~/.gemini/
77
+
78
+ # All runtimes
79
+ npx @lipter7/blueprint --all --global # Install to all directories
80
+ ```
81
+
82
+ Use `--global` (`-g`) or `--local` (`-l`) to skip the location prompt.
83
+ Use `--claude`, `--opencode`, `--gemini`, or `--all` to skip the runtime prompt.
84
+
85
+ </details>
86
+
87
+ <details>
88
+ <summary><strong>Development Installation</strong></summary>
89
+
90
+ Clone the repository and run the installer locally:
91
+
92
+ ```bash
93
+ git clone https://github.com/lipter7/blueprint.git
94
+ cd blueprint
95
+ node bin/install.js --claude --local
96
+ ```
97
+
98
+ Installs to `./.claude/` for testing modifications before contributing.
99
+
100
+ </details>
101
+
102
+ ### Recommended: Skip Permissions Mode
103
+
104
+ Blueprint is designed for frictionless automation. Run Claude Code with:
105
+
106
+ ```bash
107
+ claude --dangerously-skip-permissions
108
+ ```
109
+
110
+ > [!TIP]
111
+ > This is how Blueprint is intended to be used — stopping to approve `date` and `git commit` 50 times defeats the purpose.
112
+
113
+ <details>
114
+ <summary><strong>Alternative: Granular Permissions</strong></summary>
115
+
116
+ If you prefer not to use that flag, add this to your project's `.claude/settings.json`:
117
+
118
+ ```json
119
+ {
120
+ "permissions": {
121
+ "allow": [
122
+ "Bash(date:*)",
123
+ "Bash(echo:*)",
124
+ "Bash(cat:*)",
125
+ "Bash(ls:*)",
126
+ "Bash(mkdir:*)",
127
+ "Bash(wc:*)",
128
+ "Bash(head:*)",
129
+ "Bash(tail:*)",
130
+ "Bash(sort:*)",
131
+ "Bash(grep:*)",
132
+ "Bash(tr:*)",
133
+ "Bash(git add:*)",
134
+ "Bash(git commit:*)",
135
+ "Bash(git status:*)",
136
+ "Bash(git log:*)",
137
+ "Bash(git diff:*)",
138
+ "Bash(git tag:*)"
139
+ ]
140
+ }
141
+ }
142
+ ```
143
+
144
+ </details>
145
+
146
+ ---
147
+
148
+ ## How It Works
149
+
150
+ > **Already have code?** Run `/bp:map-codebase` first. It spawns parallel agents to analyze your stack, architecture, conventions, and concerns. Then `/bp:new-project` knows your codebase — questions focus on what you're adding, and planning automatically loads your patterns.
151
+
152
+ ### 1. Initialize Project
153
+
154
+ ```
155
+ /bp:new-project
156
+ ```
157
+
158
+ One command, one flow. The system:
159
+
160
+ 1. **Questions** — Asks until it understands your idea completely (goals, constraints, tech preferences, edge cases)
161
+ 2. **Research** — Spawns parallel agents to investigate the domain (optional but recommended)
162
+ 3. **Requirements** — Extracts what's v1, v2, and out of scope
163
+ 4. **Roadmap** — Creates phases mapped to requirements
164
+
165
+ You approve the roadmap. Now you're ready to build.
166
+
167
+ **Creates:** `PROJECT.md`, `REQUIREMENTS.md`, `ROADMAP.md`, `STATE.md`, `.blueprint/research/`
168
+
169
+ ---
170
+
171
+ ### 2. Discuss Phase
172
+
173
+ ```
174
+ /bp:discuss-phase 1
175
+ ```
176
+
177
+ **This is where you shape the implementation.**
178
+
179
+ Your roadmap has a sentence or two per phase. That's not enough context to build something the way *you* imagine it. This step captures your preferences before anything gets researched or planned.
180
+
181
+ The system analyzes the phase and identifies gray areas based on what's being built:
182
+
183
+ - **Visual features** → Layout, density, interactions, empty states
184
+ - **APIs/CLIs** → Response format, flags, error handling, verbosity
185
+ - **Content systems** → Structure, tone, depth, flow
186
+ - **Organization tasks** → Grouping criteria, naming, duplicates, exceptions
187
+
188
+ For each area you select, it asks until you're satisfied. The output — `CONTEXT.md` — feeds directly into the next two steps:
189
+
190
+ 1. **Researcher reads it** — Knows what patterns to investigate ("user wants card layout" → research card component libraries)
191
+ 2. **Planner reads it** — Knows what decisions are locked ("infinite scroll decided" → plan includes scroll handling)
192
+
193
+ The deeper you go here, the more the system builds what you actually want. Skip it and you get reasonable defaults. Use it and you get *your* vision.
194
+
195
+ **Creates:** `{phase}-CONTEXT.md`
196
+
197
+ ---
198
+
199
+ ### 3. Plan Phase
200
+
201
+ ```
202
+ /bp:plan-phase 1
203
+ ```
204
+
205
+ The system:
206
+
207
+ 1. **Researches** — Investigates how to implement this phase, guided by your CONTEXT.md decisions
208
+ 2. **Plans** — Creates 2-3 atomic task plans with XML structure
209
+ 3. **Verifies** — Checks plans against requirements, loops until they pass
210
+
211
+ Each plan is small enough to execute in a fresh context window. No degradation, no "I'll be more concise now."
212
+
213
+ **Creates:** `{phase}-RESEARCH.md`, `{phase}-{N}-PLAN.md`
214
+
215
+ ---
216
+
217
+ ### 4. Execute Phase
218
+
219
+ ```
220
+ /bp:execute-phase 1
221
+ ```
222
+
223
+ The system:
224
+
225
+ 1. **Runs plans in waves** — Parallel where possible, sequential when dependent
226
+ 2. **Fresh context per plan** — 200k tokens purely for implementation, zero accumulated garbage
227
+ 3. **Commits per task** — Every task gets its own atomic commit
228
+ 4. **Verifies against goals** — Checks the codebase delivers what the phase promised
229
+
230
+ Walk away, come back to completed work with clean git history.
231
+
232
+ **Creates:** `{phase}-{N}-SUMMARY.md`, `{phase}-VERIFICATION.md`
233
+
234
+ ---
235
+
236
+ ### 5. Verify Work
237
+
238
+ ```
239
+ /bp:verify-work 1
240
+ ```
241
+
242
+ **This is where you confirm it actually works.**
243
+
244
+ Automated verification checks that code exists and tests pass. But does the feature *work* the way you expected? This is your chance to use it.
245
+
246
+ The system:
247
+
248
+ 1. **Extracts testable deliverables** — What you should be able to do now
249
+ 2. **Walks you through one at a time** — "Can you log in with email?" Yes/no, or describe what's wrong
250
+ 3. **Diagnoses failures automatically** — Spawns debug agents to find root causes
251
+ 4. **Creates verified fix plans** — Ready for immediate re-execution
252
+
253
+ If everything passes, you move on. If something's broken, you don't manually debug — you just run `/bp:execute-phase` again with the fix plans it created.
254
+
255
+ **Creates:** `{phase}-UAT.md`, fix plans if issues found
256
+
257
+ ---
258
+
259
+ ### 6. Repeat → Complete → Next Milestone
260
+
261
+ ```
262
+ /bp:discuss-phase 2
263
+ /bp:plan-phase 2
264
+ /bp:execute-phase 2
265
+ /bp:verify-work 2
266
+ ...
267
+ /bp:complete-milestone
268
+ /bp:new-milestone
269
+ ```
270
+
271
+ Loop **discuss → plan → execute → verify** until milestone complete.
272
+
273
+ Each phase gets your input (discuss), proper research (plan), clean execution (execute), and human verification (verify). Context stays fresh. Quality stays high.
274
+
275
+ When all phases are done, `/bp:complete-milestone` archives the milestone and tags the release.
276
+
277
+ Then `/bp:new-milestone` starts the next version — same flow as `new-project` but for your existing codebase. You describe what you want to build next, the system researches the domain, you scope requirements, and it creates a fresh roadmap. Each milestone is a clean cycle: define → build → ship.
278
+
279
+ ---
280
+
281
+ ### Quick Mode
282
+
283
+ ```
284
+ /bp:quick
285
+ ```
286
+
287
+ **For ad-hoc tasks that don't need full planning.**
288
+
289
+ Quick mode gives you Blueprint guarantees (atomic commits, state tracking) with a faster path:
290
+
291
+ - **Same agents** — Planner + executor, same quality
292
+ - **Skips optional steps** — No research, no plan checker, no verifier
293
+ - **Separate tracking** — Lives in `.blueprint/quick/`, not phases
294
+
295
+ Use for: bug fixes, small features, config changes, one-off tasks.
296
+
297
+ ```
298
+ /bp:quick
299
+ > What do you want to do? "Add dark mode toggle to settings"
300
+ ```
301
+
302
+ **Creates:** `.blueprint/quick/001-add-dark-mode-toggle/PLAN.md`, `SUMMARY.md`
303
+
304
+ ---
305
+
306
+ ## Why It Works
307
+
308
+ ### Context Engineering
309
+
310
+ Claude Code is incredibly powerful *if* you give it the context it needs. Most people don't.
311
+
312
+ Blueprint handles it for you:
313
+
314
+ | File | What it does |
315
+ |------|--------------|
316
+ | `PROJECT.md` | Project vision, always loaded |
317
+ | `research/` | Ecosystem knowledge (stack, features, architecture, pitfalls) |
318
+ | `REQUIREMENTS.md` | Scoped v1/v2 requirements with phase traceability |
319
+ | `ROADMAP.md` | Where you're going, what's done |
320
+ | `STATE.md` | Decisions, blockers, position — memory across sessions |
321
+ | `PLAN.md` | Atomic task with XML structure, verification steps |
322
+ | `SUMMARY.md` | What happened, what changed, committed to history |
323
+ | `todos/` | Captured ideas and tasks for later work |
324
+
325
+ Size limits based on where Claude's quality degrades. Stay under, get consistent excellence.
326
+
327
+ ### XML Prompt Formatting
328
+
329
+ Every plan is structured XML optimized for Claude:
330
+
331
+ ```xml
332
+ <task type="auto">
333
+ <name>Create login endpoint</name>
334
+ <files>src/app/api/auth/login/route.ts</files>
335
+ <action>
336
+ Use jose for JWT (not jsonwebtoken - CommonJS issues).
337
+ Validate credentials against users table.
338
+ Return httpOnly cookie on success.
339
+ </action>
340
+ <verify>curl -X POST localhost:3000/api/auth/login returns 200 + Set-Cookie</verify>
341
+ <done>Valid credentials return cookie, invalid return 401</done>
342
+ </task>
343
+ ```
344
+
345
+ Precise instructions. No guessing. Verification built in.
346
+
347
+ ### Multi-Agent Orchestration
348
+
349
+ Every stage uses the same pattern: a thin orchestrator spawns specialized agents, collects results, and routes to the next step.
350
+
351
+ | Stage | Orchestrator does | Agents do |
352
+ |-------|------------------|-----------|
353
+ | Research | Coordinates, presents findings | 4 parallel researchers investigate stack, features, architecture, pitfalls |
354
+ | Planning | Validates, manages iteration | Planner creates plans, checker verifies, loop until pass |
355
+ | Execution | Groups into waves, tracks progress | Executors implement in parallel, each with fresh 200k context |
356
+ | Verification | Presents results, routes next | Verifier checks codebase against goals, debuggers diagnose failures |
357
+
358
+ The orchestrator never does heavy lifting. It spawns agents, waits, integrates results.
359
+
360
+ **The result:** You can run an entire phase — deep research, multiple plans created and verified, thousands of lines of code written across parallel executors, automated verification against goals — and your main context window stays at 30-40%. The work happens in fresh subagent contexts. Your session stays fast and responsive.
361
+
362
+ ### Atomic Git Commits
363
+
364
+ Each task gets its own commit immediately after completion:
365
+
366
+ ```bash
367
+ abc123f docs(08-02): complete user registration plan
368
+ def456g feat(08-02): add email confirmation flow
369
+ hij789k feat(08-02): implement password hashing
370
+ lmn012o feat(08-02): create registration endpoint
371
+ ```
372
+
373
+ > [!NOTE]
374
+ > **Benefits:** Git bisect finds exact failing task. Each task independently revertable. Clear history for Claude in future sessions. Better observability in AI-automated workflow.
375
+
376
+ Every commit is surgical, traceable, and meaningful.
377
+
378
+ ### Modular by Design
379
+
380
+ - Add phases to current milestone
381
+ - Insert urgent work between phases
382
+ - Complete milestones and start fresh
383
+ - Adjust plans without rebuilding everything
384
+
385
+ You're never locked in. The system adapts.
386
+
387
+ ---
388
+
389
+ ## Commands
390
+
391
+ ### Core Workflow
392
+
393
+ | Command | What it does |
394
+ |---------|--------------|
395
+ | `/bp:new-project [--auto]` | Full initialization: questions → research → requirements → roadmap |
396
+ | `/bp:discuss-phase [N]` | Capture implementation decisions before planning |
397
+ | `/bp:plan-phase [N]` | Research + plan + verify for a phase |
398
+ | `/bp:execute-phase <N>` | Execute all plans in parallel waves, verify when complete |
399
+ | `/bp:verify-work [N]` | Manual user acceptance testing ¹ |
400
+ | `/bp:audit-milestone` | Verify milestone achieved its definition of done |
401
+ | `/bp:complete-milestone` | Archive milestone, tag release |
402
+ | `/bp:new-milestone [name]` | Start next version: questions → research → requirements → roadmap |
403
+
404
+ ### Navigation
405
+
406
+ | Command | What it does |
407
+ |---------|--------------|
408
+ | `/bp:progress` | Where am I? What's next? |
409
+ | `/bp:help` | Show all commands and usage guide |
410
+ | `/bp:update` | Update Blueprint with changelog preview |
411
+ | `/bp:join-discord` | Join the community Discord |
412
+
413
+ ### Brownfield
414
+
415
+ | Command | What it does |
416
+ |---------|--------------|
417
+ | `/bp:map-codebase` | Analyze existing codebase before new-project |
418
+
419
+ ### Phase Management
420
+
421
+ | Command | What it does |
422
+ |---------|--------------|
423
+ | `/bp:add-phase` | Append phase to roadmap |
424
+ | `/bp:insert-phase [N]` | Insert urgent work between phases |
425
+ | `/bp:remove-phase [N]` | Remove future phase, renumber |
426
+ | `/bp:list-phase-assumptions [N]` | See Claude's intended approach before planning |
427
+ | `/bp:plan-milestone-gaps` | Create phases to close gaps from audit |
428
+
429
+ ### Session
430
+
431
+ | Command | What it does |
432
+ |---------|--------------|
433
+ | `/bp:pause-work` | Create handoff when stopping mid-phase |
434
+ | `/bp:resume-work` | Restore from last session |
435
+
436
+ ### Utilities
437
+
438
+ | Command | What it does |
439
+ |---------|--------------|
440
+ | `/bp:settings` | Configure model profile and workflow agents |
441
+ | `/bp:set-profile <profile>` | Switch model profile (quality/balanced/budget) |
442
+ | `/bp:add-todo [desc]` | Capture idea for later |
443
+ | `/bp:check-todos` | List pending todos |
444
+ | `/bp:debug [desc]` | Systematic debugging with persistent state |
445
+ | `/bp:quick` | Execute ad-hoc task with Blueprint guarantees |
446
+
447
+ <sup>¹ Contributed by reddit user OracleGreyBeard</sup>
448
+
449
+ ---
450
+
451
+ ## Configuration
452
+
453
+ Blueprint stores project settings in `.blueprint/config.json`. Configure during `/bp:new-project` or update later with `/bp:settings`.
454
+
455
+ ### Core Settings
456
+
457
+ | Setting | Options | Default | What it controls |
458
+ |---------|---------|---------|------------------|
459
+ | `mode` | `yolo`, `interactive` | `interactive` | Auto-approve vs confirm at each step |
460
+ | `depth` | `quick`, `standard`, `comprehensive` | `standard` | Planning thoroughness (phases × plans) |
461
+
462
+ ### Model Profiles
463
+
464
+ Control which Claude model each agent uses. Balance quality vs token spend.
465
+
466
+ | Profile | Planning | Execution | Verification |
467
+ |---------|----------|-----------|--------------|
468
+ | `quality` | Opus | Opus | Sonnet |
469
+ | `balanced` (default) | Opus | Sonnet | Sonnet |
470
+ | `budget` | Sonnet | Sonnet | Haiku |
471
+
472
+ Switch profiles:
473
+ ```
474
+ /bp:set-profile budget
475
+ ```
476
+
477
+ Or configure via `/bp:settings`.
478
+
479
+ ### Workflow Agents
480
+
481
+ These spawn additional agents during planning/execution. They improve quality but add tokens and time.
482
+
483
+ | Setting | Default | What it does |
484
+ |---------|---------|--------------|
485
+ | `workflow.research` | `true` | Researches domain before planning each phase |
486
+ | `workflow.plan_check` | `true` | Verifies plans achieve phase goals before execution |
487
+ | `workflow.verifier` | `true` | Confirms must-haves were delivered after execution |
488
+
489
+ Use `/bp:settings` to toggle these, or override per-invocation:
490
+ - `/bp:plan-phase --skip-research`
491
+ - `/bp:plan-phase --skip-verify`
492
+
493
+ ### Execution
494
+
495
+ | Setting | Default | What it controls |
496
+ |---------|---------|------------------|
497
+ | `parallelization.enabled` | `true` | Run independent plans simultaneously |
498
+ | `planning.commit_docs` | `true` | Track `.blueprint/` in git |
499
+
500
+ ### Git Branching
501
+
502
+ Control how Blueprint handles branches during execution.
503
+
504
+ | Setting | Options | Default | What it does |
505
+ |---------|---------|---------|--------------|
506
+ | `git.branching_strategy` | `none`, `phase`, `milestone` | `none` | Branch creation strategy |
507
+ | `git.phase_branch_template` | string | `bp/phase-{phase}-{slug}` | Template for phase branches |
508
+ | `git.milestone_branch_template` | string | `bp/{milestone}-{slug}` | Template for milestone branches |
509
+
510
+ **Strategies:**
511
+ - **`none`** — Commits to current branch (default Blueprint behavior)
512
+ - **`phase`** — Creates a branch per phase, merges at phase completion
513
+ - **`milestone`** — Creates one branch for entire milestone, merges at completion
514
+
515
+ At milestone completion, Blueprint offers squash merge (recommended) or merge with history.
516
+
517
+ ---
518
+
519
+ ## Security
520
+
521
+ ### Protecting Sensitive Files
522
+
523
+ Blueprint's codebase mapping and analysis commands read files to understand your project. **Protect files containing secrets** by adding them to Claude Code's deny list:
524
+
525
+ 1. Open Claude Code settings (`.claude/settings.json` or global)
526
+ 2. Add sensitive file patterns to the deny list:
527
+
528
+ ```json
529
+ {
530
+ "permissions": {
531
+ "deny": [
532
+ "Read(.env)",
533
+ "Read(.env.*)",
534
+ "Read(**/secrets/*)",
535
+ "Read(**/*credential*)",
536
+ "Read(**/*.pem)",
537
+ "Read(**/*.key)"
538
+ ]
539
+ }
540
+ }
541
+ ```
542
+
543
+ This prevents Claude from reading these files entirely, regardless of what commands you run.
544
+
545
+ > [!IMPORTANT]
546
+ > Blueprint includes built-in protections against committing secrets, but defense-in-depth is best practice. Deny read access to sensitive files as a first line of defense.
547
+
548
+ ---
549
+
550
+ ## Troubleshooting
551
+
552
+ **Commands not found after install?**
553
+ - Restart Claude Code to reload slash commands
554
+ - Verify files exist in `~/.claude/commands/bp/` (global) or `./.claude/commands/bp/` (local)
555
+
556
+ **Commands not working as expected?**
557
+ - Run `/bp:help` to verify installation
558
+ - Re-run `npx @lipter7/blueprint` to reinstall
559
+
560
+ **Updating to the latest version?**
561
+ ```bash
562
+ npx @lipter7/blueprint@latest
563
+ ```
564
+
565
+ **Using Docker or containerized environments?**
566
+
567
+ If file reads fail with tilde paths (`~/.claude/...`), set `CLAUDE_CONFIG_DIR` before installing:
568
+ ```bash
569
+ CLAUDE_CONFIG_DIR=/home/youruser/.claude npx @lipter7/blueprint --global
570
+ ```
571
+ This ensures absolute paths are used instead of `~` which may not expand correctly in containers.
572
+
573
+ ### Uninstalling
574
+
575
+ To remove Blueprint completely:
576
+
577
+ ```bash
578
+ # Global installs
579
+ npx @lipter7/blueprint --claude --global --uninstall
580
+ npx @lipter7/blueprint --opencode --global --uninstall
581
+
582
+ # Local installs (current project)
583
+ npx @lipter7/blueprint --claude --local --uninstall
584
+ npx @lipter7/blueprint --opencode --local --uninstall
585
+ ```
586
+
587
+ This removes all Blueprint commands, agents, hooks, and settings while preserving your other configurations.
588
+
589
+ ---
590
+
591
+ ## Community Ports
592
+
593
+ OpenCode and Gemini CLI are now natively supported via `npx @lipter7/blueprint`.
594
+
595
+ These upstream GSD community ports pioneered multi-runtime support:
596
+
597
+ | Project | Platform | Description |
598
+ |---------|----------|-------------|
599
+ | [gsd-opencode](https://github.com/rokicool/gsd-opencode) | OpenCode | Original OpenCode adaptation |
600
+ | gsd-gemini (archived) | Gemini CLI | Original Gemini adaptation by uberfuzzy |
601
+
602
+ ---
603
+
604
+ ## Star History
605
+
606
+ <a href="https://star-history.com/#lipter7/blueprint&Date">
607
+ <picture>
608
+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=lipter7/blueprint&type=Date&theme=dark" />
609
+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=lipter7/blueprint&type=Date" />
610
+ <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=lipter7/blueprint&type=Date" />
611
+ </picture>
612
+ </a>
613
+
614
+ ---
615
+
616
+ ## License
617
+
618
+ MIT License. See [LICENSE](LICENSE) for details.
619
+
620
+ ---
621
+
622
+ <div align="center">
623
+
624
+ **Claude Code is powerful. Blueprint makes it reliable.**
625
+
626
+ </div>