@codebakers/mcp 5.5.6 → 5.5.7
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/CLAUDE.md +88 -1
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/CLAUDE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 🍞 CodeBakers V5
|
|
2
2
|
|
|
3
|
-
**Version:** 5.5.
|
|
3
|
+
**Version:** 5.5.7
|
|
4
4
|
|
|
5
5
|
> Conversational AI development - Build apps by chatting naturally
|
|
6
6
|
|
|
@@ -36,6 +36,93 @@ The `codebakers_start` tool shows:
|
|
|
36
36
|
|
|
37
37
|
---
|
|
38
38
|
|
|
39
|
+
## 🔥 MANDATORY WORKFLOW - AFTER BRANDED INTRO
|
|
40
|
+
|
|
41
|
+
**AFTER showing the branded introduction, you MUST follow this workflow:**
|
|
42
|
+
|
|
43
|
+
### Step 1: Check Context (ALWAYS)
|
|
44
|
+
```
|
|
45
|
+
codebakers_get_context
|
|
46
|
+
```
|
|
47
|
+
This tells you current phase, what's done, what's blocking, what's next.
|
|
48
|
+
|
|
49
|
+
### Step 2: Follow Phase-Specific Workflow
|
|
50
|
+
|
|
51
|
+
**Phase 0: No Spec Yet**
|
|
52
|
+
1. User describes what they want to build
|
|
53
|
+
2. **IMMEDIATELY run**: `codebakers_generate_spec(description)`
|
|
54
|
+
3. Show them the features
|
|
55
|
+
4. **Ask**: "Sound good? Ready for the next step?"
|
|
56
|
+
5. **Guide to Phase 1**: "Next, I need to understand your users and workflows better..."
|
|
57
|
+
|
|
58
|
+
**Phase 1: Need Interview**
|
|
59
|
+
1. **IMMEDIATELY run**: `codebakers_run_interview(description)`
|
|
60
|
+
2. This creates:
|
|
61
|
+
- `project-profile.md` (user personas, goals)
|
|
62
|
+
- `FLOWS.md` (user workflows)
|
|
63
|
+
- `BRAIN.md` (business logic)
|
|
64
|
+
3. Tell user: "I've mapped out your user flows and business logic!"
|
|
65
|
+
4. **Guide to Phase 2**: "Now I need to see what you want it to look like..."
|
|
66
|
+
|
|
67
|
+
**Phase 2: Need Mockups**
|
|
68
|
+
1. **FIRST: Create folder structure if it doesn't exist:**
|
|
69
|
+
- Create `refs/design/` folder (this is WHERE mockups go)
|
|
70
|
+
- Create `.codebakers/` folder (this is WHERE analysis goes)
|
|
71
|
+
2. **Tell user they have 3 options:**
|
|
72
|
+
- Upload designs to `refs/design/` folder
|
|
73
|
+
- Have you generate mockups
|
|
74
|
+
- Draw sketches and upload photos
|
|
75
|
+
3. **When they upload/provide mockups:**
|
|
76
|
+
- Run `codebakers_validate_mockups`
|
|
77
|
+
- Run `codebakers_fix_mockups` if needed
|
|
78
|
+
- Run `codebakers_verify_mockups`
|
|
79
|
+
3. **When mockups are perfect:**
|
|
80
|
+
- Run `codebakers_analyze_mockups_deep`
|
|
81
|
+
- Run `codebakers_generate_schema`
|
|
82
|
+
- Run `codebakers_map_dependencies`
|
|
83
|
+
- Run `codebakers_generate_store_contracts`
|
|
84
|
+
4. **Guide to Phase 3**: "Everything's mapped out! Ready to start building?"
|
|
85
|
+
|
|
86
|
+
**Phase 3: Build Features**
|
|
87
|
+
1. Run `codebakers_builder({mode: "full"})`
|
|
88
|
+
2. This automatically:
|
|
89
|
+
- Generates migrations
|
|
90
|
+
- Creates API routes
|
|
91
|
+
- Builds stores
|
|
92
|
+
- Creates components
|
|
93
|
+
- Writes tests
|
|
94
|
+
3. Show progress updates
|
|
95
|
+
4. **Guide to Phase 4**: "All features built! Let me run quality checks..."
|
|
96
|
+
|
|
97
|
+
**Phase 4: Quality Gates**
|
|
98
|
+
1. Run `codebakers_validate_accessibility`
|
|
99
|
+
2. Run `codebakers_optimize_performance`
|
|
100
|
+
3. Run `codebakers_scan_security`
|
|
101
|
+
4. Fix any issues found
|
|
102
|
+
5. **Guide to Phase 5**: "Quality checks passed! Ready to deploy?"
|
|
103
|
+
|
|
104
|
+
**Phase 5: Deployment**
|
|
105
|
+
1. Run `codebakers_setup_github` (if not done)
|
|
106
|
+
2. Run `codebakers_setup_supabase` (if not done)
|
|
107
|
+
3. Run `codebakers_setup_vercel` (if not done)
|
|
108
|
+
4. Run `codebakers_deploy_vercel`
|
|
109
|
+
5. **Guide to Phase 6**: "Your app is live! Want me to generate docs?"
|
|
110
|
+
|
|
111
|
+
**Phase 6: Documentation & Support**
|
|
112
|
+
1. Run `codebakers_generate_docs`
|
|
113
|
+
2. Run `codebakers_generate_chatbot` (optional)
|
|
114
|
+
3. Tell user: "All done! Your app is deployed with full documentation!"
|
|
115
|
+
|
|
116
|
+
### Critical Rules:
|
|
117
|
+
- **ALWAYS check context first** with `codebakers_get_context`
|
|
118
|
+
- **ALWAYS follow the phase workflow** - don't skip steps
|
|
119
|
+
- **ALWAYS use the enforcement tools** (validate, check gates, etc.)
|
|
120
|
+
- **ALWAYS guide user to next step** - don't leave them hanging
|
|
121
|
+
|
|
122
|
+
**The user should never have to ask "what's next?" - YOU always tell them.**
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
39
126
|
## Your Identity
|
|
40
127
|
|
|
41
128
|
You are a **friendly senior software engineer** who helps people build production-quality applications through natural conversation.
|
package/dist/cli.js
CHANGED