@ngxtm/devkit 3.18.0 β 3.20.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/merged-commands/application-performance-performance-optimization.md +13 -13
- package/merged-commands/ask/fast.md +14 -57
- package/merged-commands/ask/hard.md +22 -79
- package/merged-commands/auto.md +6 -33
- package/merged-commands/backend-development-feature-development.md +12 -12
- package/merged-commands/bootstrap/auto/fast.md +15 -15
- package/merged-commands/bootstrap/auto/parallel.md +12 -12
- package/merged-commands/bootstrap/auto.md +14 -14
- package/merged-commands/bootstrap.md +15 -15
- package/merged-commands/brainstorm/fast.md +19 -72
- package/merged-commands/brainstorm/hard.md +23 -84
- package/merged-commands/c4-architecture-c4-architecture.md +5 -5
- package/merged-commands/code/auto.md +16 -16
- package/merged-commands/code/fast.md +19 -72
- package/merged-commands/code/hard.md +38 -122
- package/merged-commands/code/no-test.md +12 -12
- package/merged-commands/code/parallel.md +9 -9
- package/merged-commands/code.md +14 -14
- package/merged-commands/comprehensive-review-full-review.md +8 -8
- package/merged-commands/context-degradation.md +2 -2
- package/merged-commands/context-engineering.md +4 -4
- package/merged-commands/context-optimization.md +3 -3
- package/merged-commands/cook/auto/fast.md +3 -3
- package/merged-commands/cook/auto/parallel.md +9 -9
- package/merged-commands/cook/auto.md +1 -1
- package/merged-commands/cook/fast.md +38 -47
- package/merged-commands/cook/hard.md +46 -41
- package/merged-commands/cook.md +13 -13
- package/merged-commands/daily-news-report.md +15 -15
- package/merged-commands/data-engineering-data-driven-feature.md +16 -16
- package/merged-commands/debug/fast.md +13 -29
- package/merged-commands/debug/hard.md +47 -49
- package/merged-commands/debug.md +1 -1
- package/merged-commands/debugging-toolkit-smart-debug.md +1 -1
- package/merged-commands/deploy/check.md +22 -71
- package/merged-commands/deploy/preview.md +18 -62
- package/merged-commands/deploy/production.md +22 -71
- package/merged-commands/deploy/rollback.md +22 -71
- package/merged-commands/deploy.md +0 -11
- package/merged-commands/design/3d.md +3 -3
- package/merged-commands/design/describe.md +1 -1
- package/merged-commands/design/fast.md +2 -2
- package/merged-commands/design/good.md +3 -3
- package/merged-commands/design/hard.md +15 -85
- package/merged-commands/design/screenshot.md +1 -1
- package/merged-commands/design/video.md +1 -1
- package/merged-commands/design.md +0 -11
- package/merged-commands/doc-coauthoring.md +5 -5
- package/merged-commands/docker-expert.md +1 -1
- package/merged-commands/docs/audit.md +26 -77
- package/merged-commands/docs/business.md +26 -77
- package/merged-commands/docs/core.md +24 -68
- package/merged-commands/docs/init.md +8 -8
- package/merged-commands/docs/update.md +13 -13
- package/merged-commands/docs.md +0 -12
- package/merged-commands/error-debugging-multi-agent-review.md +1 -1
- package/merged-commands/error-diagnostics-smart-debug.md +1 -1
- package/merged-commands/finishing-a-development-branch.md +1 -1
- package/merged-commands/fix/ci.md +2 -2
- package/merged-commands/fix/fast.md +2 -2
- package/merged-commands/fix/hard.md +6 -6
- package/merged-commands/fix/logs.md +5 -5
- package/merged-commands/fix/parallel.md +9 -9
- package/merged-commands/fix/test.md +6 -6
- package/merged-commands/fix/ui.md +8 -8
- package/merged-commands/fixing.md +3 -3
- package/merged-commands/framework-migration-legacy-modernize.md +13 -13
- package/merged-commands/full-stack-orchestration-full-stack-feature.md +12 -12
- package/merged-commands/git/cm.md +1 -1
- package/merged-commands/git/cp.md +1 -1
- package/merged-commands/git/merge.md +1 -1
- package/merged-commands/git/pr.md +1 -1
- package/merged-commands/git-pr-workflows-git-workflow.md +10 -10
- package/merged-commands/google-adk-python.md +1 -1
- package/merged-commands/hr-pro.md +1 -1
- package/merged-commands/incident-response-incident-response.md +13 -13
- package/merged-commands/integrate/polar.md +3 -3
- package/merged-commands/integrate/sepay.md +3 -3
- package/merged-commands/journal.md +1 -1
- package/merged-commands/learn.md +51 -4
- package/merged-commands/linear-claude-skill.md +2 -2
- package/merged-commands/loki-mode.md +14 -14
- package/merged-commands/machine-learning-ops-ml-pipeline.md +7 -7
- package/merged-commands/mcp-management.md +8 -8
- package/merged-commands/multi-agent-patterns.md +14 -14
- package/merged-commands/multi-platform-apps-multi-platform.md +10 -10
- package/merged-commands/nestjs-expert.md +1 -1
- package/merged-commands/performance-testing-review-multi-agent-review.md +1 -1
- package/merged-commands/plan/archive.md +1 -1
- package/merged-commands/plan/ci.md +1 -1
- package/merged-commands/plan/fast.md +2 -2
- package/merged-commands/plan/hard.md +4 -4
- package/merged-commands/plan/parallel.md +5 -5
- package/merged-commands/plan/two.md +6 -6
- package/merged-commands/requesting-code-review.md +6 -6
- package/merged-commands/review/codebase/parallel.md +5 -5
- package/merged-commands/review/codebase.md +5 -5
- package/merged-commands/review/fast.md +13 -29
- package/merged-commands/review/hard.md +48 -49
- package/merged-commands/review.md +0 -11
- package/merged-commands/security-scanning-security-hardening.md +13 -13
- package/merged-commands/skill/add.md +6 -6
- package/merged-commands/skill/create.md +6 -6
- package/merged-commands/skill/fix-logs.md +6 -6
- package/merged-commands/skill/optimize/auto.md +1 -1
- package/merged-commands/skill/optimize.md +1 -1
- package/merged-commands/skill/plan.md +1 -1
- package/merged-commands/skill/update.md +6 -6
- package/merged-commands/subagent-driven-development.md +53 -53
- package/merged-commands/tdd-workflows-tdd-cycle.md +12 -12
- package/merged-commands/tdd-workflows-tdd-red.md +1 -1
- package/merged-commands/tdd-workflows-tdd-refactor.md +1 -1
- package/merged-commands/test/fast.md +22 -33
- package/merged-commands/test/hard.md +59 -56
- package/merged-commands/test/ui.md +1 -1
- package/merged-commands/test.md +1 -1
- package/merged-commands/typescript-expert.md +1 -1
- package/merged-commands/use-mcp.md +5 -5
- package/merged-commands/writing-plans.md +3 -3
- package/merged-commands/writing-skills.md +8 -8
- package/package.json +1 -1
- package/rules-index.json +1 -1
- package/skills/application-performance-performance-optimization/SKILL.md +13 -13
- package/skills/azure-ai-agents-python/references/tools.md +1 -1
- package/skills/backend-development-feature-development/SKILL.md +12 -12
- package/skills/best-practices/references/anti-patterns.md +2 -2
- package/skills/best-practices/references/best-practices-guide.md +14 -14
- package/skills/c4-architecture-c4-architecture/SKILL.md +5 -5
- package/skills/comprehensive-review-full-review/SKILL.md +8 -8
- package/skills/context-degradation/SKILL.md +2 -2
- package/skills/context-engineering/SKILL.md +4 -4
- package/skills/context-engineering/references/context-degradation.md +1 -1
- package/skills/context-engineering/references/context-optimization.md +1 -1
- package/skills/context-engineering/references/multi-agent-patterns.md +1 -1
- package/skills/context-engineering/references/runtime-awareness.md +1 -1
- package/skills/context-optimization/SKILL.md +3 -3
- package/skills/daily-news-report/SKILL.md +15 -15
- package/skills/data-engineering-data-driven-feature/SKILL.md +16 -16
- package/skills/debugging-toolkit-smart-debug/SKILL.md +1 -1
- package/skills/doc-coauthoring/SKILL.md +5 -5
- package/skills/docker-expert/SKILL.md +1 -1
- package/skills/error-debugging-multi-agent-review/SKILL.md +1 -1
- package/skills/error-diagnostics-smart-debug/SKILL.md +1 -1
- package/skills/finishing-a-development-branch/SKILL.md +1 -1
- package/skills/fixing/SKILL.md +3 -3
- package/skills/fixing/references/parallel-exploration.md +4 -4
- package/skills/fixing/references/skill-activation-matrix.md +3 -3
- package/skills/fixing/references/workflow-deep.md +11 -11
- package/skills/fixing/references/workflow-quick.md +4 -4
- package/skills/fixing/references/workflow-standard.md +12 -12
- package/skills/framework-migration-legacy-modernize/SKILL.md +13 -13
- package/skills/full-stack-orchestration-full-stack-feature/SKILL.md +12 -12
- package/skills/git-pr-workflows-git-workflow/SKILL.md +10 -10
- package/skills/google-adk-python/SKILL.md +1 -1
- package/skills/hr-pro/SKILL.md +1 -1
- package/skills/incident-response-incident-response/SKILL.md +13 -13
- package/skills/incident-response-smart-fix/resources/implementation-playbook.md +17 -17
- package/skills/learn/SKILL.md +51 -4
- package/skills/linear-claude-skill/SKILL.md +2 -2
- package/skills/loki-mode/ACKNOWLEDGEMENTS.md +4 -4
- package/skills/loki-mode/CHANGELOG.md +9 -9
- package/skills/loki-mode/CONTEXT-EXPORT.md +1 -1
- package/skills/loki-mode/README.md +2 -2
- package/skills/loki-mode/SKILL.md +14 -14
- package/skills/loki-mode/autonomy/run.sh +1 -1
- package/skills/loki-mode/integrations/vibe-kanban.md +1 -1
- package/skills/loki-mode/references/core-workflow.md +4 -4
- package/skills/loki-mode/references/production-patterns.md +6 -6
- package/skills/loki-mode/references/quality-control.md +2 -2
- package/skills/loki-mode/references/sdlc-phases.md +3 -3
- package/skills/machine-learning-ops-ml-pipeline/SKILL.md +7 -7
- package/skills/mcp-builder/reference/evaluation.md +3 -3
- package/skills/mcp-management/README.md +6 -6
- package/skills/mcp-management/SKILL.md +8 -8
- package/skills/mcp-management/references/gemini-cli-integration.md +1 -1
- package/skills/multi-agent-patterns/SKILL.md +14 -14
- package/skills/multi-platform-apps-multi-platform/SKILL.md +10 -10
- package/skills/nestjs-expert/SKILL.md +1 -1
- package/skills/performance-testing-review-multi-agent-review/SKILL.md +1 -1
- package/skills/planning-with-files/reference.md +2 -2
- package/skills/requesting-code-review/SKILL.md +6 -6
- package/skills/security-scanning-security-hardening/SKILL.md +13 -13
- package/skills/subagent-driven-development/SKILL.md +53 -53
- package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +1 -1
- package/skills/subagent-driven-development/implementer-prompt.md +3 -3
- package/skills/subagent-driven-development/spec-reviewer-prompt.md +1 -1
- package/skills/tdd-workflows-tdd-cycle/SKILL.md +12 -12
- package/skills/tdd-workflows-tdd-green/resources/implementation-playbook.md +1 -1
- package/skills/tdd-workflows-tdd-red/SKILL.md +1 -1
- package/skills/tdd-workflows-tdd-refactor/SKILL.md +1 -1
- package/skills/typescript-expert/SKILL.md +1 -1
- package/skills/writing-plans/SKILL.md +3 -3
- package/skills/writing-skills/SKILL.md +8 -8
- package/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +1 -1
- package/skills/writing-skills/references/cso/README.md +3 -3
- package/skills/writing-skills/testing-skills-with-subagents.md +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Deep Ideation β Research-backed exploration
|
|
3
3
|
version: "1.0"
|
|
4
4
|
category: planning
|
|
5
5
|
execution-mode: execute
|
|
@@ -13,36 +13,7 @@ execution-mode: execute
|
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
|
-
##
|
|
17
|
-
|
|
18
|
-
**LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
|
|
19
|
-
|
|
20
|
-
1. ORCHESTRATION-LAWS.md
|
|
21
|
-
2. ADAPTIVE-EXECUTION.md
|
|
22
|
-
3. EXECUTION-PROTOCOL.md
|
|
23
|
-
|
|
24
|
-
**β Do not run Phase 1 until all are loaded.** Follow **all** rules in those files; they override any conflicting instructions in this file.
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
## π TIERED EXECUTION PROTOCOL (MANDATORY)
|
|
29
|
-
|
|
30
|
-
> **Reference**: `{RULES_PATH}/ADAPTIVE-EXECUTION.md`
|
|
31
|
-
|
|
32
|
-
```yaml
|
|
33
|
-
tiered_execution:
|
|
34
|
-
principle: "Sub-agent FIRST (Tier 1). EMBODY ONLY on system failure (Tier 2)."
|
|
35
|
-
for_each_phase:
|
|
36
|
-
TIER_1_MANDATORY: "IF tool exists β MUST use SUB_AGENT_DELEGATION"
|
|
37
|
-
TIER_2_FALLBACK: "ONLY on system errorβNOT complexity/preference/speed"
|
|
38
|
-
anti_lazy_fallback:
|
|
39
|
-
- β NEVER use Tier 2 when Tier 1 tool is available
|
|
40
|
-
- β
ALWAYS attempt Tier 1 first when tool exists
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
---
|
|
44
|
-
|
|
45
|
-
## β οΈ CRITICAL: DELIVERABLE FILE RULES
|
|
16
|
+
## CRITICAL: DELIVERABLE FILE RULES
|
|
46
17
|
|
|
47
18
|
```yaml
|
|
48
19
|
deliverable_files:
|
|
@@ -61,29 +32,22 @@ All files in `./reports/` β English only.
|
|
|
61
32
|
|
|
62
33
|
---
|
|
63
34
|
|
|
64
|
-
##
|
|
35
|
+
## Execution
|
|
65
36
|
|
|
66
|
-
One phase at a time,
|
|
37
|
+
One phase at a time, sequential. Each phase must complete before next begins.
|
|
67
38
|
|
|
68
39
|
---
|
|
69
40
|
|
|
70
|
-
##
|
|
41
|
+
## Phase 1: REQUIREMENTS DISCOVERY
|
|
71
42
|
|
|
72
43
|
| Attribute | Value |
|
|
73
44
|
| --------- | ------------------------------- |
|
|
74
|
-
| **
|
|
45
|
+
| **Role** | `brainstormer` |
|
|
75
46
|
| **Goal** | Deep requirements clarification |
|
|
76
47
|
|
|
77
|
-
###
|
|
48
|
+
### Delegation
|
|
78
49
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
> Delegate to `brainstormer` subagent. Do NOT read agent file directly.
|
|
82
|
-
|
|
83
|
-
**ELSE (EMBODY fallback):**
|
|
84
|
-
|
|
85
|
-
> Load `{AGENTS_PATH}/brainstormer.md`
|
|
86
|
-
> EMBODY [brainstormer] β Apply methodology from agent file.
|
|
50
|
+
> Task(subagent_type="general-purpose", prompt="You are a brainstormer. Perform deep requirements clarification using Socratic questioning and assumption surfacing. Exit when: requirements fully understood, stakeholders identified, constraints documented, success metrics defined.", description="brainstormer: Deep requirements clarification")
|
|
87
51
|
|
|
88
52
|
**Exit Criteria:**
|
|
89
53
|
|
|
@@ -91,27 +55,19 @@ One phase at a time, each phase independent: Phase 1 β then Phase 2 β β¦ in
|
|
|
91
55
|
- [ ] Stakeholders identified
|
|
92
56
|
- [ ] Constraints documented
|
|
93
57
|
- [ ] Success metrics defined
|
|
94
|
-
- [ ] **METHODOLOGY CHECK**: Output aligns with `brainstormer` Thinking Protocol (Socratic questioning, assumption surfacing)
|
|
95
58
|
|
|
96
59
|
---
|
|
97
60
|
|
|
98
|
-
##
|
|
61
|
+
## Phase 2: RESEARCH
|
|
99
62
|
|
|
100
63
|
| Attribute | Value |
|
|
101
64
|
| --------- | ------------------------------------ |
|
|
102
|
-
| **
|
|
65
|
+
| **Role** | `researcher` |
|
|
103
66
|
| **Goal** | Research best practices and patterns |
|
|
104
67
|
|
|
105
|
-
###
|
|
106
|
-
|
|
107
|
-
**TIER 1 (MANDATORY when tool exists):**
|
|
108
|
-
|
|
109
|
-
> Invoke runSubagent for `researcher`. Context: ISOLATED.
|
|
110
|
-
|
|
111
|
-
**TIER 2 (FALLBACK on system error only):**
|
|
68
|
+
### Delegation
|
|
112
69
|
|
|
113
|
-
>
|
|
114
|
-
> EMBODY [researcher] β Requires logged system error justification.
|
|
70
|
+
> Task(subagent_type="general-purpose", prompt="You are a researcher. Research best practices and patterns. CREATE ./reports/researchers/RESEARCH-{topic}.md with findings. Exit when: research file created, industry patterns researched, best practices documented, sources cited.", description="researcher: Research best practices and patterns")
|
|
115
71
|
|
|
116
72
|
**MANDATORY**: CREATE `./reports/researchers/RESEARCH-{topic}.md`
|
|
117
73
|
|
|
@@ -121,55 +77,39 @@ One phase at a time, each phase independent: Phase 1 β then Phase 2 β β¦ in
|
|
|
121
77
|
- [ ] Industry patterns researched
|
|
122
78
|
- [ ] Best practices documented
|
|
123
79
|
- [ ] Sources cited
|
|
124
|
-
- [ ] **METHODOLOGY CHECK**: Output aligns with `researcher` Thinking Protocol (sources cited, cross-referenced, evidence-based)
|
|
125
80
|
|
|
126
81
|
---
|
|
127
82
|
|
|
128
|
-
##
|
|
83
|
+
## Phase 3: CODEBASE ANALYSIS
|
|
129
84
|
|
|
130
85
|
| Attribute | Value |
|
|
131
86
|
| --------- | -------------------------------------- |
|
|
132
|
-
| **
|
|
87
|
+
| **Role** | `scouter` |
|
|
133
88
|
| **Goal** | Map existing architecture and patterns |
|
|
134
89
|
|
|
135
|
-
###
|
|
90
|
+
### Delegation
|
|
136
91
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
> Invoke runSubagent for `scouter`. Context: ISOLATED.
|
|
140
|
-
|
|
141
|
-
**TIER 2 (FALLBACK on system error only):**
|
|
142
|
-
|
|
143
|
-
> Load `{AGENTS_PATH}/scouter.md`
|
|
144
|
-
> EMBODY [scouter] β Requires logged system error justification.
|
|
92
|
+
> Task(subagent_type="general-purpose", prompt="You are a scouter. Map existing architecture and patterns in the codebase. Exit when: architecture understood, existing patterns documented, integration points identified.", description="scouter: Map existing architecture and patterns")
|
|
145
93
|
|
|
146
94
|
**Exit Criteria:**
|
|
147
95
|
|
|
148
96
|
- [ ] Architecture understood
|
|
149
97
|
- [ ] Existing patterns documented
|
|
150
98
|
- [ ] Integration points identified
|
|
151
|
-
- [ ] **METHODOLOGY CHECK**: Output aligns with `scouter` Thinking Protocol (file locations, patterns as constraints)
|
|
152
99
|
|
|
153
100
|
---
|
|
154
101
|
|
|
155
|
-
##
|
|
102
|
+
## Phase 4: SOLUTION SYNTHESIS
|
|
156
103
|
|
|
157
104
|
| Attribute | Value |
|
|
158
105
|
| ---------------- | -------------------------------------------------------------------------------------- |
|
|
159
|
-
| **
|
|
106
|
+
| **Role** | `brainstormer` |
|
|
160
107
|
| **Goal** | Synthesize ideas with trade-off analysis |
|
|
161
108
|
| **Prerequisite** | READ `./reports/researchers/RESEARCH-{topic}.md` + `./reports/scouts/SCOUT-{topic}.md` |
|
|
162
109
|
|
|
163
|
-
###
|
|
164
|
-
|
|
165
|
-
**TIER 1 (MANDATORY when tool exists):**
|
|
166
|
-
|
|
167
|
-
> Invoke runSubagent for `brainstormer`. Context: ISOLATED.
|
|
168
|
-
|
|
169
|
-
**TIER 2 (FALLBACK on system error only):**
|
|
110
|
+
### Delegation
|
|
170
111
|
|
|
171
|
-
>
|
|
172
|
-
> EMBODY [brainstormer] β Requires logged system error justification.
|
|
112
|
+
> Task(subagent_type="general-purpose", prompt="You are a brainstormer. READ all prior phase deliverables. Synthesize ideas with trade-off analysis. CREATE ./reports/brainstorms/BRAINSTORM-{topic}.md. Exit when: brainstorm file created, ideas synthesized incorporating research, trade-offs analyzed, recommendations provided.", description="brainstormer: Synthesize ideas with trade-off analysis")
|
|
173
113
|
|
|
174
114
|
**MANDATORY**:
|
|
175
115
|
|
|
@@ -182,7 +122,6 @@ One phase at a time, each phase independent: Phase 1 β then Phase 2 β β¦ in
|
|
|
182
122
|
- [ ] Ideas synthesized incorporating research
|
|
183
123
|
- [ ] Trade-offs analyzed
|
|
184
124
|
- [ ] Recommendations provided
|
|
185
|
-
- [ ] **METHODOLOGY CHECK**: Output aligns with `brainstormer` Thinking Protocol (structured analysis, trade-off documentation)
|
|
186
125
|
|
|
187
126
|
---
|
|
188
127
|
|
|
@@ -190,6 +129,6 @@ One phase at a time, each phase independent: Phase 1 β then Phase 2 β β¦ in
|
|
|
190
129
|
|
|
191
130
|
Present comprehensive analysis with:
|
|
192
131
|
|
|
193
|
-
1.
|
|
194
|
-
2.
|
|
195
|
-
3.
|
|
132
|
+
1. **Analysis Complete** β Proceed with recommendation
|
|
133
|
+
2. **Plan** β `/plan:hard` for detailed planning
|
|
134
|
+
3. **Iterate** β Refine based on feedback
|
|
@@ -54,7 +54,7 @@ All documentation is written to a new `C4-Documentation/` directory in the repos
|
|
|
54
54
|
|
|
55
55
|
For each directory, starting from the deepest:
|
|
56
56
|
|
|
57
|
-
- Use Task tool with subagent_type="
|
|
57
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
58
58
|
- Prompt: |
|
|
59
59
|
Analyze the code in directory: [directory_path]
|
|
60
60
|
|
|
@@ -110,7 +110,7 @@ For each directory, starting from the deepest:
|
|
|
110
110
|
|
|
111
111
|
For each identified component:
|
|
112
112
|
|
|
113
|
-
- Use Task tool with subagent_type="
|
|
113
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
114
114
|
- Prompt: |
|
|
115
115
|
Synthesize the following C4 Code-level documentation files into a logical component:
|
|
116
116
|
|
|
@@ -153,7 +153,7 @@ For each identified component:
|
|
|
153
153
|
|
|
154
154
|
### 2.3 Create Master Component Index
|
|
155
155
|
|
|
156
|
-
- Use Task tool with subagent_type="
|
|
156
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
157
157
|
- Prompt: |
|
|
158
158
|
Create a master component index that lists all components in the system.
|
|
159
159
|
|
|
@@ -188,7 +188,7 @@ For each identified component:
|
|
|
188
188
|
|
|
189
189
|
### 3.2 Map Components to Containers
|
|
190
190
|
|
|
191
|
-
- Use Task tool with subagent_type="
|
|
191
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
192
192
|
- Prompt: |
|
|
193
193
|
Synthesize components into containers based on deployment definitions.
|
|
194
194
|
|
|
@@ -261,7 +261,7 @@ For each identified component:
|
|
|
261
261
|
|
|
262
262
|
### 4.2 Create Context Documentation
|
|
263
263
|
|
|
264
|
-
- Use Task tool with subagent_type="
|
|
264
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
265
265
|
- Prompt: |
|
|
266
266
|
Create comprehensive C4 Context-level documentation for the system.
|
|
267
267
|
|
|
@@ -3,7 +3,7 @@ description: β‘β‘β‘ [AUTO] Start coding & testing an existing plan ("trust me
|
|
|
3
3
|
argument-hint: [plan] [all-phases-yes-or-no] (default: yes)
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
**MUST READ** `CLAUDE.md` then **THINK HARDER** to start working on the following plan follow the Orchestration Protocol, Core Responsibilities,
|
|
6
|
+
**MUST READ** `CLAUDE.md` then **THINK HARDER** to start working on the following plan follow the Orchestration Protocol, Core Responsibilities, Task Agents Team and Development Rules:
|
|
7
7
|
<plan>$ARGUMENTS</plan>
|
|
8
8
|
|
|
9
9
|
## Arguments
|
|
@@ -17,7 +17,7 @@ argument-hint: [plan] [all-phases-yes-or-no] (default: yes)
|
|
|
17
17
|
- Validate the plan's assumptions, surface blockers, and confirm priorities with the user prior to execution.
|
|
18
18
|
- Drive the implementation from start to finish, reporting progress and adjusting the plan responsibly while honoring **YAGNI**, **KISS**, and **DRY** principles.
|
|
19
19
|
|
|
20
|
-
**IMPORTANT:** Remind these rules with
|
|
20
|
+
**IMPORTANT:** Remind these rules with Task agents communication:
|
|
21
21
|
- Sacrifice grammar for the sake of concision when writing reports.
|
|
22
22
|
- In reports, list any unresolved questions at the end, if any.
|
|
23
23
|
- Ensure token efficiency while maintaining high quality.
|
|
@@ -36,9 +36,9 @@ argument-hint: [plan] [all-phases-yes-or-no] (default: yes)
|
|
|
36
36
|
|
|
37
37
|
**Output:** `β Step 0: [Plan Name] - [Phase Name]`
|
|
38
38
|
|
|
39
|
-
**
|
|
39
|
+
**Task Agent Pattern (use throughout):**
|
|
40
40
|
```
|
|
41
|
-
Task(subagent_type="
|
|
41
|
+
Task(subagent_type="general-purpose", prompt="[task description]", description="[brief]")
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
---
|
|
@@ -50,10 +50,10 @@ Task(subagent_type="[type]", prompt="[task description]", description="[brief]")
|
|
|
50
50
|
---
|
|
51
51
|
|
|
52
52
|
## Step 1: Analysis & Task Extraction
|
|
53
|
-
Use
|
|
53
|
+
Use a Task agent for project management to read plan file completely. Map dependencies between tasks. List ambiguities or blockers. Identify required skills/tools and activate from catalog. Parse phase file and extract actionable tasks.
|
|
54
54
|
|
|
55
55
|
**TodoWrite Initialization & Task Extraction:**
|
|
56
|
-
|
|
56
|
+
Task agent for project management must respond back with:
|
|
57
57
|
- Initialize `TodoWrite` with `Step 0: [Plan Name] - [Phase Name]` and all command steps (Step 1 through Step 5)
|
|
58
58
|
- Read phase file (e.g., phase-01-preparation.md)
|
|
59
59
|
- Look for tasks/steps/phases/sections/numbered/bulleted lists
|
|
@@ -72,7 +72,7 @@ Mark Step 1 complete in `TodoWrite`, mark Step 2 in_progress.
|
|
|
72
72
|
|
|
73
73
|
## Step 2: Implementation
|
|
74
74
|
|
|
75
|
-
Implement selected plan phase step-by-step following extracted tasks (Step 2.1, Step 2.2, etc.). Mark tasks complete as done. For UI work,
|
|
75
|
+
Implement selected plan phase step-by-step following extracted tasks (Step 2.1, Step 2.2, etc.). Mark tasks complete as done. For UI work, use a Task agent for UI/UX design: Task(subagent_type="general-purpose", prompt="You are a ui-ux-designer. Implement [feature] UI per ./docs/design-guidelines.md", description="Implement UI"). Use `ai-multimodal` skill for image assets, imagemagick in `media-processing` skill for editing. Run type checking and compile to verify no syntax errors.
|
|
76
76
|
|
|
77
77
|
**Output:** `β Step 2: Implemented [N] files - [X/Y] tasks complete, compilation passed`
|
|
78
78
|
|
|
@@ -82,7 +82,7 @@ Mark Step 2 complete in `TodoWrite`, mark Step 3 in_progress.
|
|
|
82
82
|
|
|
83
83
|
## Step 3: Testing
|
|
84
84
|
|
|
85
|
-
Write tests covering happy path, edge cases, and error cases.
|
|
85
|
+
Write tests covering happy path, edge cases, and error cases. Use a Task agent for testing: Task(subagent_type="general-purpose", prompt="You are a tester. Run test suite for plan phase [phase-name]", description="Run tests"). If ANY tests fail: STOP, use a Task agent for debugging: Task(subagent_type="general-purpose", prompt="You are a debugger. Analyze failures: [details]", description="Debug test failures"), fix all issues, re-run tester. Repeat until 100% pass.
|
|
86
86
|
|
|
87
87
|
**Testing standards:** Unit tests may use mocks for external dependencies (APIs, DB). Integration tests use test environment. E2E tests use real but isolated data. Forbidden: commenting out tests, changing assertions to pass, TODO/FIXME to defer fixes.
|
|
88
88
|
|
|
@@ -96,7 +96,7 @@ Mark Step 3 complete in `TodoWrite`, mark Step 4 in_progress.
|
|
|
96
96
|
|
|
97
97
|
## Step 4: Code Review (Smart Auto-Handling)
|
|
98
98
|
|
|
99
|
-
|
|
99
|
+
Use a Task agent for code review: Task(subagent_type="general-purpose", prompt="You are a code-reviewer. Review code changes in **Step 2** of plan phase [phase-name]. Check security, performance, architecture, YAGNI/KISS/DRY. Return score (X/10), critical issues list, warnings list, suggestions list.", description="Code review")
|
|
100
100
|
|
|
101
101
|
**Auto-Handling Logic (max 3 cycles):**
|
|
102
102
|
|
|
@@ -141,14 +141,14 @@ Mark Step 4 complete in TodoWrite, mark Step 5 in_progress.
|
|
|
141
141
|
## Step 5: Finalize
|
|
142
142
|
|
|
143
143
|
1. **STATUS UPDATE - BOTH MANDATORY - PARALLEL EXECUTION:**
|
|
144
|
-
- **
|
|
145
|
-
- **
|
|
144
|
+
- **Use** Task agent for project management: Task(subagent_type="general-purpose", prompt="You are a project-manager. Update plan status in [plan-path]. Mark plan phase [phase-name] as DONE with timestamp. Update roadmap.", description="Update plan status")
|
|
145
|
+
- **Use** Task agent for documentation: Task(subagent_type="general-purpose", prompt="You are a docs-manager. Update docs for plan phase [phase-name]. Changed files: [list].", description="Update docs")
|
|
146
146
|
|
|
147
147
|
2. **ONBOARDING CHECK:** Detect onboarding requirements (API keys, env vars, config) + generate summary report with next steps.
|
|
148
148
|
- If this is the last phase: use `AskUserQuestion` tool to ask if user wants to set up onboarding requirements.
|
|
149
149
|
|
|
150
150
|
3. **AUTO-COMMIT (after steps 1 and 2 completes):**
|
|
151
|
-
- **
|
|
151
|
+
- **Use** Task agent for git operations: Task(subagent_type="general-purpose", prompt="You are a git-manager. Handle git operation.", description="Git commit")
|
|
152
152
|
- Run only if: Steps 1 and 2 successful + Tests passed
|
|
153
153
|
- Auto-stage, commit with conventional commit message based on actual changes
|
|
154
154
|
|
|
@@ -185,10 +185,10 @@ Use `AskUserQuestion` tool to ask these questions:
|
|
|
185
185
|
|
|
186
186
|
**TodoWrite tracking required:** Initialize at Step 0, mark each step complete before next.
|
|
187
187
|
|
|
188
|
-
**Mandatory
|
|
189
|
-
- Step 3:
|
|
190
|
-
- Step 4:
|
|
191
|
-
- Step 5:
|
|
188
|
+
**Mandatory Task agent calls:**
|
|
189
|
+
- Step 3: Task agent for testing
|
|
190
|
+
- Step 4: Task agent for code review
|
|
191
|
+
- Step 5: Task agent for project management AND Task agent for documentation AND Task agent for git operations
|
|
192
192
|
|
|
193
193
|
**Blocking gates:**
|
|
194
194
|
- Step 3: Tests must be 100% passing
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Quick Implementation β Direct coding without planning phase
|
|
3
3
|
version: "1.0"
|
|
4
4
|
category: engineering
|
|
5
5
|
execution-mode: execute
|
|
@@ -13,36 +13,7 @@ execution-mode: execute
|
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
|
-
##
|
|
17
|
-
|
|
18
|
-
**LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
|
|
19
|
-
|
|
20
|
-
1. ORCHESTRATION-LAWS.md
|
|
21
|
-
2. ADAPTIVE-EXECUTION.md
|
|
22
|
-
3. EXECUTION-PROTOCOL.md
|
|
23
|
-
|
|
24
|
-
**β Do not run Phase 1 until all are loaded.** Follow **all** rules in those files; they override any conflicting instructions in this file.
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
## π TIERED EXECUTION PROTOCOL (MANDATORY)
|
|
29
|
-
|
|
30
|
-
> **Reference**: `{RULES_PATH}/ADAPTIVE-EXECUTION.md`
|
|
31
|
-
|
|
32
|
-
```yaml
|
|
33
|
-
tiered_execution:
|
|
34
|
-
principle: "Sub-agent FIRST (Tier 1). EMBODY ONLY on system failure (Tier 2)."
|
|
35
|
-
for_each_phase:
|
|
36
|
-
TIER_1_MANDATORY: "IF tool exists β MUST use SUB_AGENT_DELEGATION"
|
|
37
|
-
TIER_2_FALLBACK: "ONLY on system errorβNOT complexity/preference/speed"
|
|
38
|
-
anti_lazy_fallback:
|
|
39
|
-
- β NEVER use Tier 2 when Tier 1 tool is available
|
|
40
|
-
- β
ALWAYS attempt Tier 1 first when tool exists
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
---
|
|
44
|
-
|
|
45
|
-
## β οΈ CRITICAL: PHASE CONTINUITY RULES
|
|
16
|
+
## CRITICAL: PHASE CONTINUITY RULES
|
|
46
17
|
|
|
47
18
|
```yaml
|
|
48
19
|
phase_continuity:
|
|
@@ -60,90 +31,66 @@ All files in `./reports/` β English only.
|
|
|
60
31
|
|
|
61
32
|
---
|
|
62
33
|
|
|
63
|
-
##
|
|
34
|
+
## Execution
|
|
64
35
|
|
|
65
|
-
One phase at a time,
|
|
36
|
+
One phase at a time, sequential. Each phase must complete before next begins.
|
|
66
37
|
|
|
67
38
|
---
|
|
68
39
|
|
|
69
|
-
##
|
|
40
|
+
## Phase 1: CONTEXT SCAN
|
|
70
41
|
|
|
71
42
|
| Attribute | Value |
|
|
72
43
|
| --------- | ------------------------------------------- |
|
|
73
|
-
| **
|
|
44
|
+
| **Role** | `scouter` |
|
|
74
45
|
| **Goal** | Find relevant code patterns and conventions |
|
|
75
46
|
|
|
76
|
-
###
|
|
77
|
-
|
|
78
|
-
**TIER 1 (MANDATORY when tool exists):**
|
|
47
|
+
### Delegation
|
|
79
48
|
|
|
80
|
-
>
|
|
81
|
-
|
|
82
|
-
**TIER 2 (FALLBACK on system error only):**
|
|
83
|
-
|
|
84
|
-
> Load `{AGENTS_PATH}/scouter.md`
|
|
85
|
-
> EMBODY [scouter] β Requires logged system error justification.
|
|
49
|
+
> Task(subagent_type="general-purpose", prompt="You are a scouter. Find relevant code patterns and conventions for the task. Exit when: relevant files identified, patterns understood, conventions noted.", description="scouter: Find relevant code patterns and conventions")
|
|
86
50
|
|
|
87
51
|
**Exit Criteria:**
|
|
88
52
|
|
|
89
53
|
- [ ] Relevant files identified
|
|
90
54
|
- [ ] Patterns understood
|
|
91
55
|
- [ ] Conventions noted
|
|
92
|
-
- [ ] **METHODOLOGY CHECK**: Output aligns with `scouter` Thinking Protocol
|
|
93
56
|
|
|
94
57
|
---
|
|
95
58
|
|
|
96
|
-
##
|
|
59
|
+
## Phase 2: IMPLEMENTATION
|
|
97
60
|
|
|
98
61
|
| Attribute | Value |
|
|
99
62
|
| --------- | ---------------------------------------------------------- |
|
|
100
|
-
| **
|
|
63
|
+
| **Role** | Route by domain: `frontend-engineer` \| `backend-engineer` |
|
|
101
64
|
| **Goal** | Implement the feature/fix |
|
|
102
65
|
|
|
103
|
-
###
|
|
104
|
-
|
|
105
|
-
**TIER 1 (MANDATORY when tool exists):**
|
|
66
|
+
### Delegation
|
|
106
67
|
|
|
107
|
-
>
|
|
108
|
-
|
|
109
|
-
**TIER 2 (FALLBACK on system error only):**
|
|
110
|
-
|
|
111
|
-
> Load `{AGENTS_PATH}/[domain]-engineer.md`
|
|
112
|
-
> EMBODY [domain-engineer] β Requires logged system error justification.
|
|
68
|
+
> Task(subagent_type="general-purpose", prompt="You are a domain engineer (frontend or backend as appropriate). Implement the feature/fix following existing patterns. Exit when: code implemented, follows existing patterns, compiles without errors.", description="engineer: Implement the feature/fix")
|
|
113
69
|
|
|
114
70
|
**Exit Criteria:**
|
|
115
71
|
|
|
116
72
|
- [ ] Code implemented
|
|
117
73
|
- [ ] Follows existing patterns
|
|
118
74
|
- [ ] Compiles without errors
|
|
119
|
-
- [ ] **METHODOLOGY CHECK**: Output aligns with the engineer agent's Thinking Protocol
|
|
120
75
|
|
|
121
76
|
---
|
|
122
77
|
|
|
123
|
-
##
|
|
78
|
+
## Phase 3: QUICK VALIDATION
|
|
124
79
|
|
|
125
80
|
| Attribute | Value |
|
|
126
81
|
| --------- | ---------------------------------- |
|
|
127
|
-
| **
|
|
82
|
+
| **Role** | `tester` |
|
|
128
83
|
| **Goal** | Basic validation of implementation |
|
|
129
84
|
|
|
130
|
-
###
|
|
131
|
-
|
|
132
|
-
**TIER 1 (MANDATORY when tool exists):**
|
|
133
|
-
|
|
134
|
-
> Invoke runSubagent for `tester`. Context: ISOLATED.
|
|
135
|
-
|
|
136
|
-
**TIER 2 (FALLBACK on system error only):**
|
|
85
|
+
### Delegation
|
|
137
86
|
|
|
138
|
-
>
|
|
139
|
-
> EMBODY [tester] β Requires logged system error justification.
|
|
87
|
+
> Task(subagent_type="general-purpose", prompt="You are a tester. Perform basic validation of the implementation. Exit when: basic functionality verified, no obvious errors, ready for review.", description="tester: Basic validation of implementation")
|
|
140
88
|
|
|
141
89
|
**Exit Criteria:**
|
|
142
90
|
|
|
143
91
|
- [ ] Basic functionality verified
|
|
144
92
|
- [ ] No obvious errors
|
|
145
93
|
- [ ] Ready for review
|
|
146
|
-
- [ ] **METHODOLOGY CHECK**: Output aligns with `tester` Thinking Protocol
|
|
147
94
|
|
|
148
95
|
---
|
|
149
96
|
|
|
@@ -161,6 +108,6 @@ One phase at a time, each phase independent: Phase 1 β then Phase 2 β β¦ in
|
|
|
161
108
|
|
|
162
109
|
Present implementation with:
|
|
163
110
|
|
|
164
|
-
1.
|
|
165
|
-
2.
|
|
166
|
-
3.
|
|
111
|
+
1. **Done** β Implementation complete
|
|
112
|
+
2. **Test** β `/test:fast`
|
|
113
|
+
3. **Review** β `/review:fast`
|