aiblueprint-cli 1.4.41 → 1.4.42
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-code-config/skills/apex/SKILL.md +116 -0
- package/claude-code-config/skills/{workflow-apex → apex}/scripts/setup-templates.sh +12 -2
- package/claude-code-config/skills/{workflow-apex → apex}/steps/step-00-init.md +19 -34
- package/claude-code-config/skills/{workflow-apex → apex}/steps/step-00b-interactive.md +13 -1
- package/claude-code-config/skills/apex/steps/step-00b-save.md +123 -0
- package/claude-code-config/skills/{workflow-apex → apex}/steps/step-01-analyze.md +36 -17
- package/claude-code-config/skills/apex/steps/step-02-plan.md +593 -0
- package/claude-code-config/skills/apex/steps/step-02b-tasks.md +301 -0
- package/claude-code-config/skills/apex/steps/step-03-execute-teams.md +296 -0
- package/claude-code-config/skills/{workflow-apex → apex}/steps/step-03-execute.md +1 -0
- package/claude-code-config/skills/{workflow-apex → apex}/steps/step-04-validate.md +3 -1
- package/claude-code-config/skills/{workflow-apex → apex}/steps/step-05-examine.md +92 -35
- package/claude-code-config/skills/{workflow-apex → apex}/steps/step-06-resolve.md +1 -0
- package/claude-code-config/skills/{workflow-apex → apex}/steps/step-09-finish.md +32 -2
- package/claude-code-config/skills/{workflow-apex → apex}/templates/00-context.md +2 -0
- package/claude-code-config/skills/{meta-claude-memory → claude-memory}/SKILL.md +59 -1
- package/package.json +1 -1
- package/claude-code-config/skills/workflow-apex/SKILL.md +0 -303
- package/claude-code-config/skills/workflow-apex/steps/step-02-plan.md +0 -264
- /package/claude-code-config/skills/{workflow-apex → apex}/scripts/update-progress.sh +0 -0
- /package/claude-code-config/skills/{workflow-apex → apex}/steps/step-00b-branch.md +0 -0
- /package/claude-code-config/skills/{workflow-apex → apex}/steps/step-00b-economy.md +0 -0
- /package/claude-code-config/skills/{workflow-apex → apex}/steps/step-07-tests.md +0 -0
- /package/claude-code-config/skills/{workflow-apex → apex}/steps/step-08-run-tests.md +0 -0
- /package/claude-code-config/skills/{workflow-apex → apex}/templates/01-analyze.md +0 -0
- /package/claude-code-config/skills/{workflow-apex → apex}/templates/02-plan.md +0 -0
- /package/claude-code-config/skills/{workflow-apex → apex}/templates/03-execute.md +0 -0
- /package/claude-code-config/skills/{workflow-apex → apex}/templates/04-validate.md +0 -0
- /package/claude-code-config/skills/{workflow-apex → apex}/templates/05-examine.md +0 -0
- /package/claude-code-config/skills/{workflow-apex → apex}/templates/06-resolve.md +0 -0
- /package/claude-code-config/skills/{workflow-apex → apex}/templates/07-tests.md +0 -0
- /package/claude-code-config/skills/{workflow-apex → apex}/templates/08-run-tests.md +0 -0
- /package/claude-code-config/skills/{workflow-apex → apex}/templates/09-finish.md +0 -0
- /package/claude-code-config/skills/{workflow-apex → apex}/templates/README.md +0 -0
- /package/claude-code-config/skills/{workflow-apex → apex}/templates/step-complete.md +0 -0
- /package/claude-code-config/skills/{meta-claude-memory → claude-memory}/references/comprehensive-example.md +0 -0
- /package/claude-code-config/skills/{meta-claude-memory → claude-memory}/references/optimize-guide.md +0 -0
- /package/claude-code-config/skills/{meta-claude-memory → claude-memory}/references/project-patterns.md +0 -0
- /package/claude-code-config/skills/{meta-claude-memory → claude-memory}/references/prompting-techniques.md +0 -0
- /package/claude-code-config/skills/{meta-claude-memory → claude-memory}/references/rules-directory-guide.md +0 -0
- /package/claude-code-config/skills/{meta-claude-memory → claude-memory}/references/section-templates.md +0 -0
- /package/claude-code-config/skills/{git-commit → commit}/SKILL.md +0 -0
- /package/claude-code-config/skills/{git-create-pr → create-pr}/SKILL.md +0 -0
- /package/claude-code-config/skills/{utils-fix-errors → fix-errors}/SKILL.md +0 -0
- /package/claude-code-config/skills/{utils-fix-grammar → fix-grammar}/SKILL.md +0 -0
- /package/claude-code-config/skills/{git-fix-pr-comments → fix-pr-comments}/SKILL.md +0 -0
- /package/claude-code-config/skills/{git-merge → merge}/SKILL.md +0 -0
- /package/claude-code-config/skills/{utils-oneshot → oneshot}/SKILL.md +0 -0
- /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/SKILL.md +0 -0
- /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/anthropic-best-practices.md +0 -0
- /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/anti-patterns.md +0 -0
- /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/clarity-principles.md +0 -0
- /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/context-management.md +0 -0
- /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/few-shot-patterns.md +0 -0
- /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/openai-best-practices.md +0 -0
- /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/prompt-templates.md +0 -0
- /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/reasoning-techniques.md +0 -0
- /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/system-prompt-patterns.md +0 -0
- /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/xml-structure.md +0 -0
- /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/LICENSE.txt +0 -0
- /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/SKILL.md +0 -0
- /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/package.json +0 -0
- /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/references/output-patterns.md +0 -0
- /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/references/progressive-disclosure-patterns.md +0 -0
- /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/references/prompting-integration.md +0 -0
- /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/references/real-world-examples.md +0 -0
- /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/references/script-patterns.md +0 -0
- /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/references/workflows.md +0 -0
- /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/references/xml-tag-guide.md +0 -0
- /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/scripts/init-skill.ts +0 -0
- /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/scripts/package-skill.ts +0 -0
- /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/scripts/validate.ts +0 -0
- /package/claude-code-config/skills/{meta-subagent-creator → subagent-creator}/SKILL.md +0 -0
- /package/claude-code-config/skills/{meta-subagent-creator → subagent-creator}/references/context-management.md +0 -0
- /package/claude-code-config/skills/{meta-subagent-creator → subagent-creator}/references/debugging-agents.md +0 -0
- /package/claude-code-config/skills/{meta-subagent-creator → subagent-creator}/references/error-handling-and-recovery.md +0 -0
- /package/claude-code-config/skills/{meta-subagent-creator → subagent-creator}/references/evaluation-and-testing.md +0 -0
- /package/claude-code-config/skills/{meta-subagent-creator → subagent-creator}/references/orchestration-patterns.md +0 -0
- /package/claude-code-config/skills/{meta-subagent-creator → subagent-creator}/references/subagents.md +0 -0
- /package/claude-code-config/skills/{meta-subagent-creator → subagent-creator}/references/writing-subagent-prompts.md +0 -0
- /package/claude-code-config/skills/{utils-ultrathink → ultrathink}/SKILL.md +0 -0
|
@@ -1,264 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: step-02-plan
|
|
3
|
-
description: Strategic planning - create detailed file-by-file implementation strategy
|
|
4
|
-
prev_step: steps/step-01-analyze.md
|
|
5
|
-
next_step: steps/step-03-execute.md
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Step 2: Plan (Strategic Design)
|
|
9
|
-
|
|
10
|
-
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
11
|
-
|
|
12
|
-
- 🛑 NEVER start implementing - that's step 3
|
|
13
|
-
- 🛑 NEVER write or modify code in this step
|
|
14
|
-
- ✅ ALWAYS structure plan by FILE, not by feature
|
|
15
|
-
- ✅ ALWAYS include specific line numbers from analysis
|
|
16
|
-
- ✅ ALWAYS map acceptance criteria to file changes
|
|
17
|
-
- 📋 YOU ARE A PLANNER, not an implementer
|
|
18
|
-
- 💬 FOCUS on "What changes need to be made where?"
|
|
19
|
-
- 🚫 FORBIDDEN to use Edit, Write, or Bash tools
|
|
20
|
-
|
|
21
|
-
## EXECUTION PROTOCOLS:
|
|
22
|
-
|
|
23
|
-
- 🎯 ULTRA THINK before creating the plan
|
|
24
|
-
- 💾 Save plan to output file (if save_mode)
|
|
25
|
-
- 📖 Reference patterns from step-01 analysis
|
|
26
|
-
- 🚫 FORBIDDEN to proceed until user approves plan (unless auto_mode)
|
|
27
|
-
|
|
28
|
-
## CONTEXT BOUNDARIES:
|
|
29
|
-
|
|
30
|
-
- Context from step-01 (files, patterns, utilities) is available
|
|
31
|
-
- Implementation has NOT started
|
|
32
|
-
- User has NOT approved any changes yet
|
|
33
|
-
- Plan must be complete before execution
|
|
34
|
-
|
|
35
|
-
## YOUR TASK:
|
|
36
|
-
|
|
37
|
-
Transform analysis findings into a comprehensive, executable, file-by-file implementation plan.
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
<available_state>
|
|
42
|
-
From previous steps:
|
|
43
|
-
|
|
44
|
-
| Variable | Description |
|
|
45
|
-
|----------|-------------|
|
|
46
|
-
| `{task_description}` | What to implement |
|
|
47
|
-
| `{task_id}` | Kebab-case identifier |
|
|
48
|
-
| `{acceptance_criteria}` | Success criteria from step-01 |
|
|
49
|
-
| `{auto_mode}` | Skip confirmations |
|
|
50
|
-
| `{save_mode}` | Save outputs to files |
|
|
51
|
-
| `{output_dir}` | Path to output (if save_mode) |
|
|
52
|
-
| Files found | From step-01 codebase exploration |
|
|
53
|
-
| Patterns | From step-01 pattern analysis |
|
|
54
|
-
| Utilities | From step-01 utility discovery |
|
|
55
|
-
</available_state>
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
## EXECUTION SEQUENCE:
|
|
60
|
-
|
|
61
|
-
### 1. Initialize Save Output (if save_mode)
|
|
62
|
-
|
|
63
|
-
**If `{save_mode}` = true:**
|
|
64
|
-
|
|
65
|
-
```bash
|
|
66
|
-
bash {skill_dir}/scripts/update-progress.sh "{task_id}" "02" "plan" "in_progress"
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
Append plan to `{output_dir}/02-plan.md` as you work.
|
|
70
|
-
|
|
71
|
-
### 2. ULTRA THINK: Design Complete Strategy
|
|
72
|
-
|
|
73
|
-
**CRITICAL: Think through ENTIRE implementation before writing any plan.**
|
|
74
|
-
|
|
75
|
-
Mental simulation:
|
|
76
|
-
- Walk through the implementation step by step
|
|
77
|
-
- Identify all files that need changes
|
|
78
|
-
- Determine logical order (dependencies first)
|
|
79
|
-
- Consider edge cases and error handling
|
|
80
|
-
- Plan test coverage
|
|
81
|
-
|
|
82
|
-
### 3. Clarify Ambiguities
|
|
83
|
-
|
|
84
|
-
**If `{auto_mode}` = true:**
|
|
85
|
-
→ Use recommended option for any ambiguity, proceed automatically
|
|
86
|
-
|
|
87
|
-
**If `{auto_mode}` = false AND multiple valid approaches exist:**
|
|
88
|
-
|
|
89
|
-
```yaml
|
|
90
|
-
questions:
|
|
91
|
-
- header: "Approach"
|
|
92
|
-
question: "Multiple approaches are possible. Which should we use?"
|
|
93
|
-
options:
|
|
94
|
-
- label: "Approach A (Recommended)"
|
|
95
|
-
description: "Description and tradeoffs of A"
|
|
96
|
-
- label: "Approach B"
|
|
97
|
-
description: "Description and tradeoffs of B"
|
|
98
|
-
- label: "Approach C"
|
|
99
|
-
description: "Description and tradeoffs of C"
|
|
100
|
-
multiSelect: false
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
### 4. Create Detailed Plan
|
|
104
|
-
|
|
105
|
-
**Structure by FILE, not by feature:**
|
|
106
|
-
|
|
107
|
-
```markdown
|
|
108
|
-
## Implementation Plan: {task_description}
|
|
109
|
-
|
|
110
|
-
### Overview
|
|
111
|
-
[1-2 sentences: High-level strategy and approach]
|
|
112
|
-
|
|
113
|
-
### Prerequisites
|
|
114
|
-
- [ ] Prerequisite 1 (if any)
|
|
115
|
-
- [ ] Prerequisite 2 (if any)
|
|
116
|
-
|
|
117
|
-
---
|
|
118
|
-
|
|
119
|
-
### File Changes
|
|
120
|
-
|
|
121
|
-
#### `src/path/file1.ts`
|
|
122
|
-
- Add `functionName` that handles X
|
|
123
|
-
- Extract logic from Y (follow pattern in `example.ts:45`)
|
|
124
|
-
- Handle error case: [specific scenario]
|
|
125
|
-
- Consider: [edge case or important context]
|
|
126
|
-
|
|
127
|
-
#### `src/path/file2.ts`
|
|
128
|
-
- Update imports to include new module
|
|
129
|
-
- Call `functionName` in existing flow at line ~42
|
|
130
|
-
- Update types: Add `NewType` interface
|
|
131
|
-
|
|
132
|
-
#### `src/path/file3.ts` (NEW FILE)
|
|
133
|
-
- Create utility for Z
|
|
134
|
-
- Export: `utilityFunction`, `HelperType`
|
|
135
|
-
- Pattern: Follow `similar-util.ts` structure
|
|
136
|
-
|
|
137
|
-
---
|
|
138
|
-
|
|
139
|
-
### Testing Strategy
|
|
140
|
-
|
|
141
|
-
**New tests:**
|
|
142
|
-
- `src/path/file1.test.ts` - Test functionName with:
|
|
143
|
-
- Happy path
|
|
144
|
-
- Error case
|
|
145
|
-
- Edge case
|
|
146
|
-
|
|
147
|
-
**Update existing:**
|
|
148
|
-
- `src/path/existing.test.ts` - Add test for new flow
|
|
149
|
-
|
|
150
|
-
---
|
|
151
|
-
|
|
152
|
-
### Acceptance Criteria Mapping
|
|
153
|
-
- [ ] AC1: Satisfied by changes in `file1.ts`
|
|
154
|
-
- [ ] AC2: Satisfied by changes in `file2.ts`
|
|
155
|
-
|
|
156
|
-
---
|
|
157
|
-
|
|
158
|
-
### Risks & Considerations
|
|
159
|
-
- Risk 1: [potential issue and mitigation]
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
**If `{save_mode}` = true:** Append full plan to 02-plan.md
|
|
163
|
-
|
|
164
|
-
### 5. Verify Plan Completeness
|
|
165
|
-
|
|
166
|
-
Checklist:
|
|
167
|
-
- [ ] All files identified - nothing missing
|
|
168
|
-
- [ ] Logical order - dependencies handled first
|
|
169
|
-
- [ ] Clear actions - every step specific and actionable
|
|
170
|
-
- [ ] Test coverage - all paths have test strategy
|
|
171
|
-
- [ ] In scope - no scope creep
|
|
172
|
-
- [ ] AC mapped - every criterion has implementation
|
|
173
|
-
|
|
174
|
-
### 6. Present Plan for Approval
|
|
175
|
-
|
|
176
|
-
```
|
|
177
|
-
**Implementation Plan Ready**
|
|
178
|
-
|
|
179
|
-
**Overview:** [1 sentence summary]
|
|
180
|
-
|
|
181
|
-
**Files to modify:** {count} files
|
|
182
|
-
**New files:** {count} files
|
|
183
|
-
**Tests:** {count} test files
|
|
184
|
-
|
|
185
|
-
**Estimated changes:**
|
|
186
|
-
- `file1.ts` - Major changes (add function, handle errors)
|
|
187
|
-
- `file2.ts` - Minor changes (imports, single call)
|
|
188
|
-
- `file1.test.ts` - New test file
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
**If `{auto_mode}` = true:**
|
|
192
|
-
→ Skip confirmation, proceed directly to execution
|
|
193
|
-
|
|
194
|
-
**If `{auto_mode}` = false:**
|
|
195
|
-
|
|
196
|
-
```yaml
|
|
197
|
-
questions:
|
|
198
|
-
- header: "Plan"
|
|
199
|
-
question: "Review the implementation plan. Ready to proceed?"
|
|
200
|
-
options:
|
|
201
|
-
- label: "Approve and execute (Recommended)"
|
|
202
|
-
description: "Plan looks good, start implementation"
|
|
203
|
-
- label: "Adjust plan"
|
|
204
|
-
description: "I want to modify specific parts"
|
|
205
|
-
- label: "Ask questions"
|
|
206
|
-
description: "I have questions about the plan"
|
|
207
|
-
- label: "Start over"
|
|
208
|
-
description: "Revise the entire plan"
|
|
209
|
-
multiSelect: false
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
### 7. Complete Save Output (if save_mode)
|
|
213
|
-
|
|
214
|
-
**If `{save_mode}` = true:**
|
|
215
|
-
|
|
216
|
-
Append to `{output_dir}/02-plan.md`:
|
|
217
|
-
```markdown
|
|
218
|
-
---
|
|
219
|
-
## Step Complete
|
|
220
|
-
**Status:** ✓ Complete
|
|
221
|
-
**Files planned:** {count}
|
|
222
|
-
**Tests planned:** {count}
|
|
223
|
-
**Next:** step-03-execute.md
|
|
224
|
-
**Timestamp:** {ISO timestamp}
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
---
|
|
228
|
-
|
|
229
|
-
## SUCCESS METRICS:
|
|
230
|
-
|
|
231
|
-
✅ Complete file-by-file plan created
|
|
232
|
-
✅ Logical dependency order established
|
|
233
|
-
✅ All acceptance criteria mapped to changes
|
|
234
|
-
✅ Test strategy defined
|
|
235
|
-
✅ User approved plan (or auto-approved)
|
|
236
|
-
✅ NO code written or modified
|
|
237
|
-
✅ Output saved (if save_mode)
|
|
238
|
-
|
|
239
|
-
## FAILURE MODES:
|
|
240
|
-
|
|
241
|
-
❌ Organizing by feature instead of file
|
|
242
|
-
❌ Vague actions like "add feature" or "fix issue"
|
|
243
|
-
❌ Missing test strategy
|
|
244
|
-
❌ Not mapping to acceptance criteria
|
|
245
|
-
❌ Starting to write code (that's step 3!)
|
|
246
|
-
❌ **CRITICAL**: Not using AskUserQuestion for approval
|
|
247
|
-
|
|
248
|
-
## PLANNING PROTOCOLS:
|
|
249
|
-
|
|
250
|
-
- Structure by FILE - each file is a section
|
|
251
|
-
- Include line number references from analysis
|
|
252
|
-
- Every action must be specific and actionable
|
|
253
|
-
- Map every AC to specific file changes
|
|
254
|
-
- Plan tests alongside implementation
|
|
255
|
-
|
|
256
|
-
---
|
|
257
|
-
|
|
258
|
-
## NEXT STEP:
|
|
259
|
-
|
|
260
|
-
After user approves via AskUserQuestion (or auto-proceed), load `./step-03-execute.md`
|
|
261
|
-
|
|
262
|
-
<critical>
|
|
263
|
-
Remember: Planning is ONLY about designing the approach - save all implementation for step-03!
|
|
264
|
-
</critical>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/claude-code-config/skills/{meta-claude-memory → claude-memory}/references/optimize-guide.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/claude-code-config/skills/{meta-skill-creator → skill-creator}/references/workflows.md
RENAMED
|
File without changes
|
/package/claude-code-config/skills/{meta-skill-creator → skill-creator}/references/xml-tag-guide.md
RENAMED
|
File without changes
|
/package/claude-code-config/skills/{meta-skill-creator → skill-creator}/scripts/init-skill.ts
RENAMED
|
File without changes
|
/package/claude-code-config/skills/{meta-skill-creator → skill-creator}/scripts/package-skill.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|