aiblueprint-cli 1.4.41 → 1.4.43

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 (76) hide show
  1. package/claude-code-config/skills/{workflow-apex → apex}/SKILL.md +12 -54
  2. package/claude-code-config/skills/{workflow-apex → apex}/scripts/setup-templates.sh +6 -40
  3. package/claude-code-config/skills/{workflow-apex → apex}/steps/step-00-init.md +3 -24
  4. package/claude-code-config/skills/{workflow-apex → apex}/steps/step-04-validate.md +25 -38
  5. package/claude-code-config/skills/{workflow-apex → apex}/templates/00-context.md +0 -8
  6. package/claude-code-config/skills/{workflow-apex → apex}/templates/README.md +6 -25
  7. package/claude-code-config/skills/{meta-claude-memory → claude-memory}/SKILL.md +59 -1
  8. package/package.json +1 -1
  9. package/claude-code-config/skills/workflow-apex/steps/step-05-examine.md +0 -294
  10. package/claude-code-config/skills/workflow-apex/steps/step-06-resolve.md +0 -237
  11. package/claude-code-config/skills/workflow-apex/steps/step-07-tests.md +0 -250
  12. package/claude-code-config/skills/workflow-apex/steps/step-08-run-tests.md +0 -308
  13. package/claude-code-config/skills/workflow-apex/steps/step-09-finish.md +0 -193
  14. package/claude-code-config/skills/workflow-apex/templates/05-examine.md +0 -10
  15. package/claude-code-config/skills/workflow-apex/templates/06-resolve.md +0 -10
  16. package/claude-code-config/skills/workflow-apex/templates/07-tests.md +0 -10
  17. package/claude-code-config/skills/workflow-apex/templates/08-run-tests.md +0 -10
  18. package/claude-code-config/skills/workflow-apex/templates/09-finish.md +0 -10
  19. /package/claude-code-config/skills/{workflow-apex → apex}/scripts/update-progress.sh +0 -0
  20. /package/claude-code-config/skills/{workflow-apex → apex}/steps/step-00b-branch.md +0 -0
  21. /package/claude-code-config/skills/{workflow-apex → apex}/steps/step-00b-economy.md +0 -0
  22. /package/claude-code-config/skills/{workflow-apex → apex}/steps/step-00b-interactive.md +0 -0
  23. /package/claude-code-config/skills/{workflow-apex → apex}/steps/step-01-analyze.md +0 -0
  24. /package/claude-code-config/skills/{workflow-apex → apex}/steps/step-02-plan.md +0 -0
  25. /package/claude-code-config/skills/{workflow-apex → apex}/steps/step-03-execute.md +0 -0
  26. /package/claude-code-config/skills/{workflow-apex → apex}/templates/01-analyze.md +0 -0
  27. /package/claude-code-config/skills/{workflow-apex → apex}/templates/02-plan.md +0 -0
  28. /package/claude-code-config/skills/{workflow-apex → apex}/templates/03-execute.md +0 -0
  29. /package/claude-code-config/skills/{workflow-apex → apex}/templates/04-validate.md +0 -0
  30. /package/claude-code-config/skills/{workflow-apex → apex}/templates/step-complete.md +0 -0
  31. /package/claude-code-config/skills/{meta-claude-memory → claude-memory}/references/comprehensive-example.md +0 -0
  32. /package/claude-code-config/skills/{meta-claude-memory → claude-memory}/references/optimize-guide.md +0 -0
  33. /package/claude-code-config/skills/{meta-claude-memory → claude-memory}/references/project-patterns.md +0 -0
  34. /package/claude-code-config/skills/{meta-claude-memory → claude-memory}/references/prompting-techniques.md +0 -0
  35. /package/claude-code-config/skills/{meta-claude-memory → claude-memory}/references/rules-directory-guide.md +0 -0
  36. /package/claude-code-config/skills/{meta-claude-memory → claude-memory}/references/section-templates.md +0 -0
  37. /package/claude-code-config/skills/{git-commit → commit}/SKILL.md +0 -0
  38. /package/claude-code-config/skills/{git-create-pr → create-pr}/SKILL.md +0 -0
  39. /package/claude-code-config/skills/{utils-fix-errors → fix-errors}/SKILL.md +0 -0
  40. /package/claude-code-config/skills/{utils-fix-grammar → fix-grammar}/SKILL.md +0 -0
  41. /package/claude-code-config/skills/{git-fix-pr-comments → fix-pr-comments}/SKILL.md +0 -0
  42. /package/claude-code-config/skills/{git-merge → merge}/SKILL.md +0 -0
  43. /package/claude-code-config/skills/{utils-oneshot → oneshot}/SKILL.md +0 -0
  44. /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/SKILL.md +0 -0
  45. /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/anthropic-best-practices.md +0 -0
  46. /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/anti-patterns.md +0 -0
  47. /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/clarity-principles.md +0 -0
  48. /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/context-management.md +0 -0
  49. /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/few-shot-patterns.md +0 -0
  50. /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/openai-best-practices.md +0 -0
  51. /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/prompt-templates.md +0 -0
  52. /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/reasoning-techniques.md +0 -0
  53. /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/system-prompt-patterns.md +0 -0
  54. /package/claude-code-config/skills/{meta-prompt-creator → prompt-creator}/references/xml-structure.md +0 -0
  55. /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/LICENSE.txt +0 -0
  56. /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/SKILL.md +0 -0
  57. /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/package.json +0 -0
  58. /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/references/output-patterns.md +0 -0
  59. /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/references/progressive-disclosure-patterns.md +0 -0
  60. /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/references/prompting-integration.md +0 -0
  61. /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/references/real-world-examples.md +0 -0
  62. /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/references/script-patterns.md +0 -0
  63. /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/references/workflows.md +0 -0
  64. /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/references/xml-tag-guide.md +0 -0
  65. /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/scripts/init-skill.ts +0 -0
  66. /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/scripts/package-skill.ts +0 -0
  67. /package/claude-code-config/skills/{meta-skill-creator → skill-creator}/scripts/validate.ts +0 -0
  68. /package/claude-code-config/skills/{meta-subagent-creator → subagent-creator}/SKILL.md +0 -0
  69. /package/claude-code-config/skills/{meta-subagent-creator → subagent-creator}/references/context-management.md +0 -0
  70. /package/claude-code-config/skills/{meta-subagent-creator → subagent-creator}/references/debugging-agents.md +0 -0
  71. /package/claude-code-config/skills/{meta-subagent-creator → subagent-creator}/references/error-handling-and-recovery.md +0 -0
  72. /package/claude-code-config/skills/{meta-subagent-creator → subagent-creator}/references/evaluation-and-testing.md +0 -0
  73. /package/claude-code-config/skills/{meta-subagent-creator → subagent-creator}/references/orchestration-patterns.md +0 -0
  74. /package/claude-code-config/skills/{meta-subagent-creator → subagent-creator}/references/subagents.md +0 -0
  75. /package/claude-code-config/skills/{meta-subagent-creator → subagent-creator}/references/writing-subagent-prompts.md +0 -0
  76. /package/claude-code-config/skills/{utils-ultrathink → ultrathink}/SKILL.md +0 -0
@@ -1,193 +0,0 @@
1
- ---
2
- name: step-09-finish
3
- description: Finish APEX workflow and create pull request
4
- previous_step: step-08-run-tests.md (or step-04-validate.md if no tests)
5
- ---
6
-
7
- # Step 9: Finish & Create PR
8
-
9
- ## MANDATORY EXECUTION RULES (READ FIRST):
10
-
11
- - 🛑 NEVER push without user confirmation (unless auto_mode)
12
- - 🛑 NEVER create PR if there are uncommitted changes
13
- - ✅ ALWAYS verify all changes are committed
14
- - ✅ ALWAYS push to remote before creating PR
15
- - 📋 YOU ARE A FINISHER, completing the workflow
16
- - 💬 FOCUS on PR creation and workflow summary
17
- - 🚫 FORBIDDEN to make code changes in this step
18
-
19
- ## EXECUTION PROTOCOLS:
20
-
21
- - 🎯 Verify git status before any push/PR operations
22
- - 💾 Save PR details to output file if save_mode enabled
23
- - 📖 Provide clear workflow summary
24
- - 🚫 FORBIDDEN to proceed with uncommitted changes
25
-
26
- ## CONTEXT BOUNDARIES:
27
-
28
- - Variables available: `{task_id}`, `{task_description}`, `{branch_name}`, `{pr_mode}`, `{auto_mode}`, `{save_mode}`, `{output_dir}`
29
- - Previous steps completed: analyze, plan, execute, validate (+ optional: tests, examine)
30
- - All implementation should be done at this point
31
-
32
- ## YOUR TASK:
33
-
34
- Finalize the APEX workflow by committing remaining changes, pushing to remote, and creating a pull request.
35
-
36
- ---
37
-
38
- ## EXECUTION SEQUENCE:
39
-
40
- ### 1. Verify Git Status
41
-
42
- ```bash
43
- git status
44
- ```
45
-
46
- **If uncommitted changes exist:**
47
- → Commit them with message: `feat({task_id}): {task_description}`
48
-
49
- **If working tree is clean:**
50
- → Continue to step 2
51
-
52
- ### 2. Check Commits to Push
53
-
54
- ```bash
55
- git log origin/{branch_name}..HEAD --oneline 2>/dev/null || git log --oneline -5
56
- ```
57
-
58
- Display commits that will be included in PR.
59
-
60
- ### 3. Confirm Push (if not auto_mode)
61
-
62
- **If `{auto_mode}` = true:**
63
- → Auto-push to remote
64
-
65
- **If `{auto_mode}` = false:**
66
- Use AskUserQuestion:
67
- ```yaml
68
- questions:
69
- - header: "Push"
70
- question: "Ready to push {branch_name} and create PR?"
71
- options:
72
- - label: "Push and create PR (Recommended)"
73
- description: "Push commits to remote and open pull request"
74
- - label: "Push only"
75
- description: "Push to remote without creating PR"
76
- - label: "Review commits first"
77
- description: "Show me the full diff before pushing"
78
- - label: "Cancel"
79
- description: "Don't push or create PR"
80
- multiSelect: false
81
- ```
82
-
83
- ### 4. Push to Remote
84
-
85
- ```bash
86
- git push -u origin {branch_name}
87
- ```
88
-
89
- **If push fails:**
90
- → Display error and ask user how to proceed
91
- → Common fixes: pull --rebase, force push (with warning)
92
-
93
- ### 5. Create Pull Request (if pr_mode)
94
-
95
- **If `{pr_mode}` = true:**
96
-
97
- Generate PR content:
98
- - **Title:** `feat({task_id}): {task_description}`
99
- - **Body:** Summary of changes from the workflow
100
-
101
- ```bash
102
- gh pr create --title "feat({task_id}): {task_description}" --body "$(cat <<'EOF'
103
- ## Summary
104
-
105
- {Brief description of what was implemented}
106
-
107
- ## Changes
108
-
109
- {List of key changes made}
110
-
111
- ## Testing
112
-
113
- {How the changes were validated}
114
-
115
- ---
116
-
117
- _Generated by APEX workflow_
118
- EOF
119
- )"
120
- ```
121
-
122
- **Capture PR URL:**
123
- ```bash
124
- gh pr view --json url -q '.url'
125
- ```
126
- → Store as `{pr_url}`
127
-
128
- ### 6. Save Output (if save_mode)
129
-
130
- **If `{save_mode}` = true:**
131
-
132
- ```bash
133
- bash {skill_dir}/scripts/update-progress.sh "{task_id}" "09" "finish" "in_progress"
134
- ```
135
-
136
- Append to `{output_dir}/09-finish.md`: branch, PR URL, commits, timestamp.
137
-
138
- ```bash
139
- bash {skill_dir}/scripts/update-progress.sh "{task_id}" "09" "finish" "complete"
140
- ```
141
-
142
- ### 7. Final Summary
143
-
144
- Display workflow completion summary:
145
-
146
- ```
147
- ═══════════════════════════════════════════════════════
148
- APEX WORKFLOW COMPLETE
149
- ═══════════════════════════════════════════════════════
150
-
151
- Task: {task_description}
152
- ID: {task_id}
153
-
154
- ✓ Analysis complete
155
- ✓ Plan created and approved
156
- ✓ Implementation done
157
- ✓ Validation passed
158
- {if test_mode: "✓ Tests passing"}
159
- {if examine_mode: "✓ Review findings resolved"}
160
- ✓ Changes pushed to {branch_name}
161
- {if pr_mode: "✓ PR created: {pr_url}"}
162
-
163
- ═══════════════════════════════════════════════════════
164
- ```
165
-
166
- ---
167
-
168
- ## SUCCESS METRICS:
169
-
170
- ✅ All changes committed
171
- ✅ Branch pushed to remote
172
- ✅ PR created with proper title and description (if pr_mode)
173
- ✅ PR URL captured and displayed
174
- ✅ Output saved (if save_mode)
175
- ✅ Clear completion summary provided
176
-
177
- ## FAILURE MODES:
178
-
179
- ❌ Creating PR with uncommitted changes
180
- ❌ Pushing without user confirmation (when not auto_mode)
181
- ❌ Force pushing without explicit user request
182
- ❌ Not displaying PR URL after creation
183
- ❌ **CRITICAL**: Using plain text prompts instead of AskUserQuestion
184
-
185
- ---
186
-
187
- ## WORKFLOW COMPLETE
188
-
189
- This is the final step of the APEX workflow. No next step to load.
190
-
191
- <critical>
192
- Remember: This step ONLY handles git operations and PR creation. All code changes should have been completed in earlier steps.
193
- </critical>
@@ -1,10 +0,0 @@
1
- # Step 05: Examine
2
-
3
- **Task:** {{task_description}}
4
- **Started:** {{timestamp}}
5
-
6
- ---
7
-
8
- ## Adversarial Review
9
-
10
- _Review findings will be documented here..._
@@ -1,10 +0,0 @@
1
- # Step 06: Resolve
2
-
3
- **Task:** {{task_description}}
4
- **Started:** {{timestamp}}
5
-
6
- ---
7
-
8
- ## Resolution Log
9
-
10
- _Fixes will be logged here..._
@@ -1,10 +0,0 @@
1
- # Step 07: Tests
2
-
3
- **Task:** {{task_description}}
4
- **Started:** {{timestamp}}
5
-
6
- ---
7
-
8
- ## Test Analysis and Creation
9
-
10
- _Test strategy and implementation will be documented here..._
@@ -1,10 +0,0 @@
1
- # Step 08: Run Tests
2
-
3
- **Task:** {{task_description}}
4
- **Started:** {{timestamp}}
5
-
6
- ---
7
-
8
- ## Test Runner Log
9
-
10
- _Test execution results will be logged here..._
@@ -1,10 +0,0 @@
1
- # Step 09: Finish
2
-
3
- **Task:** {{task_description}}
4
- **Started:** {{timestamp}}
5
-
6
- ---
7
-
8
- ## Pull Request Creation
9
-
10
- _PR creation process will be logged here..._