create-bashi-starter 1.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/bin/create-bashi-starter.js +198 -0
- package/package.json +26 -0
- package/template/.claude/CLAUDE.md +70 -0
- package/template/.claude/REFERENCE.md +68 -0
- package/template/.claude/agents/builder.md +48 -0
- package/template/.claude/agents/orchestrator.md +220 -0
- package/template/.claude/agents/reviewer.md +58 -0
- package/template/.claude/commands/capture-idea.md +73 -0
- package/template/.claude/commands/run-project.md +109 -0
- package/template/.claude/commands/save.md +78 -0
- package/template/.claude/commands/setup.md +73 -0
- package/template/.claude/commands/start.md +55 -0
- package/template/.claude/commands/status.md +40 -0
- package/template/.claude/hooks/lib/detect-python.sh +12 -0
- package/template/.claude/hooks/pre-bash-firewall.sh +48 -0
- package/template/.claude/hooks/pre-write-secrets-scan.sh +56 -0
- package/template/.claude/hooks/session-start.sh +54 -0
- package/template/.claude/project/EVENTS.md +29 -0
- package/template/.claude/project/IDENTITY.md +12 -0
- package/template/.claude/project/RUN_POLICY.md +59 -0
- package/template/.claude/project/STATE.md +57 -0
- package/template/.claude/project/knowledge/DECISIONS.md +21 -0
- package/template/.claude/project/knowledge/GLOSSARY.md +21 -0
- package/template/.claude/project/knowledge/OPEN_QUESTIONS.md +21 -0
- package/template/.claude/rules/context-policy.md +47 -0
- package/template/.claude/rules/orchestration-routing.md +39 -0
- package/template/.claude/rules/user-consent.md +12 -0
- package/template/.claude/settings.json +51 -0
- package/template/.claude/skills/REGISTRY.md +23 -0
- package/template/.claude/skills/code-review/SKILL.md +251 -0
- package/template/.claude/skills/deployment/SKILL.md +301 -0
- package/template/.claude/skills/frontend-dev/SKILL.md +192 -0
- package/template/.claude/skills/plan-from-idea/SKILL.md +85 -0
- package/template/.claude/skills/prd-to-tasks/SKILL.md +207 -0
- package/template/.claude/skills/prd-writing/SKILL.md +226 -0
- package/template/.claudeignore +14 -0
- package/template/FRAMEWORK_VERSION +1 -0
- package/template/README.md +95 -0
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: SKL-0003
|
|
3
|
+
name: PRD to Tasks
|
|
4
|
+
description: |
|
|
5
|
+
Break down a Product Requirements Document into executable tasks with
|
|
6
|
+
priorities and dependencies. Use this skill when a PRD has been created or
|
|
7
|
+
updated and needs to be converted into a task queue.
|
|
8
|
+
version: 1.0
|
|
9
|
+
owner: Orchestrator
|
|
10
|
+
triggers:
|
|
11
|
+
- PRD_UPDATED
|
|
12
|
+
inputs:
|
|
13
|
+
- docs/PRD.md
|
|
14
|
+
- .claude/project/STATE.md
|
|
15
|
+
- .claude/project/knowledge/OPEN_QUESTIONS.md (optional)
|
|
16
|
+
outputs:
|
|
17
|
+
- .claude/project/STATE.md (Next Task Queue updated)
|
|
18
|
+
- .claude/project/knowledge/OPEN_QUESTIONS.md (optional new entries)
|
|
19
|
+
tags:
|
|
20
|
+
- planning
|
|
21
|
+
- tasks
|
|
22
|
+
- prd
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
# Skill: PRD to Tasks
|
|
26
|
+
|
|
27
|
+
## Metadata
|
|
28
|
+
|
|
29
|
+
| Field | Value |
|
|
30
|
+
|-------|-------|
|
|
31
|
+
| **Skill ID** | SKL-0003 |
|
|
32
|
+
| **Version** | 1.0 |
|
|
33
|
+
| **Owner** | Orchestrator |
|
|
34
|
+
| **Inputs** | `docs/PRD.md`, `.claude/project/STATE.md`, `.claude/project/knowledge/OPEN_QUESTIONS.md` (optional) |
|
|
35
|
+
| **Outputs** | Updated `.claude/project/STATE.md` Next Task Queue (8-15 tasks), optional new entries in `.claude/project/knowledge/OPEN_QUESTIONS.md` |
|
|
36
|
+
| **Triggers** | `PRD_UPDATED` |
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Purpose
|
|
41
|
+
|
|
42
|
+
Convert a completed or updated PRD into a concrete, ordered, beginner-friendly task queue so the system becomes self-planning. This eliminates the need for manual task creation after writing a PRD.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Procedure
|
|
47
|
+
|
|
48
|
+
### A) Extract PRD Content
|
|
49
|
+
|
|
50
|
+
Read `docs/PRD.md` and extract:
|
|
51
|
+
|
|
52
|
+
1. **Core goal** --- from the Overview or Goals section.
|
|
53
|
+
2. **Target user** --- from the Target Users section.
|
|
54
|
+
3. **MVP scope** --- individual features from the MVP Scope section.
|
|
55
|
+
4. **Non-goals** --- from the NOT in Scope section (to avoid generating tasks for these).
|
|
56
|
+
5. **Risks and assumptions** --- from the Risks and Assumptions section.
|
|
57
|
+
|
|
58
|
+
If any section is missing, proceed with what is available and note the gap.
|
|
59
|
+
|
|
60
|
+
### B) Generate Task List
|
|
61
|
+
|
|
62
|
+
Produce an ordered list of **8 to 15 tasks** following these rules:
|
|
63
|
+
|
|
64
|
+
1. **Beginner-friendly titles** --- Use short, plain language. Write "Build login screen", not "Implement authentication UI component with OAuth flow".
|
|
65
|
+
2. **Name the target file or folder** --- Each task must reference the expected output location when known (e.g., `src/`, `docs/`, `lib/`, `manuscript/`, `tests/`).
|
|
66
|
+
3. **Priority tagging** --- Assign each task one of: `High`, `Medium`, or `Low`.
|
|
67
|
+
4. **Logical order** --- Tasks should follow a natural build sequence:
|
|
68
|
+
- Planning and design tasks first (High priority)
|
|
69
|
+
- Core feature build tasks next (High/Medium priority)
|
|
70
|
+
- Polish, testing, and review tasks last (Medium/Low priority)
|
|
71
|
+
5. **No tasks for non-goals** --- Cross-check against the NOT in Scope section. Do not generate tasks for anything explicitly excluded.
|
|
72
|
+
|
|
73
|
+
6. **Skill assignment** --- Assign each task a Skill ID from `.claude/skills/REGISTRY.md`. This is the **primary mechanism** by which skills are invoked during the build phase. Use the task format defined in `.claude/project/knowledge/TASK-FORMAT.md` (includes column definitions, skill assignment rules, and common mappings).
|
|
74
|
+
|
|
75
|
+
### B2) Phase Grouping (Conditional)
|
|
76
|
+
|
|
77
|
+
**Trigger:** Check if `docs/ARCHITECTURE.md` exists and contains real content (not just the placeholder template).
|
|
78
|
+
|
|
79
|
+
**If ARCHITECTURE.md exists:** Group the generated tasks into phases. Each phase gets its own header in the task queue. Tasks are numbered sequentially across all phases.
|
|
80
|
+
|
|
81
|
+
| Phase | Contains | Typical Priority |
|
|
82
|
+
|-------|----------|-----------------|
|
|
83
|
+
| **Phase 1: Foundation** | Project setup, config, tooling, environment | High |
|
|
84
|
+
| **Phase 2: Core** | Data model, auth, core APIs, database schema | High |
|
|
85
|
+
| **Phase 3: Features** | User-facing functionality, UI, business logic | High/Medium |
|
|
86
|
+
| **Phase 4: Integration** | Third-party APIs, webhooks, external services | Medium |
|
|
87
|
+
| **Phase 5: Quality** | Testing, code review, polish, accessibility | Medium |
|
|
88
|
+
| **Phase 6: Ship** | Deployment, documentation, launch prep | Medium/Low |
|
|
89
|
+
|
|
90
|
+
**Output format with phases:**
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
### Phase 1: Foundation
|
|
94
|
+
| # | Task | Priority | Skill |
|
|
95
|
+
|---|------|----------|-------|
|
|
96
|
+
| 1 | ... | High | SKL-0008 |
|
|
97
|
+
| 2 | ... | High | --- |
|
|
98
|
+
|
|
99
|
+
### Phase 2: Core
|
|
100
|
+
| # | Task | Priority | Skill |
|
|
101
|
+
|---|------|----------|-------|
|
|
102
|
+
| 3 | ... | High | SKL-0006 |
|
|
103
|
+
...
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
**If ARCHITECTURE.md does not exist:** Skip phase grouping. Output a flat task list as in Step B. This scales naturally: simple projects get flat lists, complex projects with architecture docs get phased breakdown.
|
|
107
|
+
|
|
108
|
+
**Rules:**
|
|
109
|
+
- Tasks are still numbered sequentially across all phases (1, 2, 3... not restarting per phase)
|
|
110
|
+
- Empty phases are omitted (don't create a phase with no tasks)
|
|
111
|
+
- The Orchestrator processes tasks in order regardless of phase headers
|
|
112
|
+
- Phase headers are organizational only --- they help humans understand the sequence
|
|
113
|
+
|
|
114
|
+
### C) Write to STATE.md (Idempotency Rules)
|
|
115
|
+
|
|
116
|
+
Read `.claude/project/STATE.md` and locate the `## Next Task Queue` section.
|
|
117
|
+
|
|
118
|
+
**Determine queue state using these patterns:**
|
|
119
|
+
|
|
120
|
+
A queue is **empty/placeholder-only** if it matches ANY of:
|
|
121
|
+
- Contains only `(none)` or `*(none)*`
|
|
122
|
+
- Contains only `- (none)`
|
|
123
|
+
- Contains only table headers with no data rows
|
|
124
|
+
- The section is completely empty
|
|
125
|
+
|
|
126
|
+
**If the queue is empty or placeholder-only:**
|
|
127
|
+
- Replace the placeholder content with the generated task table.
|
|
128
|
+
|
|
129
|
+
**If the queue already contains real tasks:**
|
|
130
|
+
- Do NOT replace the existing queue.
|
|
131
|
+
- Instead, append a new section below the Completed Tasks Log:
|
|
132
|
+
|
|
133
|
+
```
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## Proposed Task Queue (from PRD_UPDATED --- YYYY-MM-DD)
|
|
137
|
+
|
|
138
|
+
| # | Task | Priority | Skill |
|
|
139
|
+
|---|------|----------|-------|
|
|
140
|
+
| 1 | ... | ... | SKL-XXXX |
|
|
141
|
+
| ... | ... | ... | ... |
|
|
142
|
+
|
|
143
|
+
> These tasks were auto-generated from docs/PRD.md. Review and merge into the Next Task Queue manually or by running /run-project.
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### D) Handle Open Questions
|
|
147
|
+
|
|
148
|
+
While reading the PRD, if any requirements are ambiguous or underspecified:
|
|
149
|
+
|
|
150
|
+
1. Read `.claude/project/knowledge/OPEN_QUESTIONS.md`.
|
|
151
|
+
2. Check if the question already exists (avoid duplicates).
|
|
152
|
+
3. If the question is novel, append it using the next available `OQ-XXXX` ID:
|
|
153
|
+
|
|
154
|
+
```
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
### OQ-XXXX: <Question title>
|
|
158
|
+
|
|
159
|
+
- **Date:** YYYY-MM-DD
|
|
160
|
+
- **Source:** PRD analysis via skill-prd-to-tasks
|
|
161
|
+
- **Context:** <What prompted this question>
|
|
162
|
+
- **Status:** Open
|
|
163
|
+
- **Impact:** <What decision is blocked by this question>
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### E) Event Suggestion
|
|
167
|
+
|
|
168
|
+
After completing task generation, recommend emitting:
|
|
169
|
+
|
|
170
|
+
```
|
|
171
|
+
TASK_QUEUE_PROPOSED | .claude/project/STATE.md updated with tasks from PRD
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Print: `"Suggest emitting: TASK_QUEUE_PROPOSED --- use /trigger to create it."`
|
|
175
|
+
|
|
176
|
+
(Skills do not emit events directly; the orchestrator or user handles emission.)
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## Primary Agent
|
|
181
|
+
|
|
182
|
+
Orchestrator (handles PRD analysis and task decomposition internally).
|
|
183
|
+
|
|
184
|
+
## Review
|
|
185
|
+
|
|
186
|
+
Orchestrator self-reviews task titles for beginner clarity. For deeper quality review, emit `QUALITY_REVIEW_REQUESTED` via `/trigger`.
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
## Definition of Done
|
|
191
|
+
|
|
192
|
+
- [ ] 8-15 tasks generated from PRD content
|
|
193
|
+
- [ ] Tasks written to .claude/project/STATE.md (seeded or proposed, per idempotency rules)
|
|
194
|
+
- [ ] Each task has a plain-language title, target location, priority, and Skill ID
|
|
195
|
+
- [ ] Skill IDs assigned by cross-referencing REGISTRY.md (or `---` if no skill applies)
|
|
196
|
+
- [ ] No tasks generated for items listed in NOT in Scope
|
|
197
|
+
- [ ] Any ambiguous requirements logged to .claude/project/knowledge/OPEN_QUESTIONS.md
|
|
198
|
+
- [ ] Event suggestion printed for TASK_QUEUE_PROPOSED
|
|
199
|
+
- [ ] .claude/project/STATE.md updated with outputs produced and files modified
|
|
200
|
+
|
|
201
|
+
## Output Contract
|
|
202
|
+
|
|
203
|
+
| Field | Value |
|
|
204
|
+
|-------|-------|
|
|
205
|
+
| **Artifacts** | `.claude/project/STATE.md` (Next Task Queue updated with 8-15 tasks), `.claude/project/knowledge/OPEN_QUESTIONS.md` (optional new entries) |
|
|
206
|
+
| **State Update** | `.claude/project/STATE.md` --- mark task complete, log files modified |
|
|
207
|
+
| **Handoff Event** | `TASK_QUEUE_PROPOSED` (task queue ready for execution) |
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: SKL-0004
|
|
3
|
+
name: PRD Writing
|
|
4
|
+
description: |
|
|
5
|
+
Write a Product Requirements Document through user interview, including user
|
|
6
|
+
stories, requirements, and acceptance criteria. Includes a Vision Challenge
|
|
7
|
+
mode (CEO review) to ensure the right problem is being solved at the right
|
|
8
|
+
scope before writing begins. Use this skill when a new PRD needs to be
|
|
9
|
+
created for a project.
|
|
10
|
+
version: 2.0
|
|
11
|
+
owner: orchestrator
|
|
12
|
+
triggers:
|
|
13
|
+
- PRD_CREATION_REQUESTED
|
|
14
|
+
inputs:
|
|
15
|
+
- User's product idea or description
|
|
16
|
+
- docs/PRD.md (if exists)
|
|
17
|
+
- .claude/project/knowledge/DECISIONS.md
|
|
18
|
+
- TODOS.md (if exists)
|
|
19
|
+
outputs:
|
|
20
|
+
- docs/PRD.md (created or updated)
|
|
21
|
+
- .claude/project/STATE.md (updated)
|
|
22
|
+
- .claude/project/knowledge/DECISIONS.md (updated with scope decisions)
|
|
23
|
+
tags:
|
|
24
|
+
- planning
|
|
25
|
+
- prd
|
|
26
|
+
- vision
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
# Skill: PRD Writing
|
|
30
|
+
|
|
31
|
+
## Metadata
|
|
32
|
+
|
|
33
|
+
| Field | Value |
|
|
34
|
+
|-------|-------|
|
|
35
|
+
| **Skill ID** | SKL-0004 |
|
|
36
|
+
| **Version** | 2.0 |
|
|
37
|
+
| **Owner** | orchestrator |
|
|
38
|
+
| **Inputs** | User's product idea, existing PRD (if any), DECISIONS.md, TODOS.md |
|
|
39
|
+
| **Outputs** | `docs/PRD.md`, STATE.md updated, DECISIONS.md updated |
|
|
40
|
+
| **Triggers** | `PRD_CREATION_REQUESTED` |
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Purpose
|
|
45
|
+
|
|
46
|
+
Interview the user conversationally and produce a structured PRD at `docs/PRD.md` that downstream skills can parse. Before writing, run a Vision Challenge to ensure the right problem is being solved at the right ambition level.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Cognitive Mode
|
|
51
|
+
|
|
52
|
+
**Founder Thinking.** You are not a note-taker. You are a co-founder helping shape the product vision. Challenge assumptions, expand thinking where warranted, and ensure the product is worth building before defining how to build it.
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Procedure
|
|
57
|
+
|
|
58
|
+
### Step 0 --- Vision Challenge (CEO Review Mode)
|
|
59
|
+
|
|
60
|
+
Before any interview questions, establish the right scope and ambition level.
|
|
61
|
+
|
|
62
|
+
#### 0A. Premise Challenge
|
|
63
|
+
|
|
64
|
+
Ask the user these three questions (one at a time, wait for each response):
|
|
65
|
+
|
|
66
|
+
1. **"What problem are you solving, and how do you know it's real?"** --- Is this a genuine pain point or a hypothetical one? What evidence exists?
|
|
67
|
+
2. **"What happens if you build nothing?"** --- If the answer is "not much changes," the problem may not be worth solving yet.
|
|
68
|
+
3. **"Who specifically has this problem, and how are they solving it today?"** --- The current workaround reveals what the product must beat.
|
|
69
|
+
|
|
70
|
+
#### 0B. Scope Posture Selection
|
|
71
|
+
|
|
72
|
+
Present three postures and ask the user to choose:
|
|
73
|
+
|
|
74
|
+
1. **SCOPE EXPANSION** --- Dream big. What would make this product so good users tell their friends? What's the 10x version that only costs 2x the effort? You have permission to push scope UP.
|
|
75
|
+
2. **HOLD SCOPE** --- The idea is right-sized. Focus on making it bulletproof --- cover every edge case, define clear boundaries, ensure nothing important is missed.
|
|
76
|
+
3. **SCOPE REDUCTION** --- Cut to the bone. What is the absolute minimum that delivers value? Everything else is deferred. Be ruthless.
|
|
77
|
+
|
|
78
|
+
**Default guidance:**
|
|
79
|
+
- Brand new idea with no constraints -> suggest EXPANSION
|
|
80
|
+
- Clear idea with defined boundaries -> suggest HOLD SCOPE
|
|
81
|
+
- Overwhelmed user or tight timeline -> suggest REDUCTION
|
|
82
|
+
|
|
83
|
+
Once selected, commit fully. Do not drift toward a different posture during the interview.
|
|
84
|
+
|
|
85
|
+
#### 0C. Dream State Mapping (EXPANSION and HOLD only)
|
|
86
|
+
|
|
87
|
+
Ask: **"Imagine this product is wildly successful 12 months from now. What does it look like? What can users do that they can't do today?"**
|
|
88
|
+
|
|
89
|
+
Map the response:
|
|
90
|
+
```
|
|
91
|
+
CURRENT STATE THIS PRD 12-MONTH IDEAL
|
|
92
|
+
[how things work now] ---> [what we're building] ---> [the vision]
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
This anchors every subsequent decision. If a feature doesn't move toward the 12-month ideal, it may not belong in v1.
|
|
96
|
+
|
|
97
|
+
#### 0D. Existing Solutions Check
|
|
98
|
+
|
|
99
|
+
Before proceeding, check:
|
|
100
|
+
- Read `DECISIONS.md` --- has related work already been decided?
|
|
101
|
+
- Read `TODOS.md` (if exists) --- are there deferred items that relate to this idea?
|
|
102
|
+
- Ask: **"Is there anything already built (by you or others) that partially solves this?"**
|
|
103
|
+
|
|
104
|
+
Log findings. Avoid rebuilding what already exists.
|
|
105
|
+
|
|
106
|
+
**Once Step 0 is complete, proceed to the interview. Reference the chosen posture throughout.**
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
### Step 1 --- Check for Existing PRD
|
|
111
|
+
|
|
112
|
+
Read `docs/PRD.md` if it exists. If found, summarize and ask whether to update or start fresh.
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
### Step 2 --- Run the Interview
|
|
117
|
+
|
|
118
|
+
Wait for the user's response after each round. Adapt depth based on the chosen scope posture.
|
|
119
|
+
|
|
120
|
+
**Round 1 --- Problem and Users:**
|
|
121
|
+
- What problem? Who has it? How do you know?
|
|
122
|
+
- (EXPANSION) What adjacent problems could this also solve?
|
|
123
|
+
- (REDUCTION) What is the single most painful aspect?
|
|
124
|
+
|
|
125
|
+
**Round 2 --- Goals and Scope:**
|
|
126
|
+
- Success metric? What does "working" look like?
|
|
127
|
+
- 3-5 MVP features --- what must v1 do?
|
|
128
|
+
- What's NOT in v1? (minimum 3 exclusions)
|
|
129
|
+
- (EXPANSION) What would make this a "10-star" experience? What's the version users would pay double for?
|
|
130
|
+
- (REDUCTION) Can any of the 3-5 features be cut further?
|
|
131
|
+
- Where will users experience the most friction in this flow?
|
|
132
|
+
- What's the minimum number of steps for the core action?
|
|
133
|
+
|
|
134
|
+
**Round 3 --- Constraints and Kill Rule:**
|
|
135
|
+
- Real constraints (budget, timeline, platform, skills)?
|
|
136
|
+
- Biggest risk --- what could make this fail?
|
|
137
|
+
- Kill rule --- what signal means "stop building this"?
|
|
138
|
+
- (EXPANSION) Which constraints are real vs. assumed? Challenge one.
|
|
139
|
+
|
|
140
|
+
**Round 4 --- Confirmation:**
|
|
141
|
+
- Summarize everything so far in 5-8 bullets
|
|
142
|
+
- Ask: **"Anything wrong or missing?"**
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
### Step 3 --- Confirm Before Writing
|
|
147
|
+
|
|
148
|
+
Summarize the PRD in 5-8 bullets. Include:
|
|
149
|
+
- Problem + evidence
|
|
150
|
+
- Target user
|
|
151
|
+
- Scope posture chosen
|
|
152
|
+
- Key features (in/out)
|
|
153
|
+
- Success metric
|
|
154
|
+
- Kill rule
|
|
155
|
+
|
|
156
|
+
Ask: **"Anything wrong or missing?"**
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
### Step 4 --- Write docs/PRD.md
|
|
161
|
+
|
|
162
|
+
Use exact section headings (prd-to-tasks skill depends on them):
|
|
163
|
+
|
|
164
|
+
1. **Overview** --- One-paragraph product summary
|
|
165
|
+
2. **Problem Statement** --- The problem, evidence, who has it, current workarounds
|
|
166
|
+
3. **Vision** --- The 12-month dream state (from Step 0C)
|
|
167
|
+
4. **Goals** --- Success metrics with baseline, target, timeframe
|
|
168
|
+
5. **Target Users** --- Who they are, what they need
|
|
169
|
+
6. **MVP Scope** --- Features in v1, with brief descriptions
|
|
170
|
+
7. **NOT in Scope** --- Features explicitly excluded from v1, with one-line rationale each
|
|
171
|
+
8. **User Stories** --- As a [user], I want [action], so that [outcome]
|
|
172
|
+
9. **Risks and Assumptions** --- Including Kill Rule
|
|
173
|
+
10. **Constraints** --- Budget, timeline, platform, skills
|
|
174
|
+
11. **Open Questions** --- Unresolved items that need answers before building
|
|
175
|
+
|
|
176
|
+
**Scope posture adjustments:**
|
|
177
|
+
- EXPANSION: Add a "Delight Opportunities" subsection under MVP Scope --- 3-5 small wins (<30 min each) that would make users think "they thought of everything"
|
|
178
|
+
- REDUCTION: MVP Scope should be ruthlessly minimal. Move anything questionable to NOT in Scope.
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
### Step 5 --- Log Decisions and Emit Event
|
|
183
|
+
|
|
184
|
+
1. Write scope posture and key product decisions to `DECISIONS.md`
|
|
185
|
+
2. Print: `"Suggest emitting: PRD_UPDATED --- use /trigger to create it."`
|
|
186
|
+
3. Update `STATE.md`
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
## Constraints
|
|
191
|
+
|
|
192
|
+
- Never overwrites existing PRD without confirmation
|
|
193
|
+
- Interview is conversational --- never dump all questions at once
|
|
194
|
+
- Never skip the problem statement
|
|
195
|
+
- Never write solutions before the problem is established
|
|
196
|
+
- Scale to context: solo = lean PRD
|
|
197
|
+
- Once a scope posture is chosen, commit to it --- do not silently drift
|
|
198
|
+
- Step 0 (Vision Challenge) is mandatory --- never skip it
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
## Primary Agent
|
|
203
|
+
|
|
204
|
+
orchestrator
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
## Definition of Done
|
|
209
|
+
|
|
210
|
+
- [ ] Vision Challenge completed (Step 0) --- posture selected, premise challenged
|
|
211
|
+
- [ ] docs/PRD.md exists with all required sections
|
|
212
|
+
- [ ] Problem statement includes evidence
|
|
213
|
+
- [ ] Success metric has baseline, target, timeframe
|
|
214
|
+
- [ ] NOT in Scope has at least 3 exclusions with rationale
|
|
215
|
+
- [ ] Kill rule defined
|
|
216
|
+
- [ ] Key decisions logged in DECISIONS.md
|
|
217
|
+
- [ ] STATE.md updated
|
|
218
|
+
|
|
219
|
+
## Output Contract
|
|
220
|
+
|
|
221
|
+
| Field | Value |
|
|
222
|
+
|-------|-------|
|
|
223
|
+
| **Artifacts** | `docs/PRD.md` (created or updated) |
|
|
224
|
+
| **State Update** | `.claude/project/STATE.md` --- mark task complete, log files modified |
|
|
225
|
+
| **Decision Log** | `.claude/project/knowledge/DECISIONS.md` --- scope posture and key product decisions |
|
|
226
|
+
| **Handoff Event** | `PRD_UPDATED` (triggers task breakdown via SKL-0003) |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.0.0
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# Bashi Starter
|
|
2
|
+
|
|
3
|
+
> A lightweight AI orchestration framework for building your first project with AI.
|
|
4
|
+
|
|
5
|
+
**You have ideas. You can direct, design, and decide. Writing code line-by-line is what blocks you.** Bashi Starter gives you the structure to build real software by directing AI agents through a proven pipeline.
|
|
6
|
+
|
|
7
|
+
## What You Get
|
|
8
|
+
|
|
9
|
+
- **3 agents** -- Orchestrator (routes work), Builder (writes code), Reviewer (checks quality)
|
|
10
|
+
- **6 skills** -- Plan, PRD, task breakdown, frontend development, code review, deployment
|
|
11
|
+
- **6 commands** -- Everything you need from idea to shipped product
|
|
12
|
+
- **3 safety hooks** -- Blocks dangerous commands, catches secrets before they're written
|
|
13
|
+
|
|
14
|
+
## Quick Start
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
cd your-project
|
|
18
|
+
npx create-bashi-starter
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Then open the project in VS Code with Claude Code and run:
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
/start
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## The Pipeline
|
|
28
|
+
|
|
29
|
+
Every project follows the same path:
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
Idea -> PRD -> Tasks -> Build -> Review -> Ship
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
| Step | What Happens | Command |
|
|
36
|
+
|------|-------------|---------|
|
|
37
|
+
| 1 | Describe your idea | `/capture-idea` |
|
|
38
|
+
| 2 | Generate a PRD and task queue | `/run-project` |
|
|
39
|
+
| 3 | Build tasks one by one | `/run-project` (repeat) |
|
|
40
|
+
| 4 | Save progress between sessions | `/save` |
|
|
41
|
+
|
|
42
|
+
## Commands
|
|
43
|
+
|
|
44
|
+
| Command | What It Does |
|
|
45
|
+
|---------|-------------|
|
|
46
|
+
| `/start` | See where you are and what to do next |
|
|
47
|
+
| `/capture-idea` | Describe what you want to build |
|
|
48
|
+
| `/run-project` | Execute the next task from the queue |
|
|
49
|
+
| `/setup` | Initialize state files for a new project |
|
|
50
|
+
| `/status` | Quick project dashboard |
|
|
51
|
+
| `/save` | Save progress for later sessions |
|
|
52
|
+
|
|
53
|
+
## How It Works
|
|
54
|
+
|
|
55
|
+
1. **You describe what you want to build.** The framework helps you write a Product Requirements Document (PRD) in plain language.
|
|
56
|
+
|
|
57
|
+
2. **The framework creates tasks.** Your PRD gets broken into small, specific steps that AI can execute one at a time.
|
|
58
|
+
|
|
59
|
+
3. **You build one task at a time.** The orchestrator routes each task to the right agent (builder or reviewer) with the right skill. You review after each step.
|
|
60
|
+
|
|
61
|
+
4. **Safety hooks watch your back.** They block dangerous commands and catch secrets before they're written to files.
|
|
62
|
+
|
|
63
|
+
5. **State management remembers where you are.** Close your laptop, come back tomorrow, and pick up exactly where you left off.
|
|
64
|
+
|
|
65
|
+
## Modes
|
|
66
|
+
|
|
67
|
+
| Mode | Behavior |
|
|
68
|
+
|------|----------|
|
|
69
|
+
| **Safe** | Propose actions only. Nothing gets modified. |
|
|
70
|
+
| **Semi-Autonomous** | Execute one task, then pause for your review. (Default) |
|
|
71
|
+
| **Autonomous** | Execute up to 5 tasks in a row, then pause. |
|
|
72
|
+
|
|
73
|
+
## Prerequisites
|
|
74
|
+
|
|
75
|
+
1. **A computer** (Windows, Mac, or Linux)
|
|
76
|
+
2. **[Node.js](https://nodejs.org)** -- click the LTS button and install with defaults
|
|
77
|
+
3. **[Claude Code](https://docs.anthropic.com/en/docs/claude-code)** -- the AI coding tool
|
|
78
|
+
4. **A Claude subscription** (Pro or Team)
|
|
79
|
+
|
|
80
|
+
## Want More?
|
|
81
|
+
|
|
82
|
+
Bashi Starter covers the core pipeline: idea to shipped product. The full Bashi framework adds:
|
|
83
|
+
|
|
84
|
+
- 12 specialized agents (product manager, architect, designer, and more)
|
|
85
|
+
- 40+ skills (backend, mobile, security audits, analytics, game development)
|
|
86
|
+
- Overnight mode for unattended multi-hour runs
|
|
87
|
+
- Parallel task execution across git worktrees
|
|
88
|
+
- Cortex MCP for on-demand knowledge serving
|
|
89
|
+
- Self-improving agents with cross-agent feedback
|
|
90
|
+
|
|
91
|
+
Learn more in **"The Syntax Wall"** by Bashar Amso.
|
|
92
|
+
|
|
93
|
+
## License
|
|
94
|
+
|
|
95
|
+
MIT
|