@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: Audit Docs — Generate 4 security and compliance documentation files
|
|
3
3
|
version: "1.0"
|
|
4
4
|
category: documentation
|
|
5
5
|
execution-mode: execute
|
|
@@ -13,42 +13,13 @@ 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
|
-
## 📦 DELIVERABLES (REQUIRED — ALL 4 FILES)
|
|
16
|
+
## DELIVERABLES (REQUIRED — ALL 4 FILES)
|
|
46
17
|
|
|
47
18
|
> [!CAUTION]
|
|
48
19
|
> **MUST CREATE ALL 4 FILES**. Incomplete = FAILED execution.
|
|
49
20
|
|
|
50
|
-
>
|
|
51
|
-
> Every file under `./documents/` must be written in **English only**. Do not use the user's language (e.g. Vietnamese) for file content.
|
|
21
|
+
> **DOCUMENT LANGUAGE — NON-NEGOTIABLE**
|
|
22
|
+
> Every file under `./documents/` must be written in **English only**. Do not use the user's language (e.g. Vietnamese) for file content.
|
|
52
23
|
|
|
53
24
|
| File | Purpose |
|
|
54
25
|
| -------------------------------------------- | -------------------------------- |
|
|
@@ -59,29 +30,21 @@ tiered_execution:
|
|
|
59
30
|
|
|
60
31
|
---
|
|
61
32
|
|
|
62
|
-
##
|
|
63
|
-
|
|
64
|
-
One phase at a time, each phase independent: Phase 1 → then Phase 2 → … in one reply. No batching (load only what each phase needs). **Within each phase:** when doing a part, output it in format so user sees what’s happening (announce before doing).
|
|
33
|
+
## Execution
|
|
34
|
+
One phase at a time, sequential. Each phase must complete before next begins.
|
|
65
35
|
|
|
66
36
|
---
|
|
67
37
|
|
|
68
|
-
##
|
|
38
|
+
## Phase 1: SECURITY ANALYSIS
|
|
69
39
|
|
|
70
40
|
| Attribute | Value |
|
|
71
41
|
| --------- | ---------------------------- |
|
|
72
|
-
| **
|
|
42
|
+
| **Role** | `security-engineer` |
|
|
73
43
|
| **Goal** | Complete security assessment |
|
|
74
44
|
|
|
75
|
-
###
|
|
76
|
-
|
|
77
|
-
**TIER 1 (MANDATORY when tool exists):**
|
|
45
|
+
### Delegation
|
|
78
46
|
|
|
79
|
-
>
|
|
80
|
-
|
|
81
|
-
**TIER 2 (FALLBACK on system error only):**
|
|
82
|
-
|
|
83
|
-
> Load `{AGENTS_PATH}/security-engineer.md`
|
|
84
|
-
> EMBODY [security-engineer] — Requires logged system error justification.
|
|
47
|
+
> Task(subagent_type="general-purpose", prompt="You are a security-engineer. Perform a complete security assessment. Exit when vulnerabilities are identified, OWASP checklist is complete, and risk assessment is done.", description="security-engineer: Complete security assessment")
|
|
85
48
|
|
|
86
49
|
**Exit Criteria:**
|
|
87
50
|
|
|
@@ -91,23 +54,16 @@ One phase at a time, each phase independent: Phase 1 → then Phase 2 → … in
|
|
|
91
54
|
|
|
92
55
|
---
|
|
93
56
|
|
|
94
|
-
##
|
|
57
|
+
## Phase 2: CODEBASE SCAN
|
|
95
58
|
|
|
96
59
|
| Attribute | Value |
|
|
97
60
|
| --------- | ---------------------------------- |
|
|
98
|
-
| **
|
|
61
|
+
| **Role** | `scouter` |
|
|
99
62
|
| **Goal** | Map data flows and sensitive areas |
|
|
100
63
|
|
|
101
|
-
###
|
|
102
|
-
|
|
103
|
-
**TIER 1 (MANDATORY when tool exists):**
|
|
64
|
+
### Delegation
|
|
104
65
|
|
|
105
|
-
>
|
|
106
|
-
|
|
107
|
-
**TIER 2 (FALLBACK on system error only):**
|
|
108
|
-
|
|
109
|
-
> Load `{AGENTS_PATH}/scouter.md`
|
|
110
|
-
> EMBODY [scouter] — Requires logged system error justification.
|
|
66
|
+
> Task(subagent_type="general-purpose", prompt="You are a scouter. Map data flows and sensitive areas in the codebase. Exit when data flows are mapped, sensitive data is identified, and integration points are cataloged.", description="scouter: Map data flows and sensitive areas")
|
|
111
67
|
|
|
112
68
|
**Exit Criteria:**
|
|
113
69
|
|
|
@@ -117,23 +73,16 @@ One phase at a time, each phase independent: Phase 1 → then Phase 2 → … in
|
|
|
117
73
|
|
|
118
74
|
---
|
|
119
75
|
|
|
120
|
-
##
|
|
76
|
+
## Phase 3: GENERATE ALL 4 DOCUMENTS
|
|
121
77
|
|
|
122
78
|
| Attribute | Value |
|
|
123
79
|
| --------- | ---------------------------------------------------------------------------------------------- |
|
|
124
|
-
| **
|
|
80
|
+
| **Role** | `docs-manager` |
|
|
125
81
|
| **Goal** | Create all 4 audit documentation files in **English only** (no user-language content in files) |
|
|
126
82
|
|
|
127
|
-
###
|
|
128
|
-
|
|
129
|
-
**TIER 1 (MANDATORY when tool exists):**
|
|
130
|
-
|
|
131
|
-
> Invoke runSubagent for `docs-manager`. Context: ISOLATED.
|
|
132
|
-
|
|
133
|
-
**TIER 2 (FALLBACK on system error only):**
|
|
83
|
+
### Delegation
|
|
134
84
|
|
|
135
|
-
>
|
|
136
|
-
> EMBODY [docs-manager] — Requires logged system error justification.
|
|
85
|
+
> Task(subagent_type="general-purpose", prompt="You are a docs-manager. Create all 4 audit documentation files in English only: audit-security.md, audit-compliance.md, audit-dataflow.md, audit-recommendations.md. Exit when all 4 files are created.", description="docs-manager: Create all 4 audit documentation files")
|
|
137
86
|
|
|
138
87
|
**Exit Criteria:**
|
|
139
88
|
|
|
@@ -144,16 +93,16 @@ One phase at a time, each phase independent: Phase 1 → then Phase 2 → … in
|
|
|
144
93
|
|
|
145
94
|
---
|
|
146
95
|
|
|
147
|
-
##
|
|
96
|
+
## VERIFICATION
|
|
148
97
|
|
|
149
98
|
Before completion, verify ALL 4 files exist:
|
|
150
99
|
|
|
151
100
|
```
|
|
152
101
|
./documents/audit/
|
|
153
|
-
├──
|
|
154
|
-
├──
|
|
155
|
-
├──
|
|
156
|
-
└──
|
|
102
|
+
├── audit-security.md
|
|
103
|
+
├── audit-compliance.md
|
|
104
|
+
├── audit-dataflow.md
|
|
105
|
+
└── audit-recommendations.md
|
|
157
106
|
```
|
|
158
107
|
|
|
159
108
|
---
|
|
@@ -162,6 +111,6 @@ Before completion, verify ALL 4 files exist:
|
|
|
162
111
|
|
|
163
112
|
Report status:
|
|
164
113
|
|
|
165
|
-
1.
|
|
166
|
-
2.
|
|
167
|
-
3.
|
|
114
|
+
1. **Complete** — All 4 audit docs created
|
|
115
|
+
2. **Incomplete** — List missing files
|
|
116
|
+
3. **Follow-up** — Address critical findings
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Business Docs — Generate 4 business documentation files
|
|
3
3
|
version: "1.0"
|
|
4
4
|
category: documentation
|
|
5
5
|
execution-mode: execute
|
|
@@ -13,42 +13,13 @@ 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
|
-
## 📦 DELIVERABLES (REQUIRED — ALL 4 FILES)
|
|
16
|
+
## DELIVERABLES (REQUIRED — ALL 4 FILES)
|
|
46
17
|
|
|
47
18
|
> [!CAUTION]
|
|
48
19
|
> **MUST CREATE ALL 4 FILES**. Incomplete = FAILED execution.
|
|
49
20
|
|
|
50
|
-
>
|
|
51
|
-
> Every file under `./documents/` must be written in **English only**. Do not use the user's language (e.g. Vietnamese) for file content.
|
|
21
|
+
> **DOCUMENT LANGUAGE — NON-NEGOTIABLE**
|
|
22
|
+
> Every file under `./documents/` must be written in **English only**. Do not use the user's language (e.g. Vietnamese) for file content.
|
|
52
23
|
|
|
53
24
|
| File | Purpose |
|
|
54
25
|
| -------------------------------------------- | ----------------------------- |
|
|
@@ -59,29 +30,21 @@ tiered_execution:
|
|
|
59
30
|
|
|
60
31
|
---
|
|
61
32
|
|
|
62
|
-
##
|
|
63
|
-
|
|
64
|
-
One phase at a time, each phase independent: Phase 1 → then Phase 2 → … in one reply. No batching (load only what each phase needs). **Within each phase:** when doing a part, output it in format so user sees what’s happening (announce before doing).
|
|
33
|
+
## Execution
|
|
34
|
+
One phase at a time, sequential. Each phase must complete before next begins.
|
|
65
35
|
|
|
66
36
|
---
|
|
67
37
|
|
|
68
|
-
##
|
|
38
|
+
## Phase 1: CODEBASE & REQUIREMENTS ANALYSIS
|
|
69
39
|
|
|
70
40
|
| Attribute | Value |
|
|
71
41
|
| --------- | ------------------------------------ |
|
|
72
|
-
| **
|
|
42
|
+
| **Role** | `scouter` |
|
|
73
43
|
| **Goal** | Identify business logic and features |
|
|
74
44
|
|
|
75
|
-
###
|
|
76
|
-
|
|
77
|
-
**TIER 1 (MANDATORY when tool exists):**
|
|
45
|
+
### Delegation
|
|
78
46
|
|
|
79
|
-
>
|
|
80
|
-
|
|
81
|
-
**TIER 2 (FALLBACK on system error only):**
|
|
82
|
-
|
|
83
|
-
> Load `{AGENTS_PATH}/scouter.md`
|
|
84
|
-
> EMBODY [scouter] — Requires logged system error justification.
|
|
47
|
+
> Task(subagent_type="general-purpose", prompt="You are a scouter. Identify business logic and features in the codebase. Exit when business logic is identified, features are cataloged, and domain terms are noted.", description="scouter: Identify business logic and features")
|
|
85
48
|
|
|
86
49
|
**Exit Criteria:**
|
|
87
50
|
|
|
@@ -91,23 +54,16 @@ One phase at a time, each phase independent: Phase 1 → then Phase 2 → … in
|
|
|
91
54
|
|
|
92
55
|
---
|
|
93
56
|
|
|
94
|
-
##
|
|
57
|
+
## Phase 2: BUSINESS ANALYSIS
|
|
95
58
|
|
|
96
59
|
| Attribute | Value |
|
|
97
60
|
| --------- | ------------------------ |
|
|
98
|
-
| **
|
|
61
|
+
| **Role** | `business-analyst` |
|
|
99
62
|
| **Goal** | Analyze business context |
|
|
100
63
|
|
|
101
|
-
###
|
|
102
|
-
|
|
103
|
-
**TIER 1 (MANDATORY when tool exists):**
|
|
64
|
+
### Delegation
|
|
104
65
|
|
|
105
|
-
>
|
|
106
|
-
|
|
107
|
-
**TIER 2 (FALLBACK on system error only):**
|
|
108
|
-
|
|
109
|
-
> Load `{AGENTS_PATH}/business-analyst.md`
|
|
110
|
-
> EMBODY [business-analyst] — Requires logged system error justification.
|
|
66
|
+
> Task(subagent_type="general-purpose", prompt="You are a business-analyst. Analyze business context. Exit when business goals are understood, stakeholders are identified, and workflows are mapped.", description="business-analyst: Analyze business context")
|
|
111
67
|
|
|
112
68
|
**Exit Criteria:**
|
|
113
69
|
|
|
@@ -117,23 +73,16 @@ One phase at a time, each phase independent: Phase 1 → then Phase 2 → … in
|
|
|
117
73
|
|
|
118
74
|
---
|
|
119
75
|
|
|
120
|
-
##
|
|
76
|
+
## Phase 3: GENERATE ALL 4 DOCUMENTS
|
|
121
77
|
|
|
122
78
|
| Attribute | Value |
|
|
123
79
|
| --------- | ------------------------------------------------------------------------------------------------- |
|
|
124
|
-
| **
|
|
80
|
+
| **Role** | `docs-manager` |
|
|
125
81
|
| **Goal** | Create all 4 business documentation files in **English only** (no user-language content in files) |
|
|
126
82
|
|
|
127
|
-
###
|
|
128
|
-
|
|
129
|
-
**TIER 1 (MANDATORY when tool exists):**
|
|
130
|
-
|
|
131
|
-
> Invoke runSubagent for `docs-manager`. Context: ISOLATED.
|
|
132
|
-
|
|
133
|
-
**TIER 2 (FALLBACK on system error only):**
|
|
83
|
+
### Delegation
|
|
134
84
|
|
|
135
|
-
>
|
|
136
|
-
> EMBODY [docs-manager] — Requires logged system error justification.
|
|
85
|
+
> Task(subagent_type="general-purpose", prompt="You are a docs-manager. Create all 4 business documentation files in English only: business-prd.md, business-features.md, business-workflows.md, business-glossary.md. Exit when all 4 files are created.", description="docs-manager: Create all 4 business documentation files")
|
|
137
86
|
|
|
138
87
|
**Exit Criteria:**
|
|
139
88
|
|
|
@@ -144,16 +93,16 @@ One phase at a time, each phase independent: Phase 1 → then Phase 2 → … in
|
|
|
144
93
|
|
|
145
94
|
---
|
|
146
95
|
|
|
147
|
-
##
|
|
96
|
+
## VERIFICATION
|
|
148
97
|
|
|
149
98
|
Before completion, verify ALL 4 files exist:
|
|
150
99
|
|
|
151
100
|
```
|
|
152
101
|
./documents/business/
|
|
153
|
-
├──
|
|
154
|
-
├──
|
|
155
|
-
├──
|
|
156
|
-
└──
|
|
102
|
+
├── business-prd.md
|
|
103
|
+
├── business-features.md
|
|
104
|
+
├── business-workflows.md
|
|
105
|
+
└── business-glossary.md
|
|
157
106
|
```
|
|
158
107
|
|
|
159
108
|
---
|
|
@@ -162,6 +111,6 @@ Before completion, verify ALL 4 files exist:
|
|
|
162
111
|
|
|
163
112
|
Report status:
|
|
164
113
|
|
|
165
|
-
1.
|
|
166
|
-
2.
|
|
167
|
-
3.
|
|
114
|
+
1. **Complete** — All 4 business docs created
|
|
115
|
+
2. **Incomplete** — List missing files
|
|
116
|
+
3. **Continue** → `/docs:audit` for audit docs
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Core Docs — Generate 5 essential technical documentation files
|
|
3
3
|
version: "1.0"
|
|
4
4
|
category: documentation
|
|
5
5
|
execution-mode: execute
|
|
@@ -13,42 +13,13 @@ 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
|
-
## 📦 DELIVERABLES (REQUIRED — ALL 5 FILES)
|
|
16
|
+
## DELIVERABLES (REQUIRED — ALL 5 FILES)
|
|
46
17
|
|
|
47
18
|
> [!CAUTION]
|
|
48
19
|
> **MUST CREATE ALL 5 FILES**. Incomplete = FAILED execution.
|
|
49
20
|
|
|
50
|
-
>
|
|
51
|
-
> Every file under `./documents/` must be written in **English only**. Headings, body text, tables, and lists must be in English. Do not use the user's language (e.g. Vietnamese) for file content. Chat/UI may follow user language; document files do not.
|
|
21
|
+
> **DOCUMENT LANGUAGE — NON-NEGOTIABLE**
|
|
22
|
+
> Every file under `./documents/` must be written in **English only**. Headings, body text, tables, and lists must be in English. Do not use the user's language (e.g. Vietnamese) for file content. Chat/UI may follow user language; document files do not.
|
|
52
23
|
|
|
53
24
|
| File | Purpose |
|
|
54
25
|
| --------------------------------------- | ------------------------------------------------------------- |
|
|
@@ -58,7 +29,7 @@ tiered_execution:
|
|
|
58
29
|
| `./documents/knowledge-source-base.md` | Directory structure, file purposes, entry points, key modules |
|
|
59
30
|
| `./documents/knowledge-standards.md` | Code style, naming conventions, commit format, guidelines |
|
|
60
31
|
|
|
61
|
-
###
|
|
32
|
+
### File Purpose Details
|
|
62
33
|
|
|
63
34
|
| File | AI Uses It For | Key Sections |
|
|
64
35
|
|------|----------------|--------------|
|
|
@@ -70,29 +41,21 @@ tiered_execution:
|
|
|
70
41
|
|
|
71
42
|
---
|
|
72
43
|
|
|
73
|
-
##
|
|
74
|
-
|
|
75
|
-
One phase at a time, each phase independent: Phase 1 → then Phase 2 → … in one reply. No batching (load only what each phase needs). **Within each phase:** when doing a part, output it in format so user sees what’s happening (announce before doing).
|
|
44
|
+
## Execution
|
|
45
|
+
One phase at a time, sequential. Each phase must complete before next begins.
|
|
76
46
|
|
|
77
47
|
---
|
|
78
48
|
|
|
79
|
-
##
|
|
49
|
+
## Phase 1: CODEBASE ANALYSIS
|
|
80
50
|
|
|
81
51
|
| Attribute | Value |
|
|
82
52
|
| --------- | ----------------------------------------- |
|
|
83
|
-
| **
|
|
53
|
+
| **Role** | `scouter` |
|
|
84
54
|
| **Goal** | Scan entire project structure and content |
|
|
85
55
|
|
|
86
|
-
###
|
|
87
|
-
|
|
88
|
-
**TIER 1 (MANDATORY when tool exists):**
|
|
89
|
-
|
|
90
|
-
> Invoke runSubagent for `scouter`. Context: ISOLATED.
|
|
56
|
+
### Delegation
|
|
91
57
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
> Load `{AGENTS_PATH}/scouter.md`
|
|
95
|
-
> EMBODY [scouter] — Requires logged system error justification.
|
|
58
|
+
> Task(subagent_type="general-purpose", prompt="You are a scouter. Scan the entire project structure and content. List all directories and files, identify tech stack from package.json/config files, map dependencies and relationships, and note patterns and conventions used. Exit when project structure is mapped, tech stack is identified, and key files are located.", description="scouter: Scan entire project structure and content")
|
|
96
59
|
|
|
97
60
|
**Actions**:
|
|
98
61
|
|
|
@@ -109,23 +72,16 @@ One phase at a time, each phase independent: Phase 1 → then Phase 2 → … in
|
|
|
109
72
|
|
|
110
73
|
---
|
|
111
74
|
|
|
112
|
-
##
|
|
75
|
+
## Phase 2: GENERATE ALL 5 DOCUMENTS
|
|
113
76
|
|
|
114
77
|
| Attribute | Value |
|
|
115
78
|
| --------- | --------------------------------------------------------------------------------------------------------------- |
|
|
116
|
-
| **
|
|
79
|
+
| **Role** | `docs-manager` |
|
|
117
80
|
| **Goal** | Create all 5 documentation files in **English only** (headings, body, tables—no user-language content in files) |
|
|
118
81
|
|
|
119
|
-
###
|
|
120
|
-
|
|
121
|
-
**TIER 1 (MANDATORY when tool exists):**
|
|
122
|
-
|
|
123
|
-
> Invoke runSubagent for `docs-manager`. Context: ISOLATED.
|
|
124
|
-
|
|
125
|
-
**TIER 2 (FALLBACK on system error only):**
|
|
82
|
+
### Delegation
|
|
126
83
|
|
|
127
|
-
>
|
|
128
|
-
> EMBODY [docs-manager] — Requires logged system error justification.
|
|
84
|
+
> Task(subagent_type="general-purpose", prompt="You are a docs-manager. Create all 5 documentation files in English only: knowledge-overview.md, knowledge-architecture.md, knowledge-domain.md, knowledge-source-base.md, knowledge-standards.md. Exit when all 5 files are created.", description="docs-manager: Create all 5 documentation files")
|
|
129
85
|
|
|
130
86
|
**Exit Criteria:**
|
|
131
87
|
|
|
@@ -137,17 +93,17 @@ One phase at a time, each phase independent: Phase 1 → then Phase 2 → … in
|
|
|
137
93
|
|
|
138
94
|
---
|
|
139
95
|
|
|
140
|
-
##
|
|
96
|
+
## VERIFICATION
|
|
141
97
|
|
|
142
98
|
Before completion, verify ALL 5 files exist:
|
|
143
99
|
|
|
144
100
|
```
|
|
145
101
|
./documents/
|
|
146
|
-
├──
|
|
147
|
-
├──
|
|
148
|
-
├──
|
|
149
|
-
├──
|
|
150
|
-
└──
|
|
102
|
+
├── knowledge-overview.md
|
|
103
|
+
├── knowledge-architecture.md
|
|
104
|
+
├── knowledge-domain.md
|
|
105
|
+
├── knowledge-source-base.md
|
|
106
|
+
└── knowledge-standards.md
|
|
151
107
|
```
|
|
152
108
|
|
|
153
109
|
---
|
|
@@ -156,6 +112,6 @@ Before completion, verify ALL 5 files exist:
|
|
|
156
112
|
|
|
157
113
|
Report status:
|
|
158
114
|
|
|
159
|
-
1.
|
|
160
|
-
2.
|
|
161
|
-
3.
|
|
115
|
+
1. **Complete** — All 5 core docs created
|
|
116
|
+
2. **Incomplete** — List missing files
|
|
117
|
+
3. **Continue** → `/docs:business` for business docs
|
|
@@ -6,16 +6,16 @@ description: ⚡⚡⚡⚡ Analyze the codebase and create initial documentation
|
|
|
6
6
|
|
|
7
7
|
1. Scan the codebase and calculate the number of files with LOC in each directory (skip credentials, cache or external modules directories, such as `.claude`, `.opencode`, `.git`, `tests`, `node_modules`, `__pycache__`, `secrets`, etc.)
|
|
8
8
|
2. Target directories **that actually exist** - adapt to project structure, don't hardcode paths
|
|
9
|
-
3. Main agent spawns multiple
|
|
10
|
-
- Write a detailed instructions prompt for each
|
|
11
|
-
- Each
|
|
12
|
-
- Amount of
|
|
13
|
-
- Each
|
|
14
|
-
5. Main agent merges scout reports into context summary and delegate to
|
|
9
|
+
3. Main agent spawns multiple Task agents for scouting via Task tool: Task(subagent_type="general-purpose", prompt="You are a scout. Read and analyze these directories...", description="Scout [area]")
|
|
10
|
+
- Write a detailed instructions prompt for each Task agent with exact directories or files it should read
|
|
11
|
+
- Each Task agent has less than 200K tokens of context window
|
|
12
|
+
- Amount of Task agents depends on the current system resources available and project size in step 1
|
|
13
|
+
- Each Task agent must return a detailed summary report to a main agent
|
|
14
|
+
5. Main agent merges scout reports into context summary and delegate to Task agent for docs management to update documentation (next phase)
|
|
15
15
|
|
|
16
|
-
## Phase 2: Documentation Creation (
|
|
16
|
+
## Phase 2: Documentation Creation (Task Agent for Docs Management)
|
|
17
17
|
|
|
18
|
-
Pass the gathered file list to
|
|
18
|
+
Pass the gathered file list to Task agent for docs management to create initial documentation: Task(subagent_type="general-purpose", prompt="You are a docs-manager. Create initial documentation...", description="Create documentation")
|
|
19
19
|
- `README.md`: Update README with initial documentation (keep it under 300 lines)
|
|
20
20
|
- `docs/project-overview-pdr.md`: Project overview and PDR (Product Development Requirements)
|
|
21
21
|
- `docs/codebase-summary.md`: Codebase summary
|
|
@@ -6,25 +6,25 @@ description: ⚡⚡⚡ Analyze the codebase and update documentation
|
|
|
6
6
|
|
|
7
7
|
1. Scan the codebase and calculate the number of files with LOC in each directory (skip credentials, cache or external modules directories, such as `.claude`, `.opencode`, `.git`, `tests`, `node_modules`, `__pycache__`, `secrets`, etc.)
|
|
8
8
|
2. Target directories **that actually exist** - adapt to project structure, don't hardcode paths
|
|
9
|
-
3. Main agent spawns multiple
|
|
10
|
-
- Write a detailed instructions prompt for each
|
|
11
|
-
- Each
|
|
12
|
-
- Amount of
|
|
13
|
-
- Each
|
|
14
|
-
5. Main agent merges scout reports into context summary and delegate to
|
|
9
|
+
3. Main agent spawns multiple Task agents for scouting via Task tool: Task(subagent_type="general-purpose", prompt="You are a scout. Read and analyze these directories...", description="Scout [area]")
|
|
10
|
+
- Write a detailed instructions prompt for each Task agent with exact directories or files it should read
|
|
11
|
+
- Each Task agent has less than 200K tokens of context window
|
|
12
|
+
- Amount of Task agents depends on the current system resources available and project size in step 1
|
|
13
|
+
- Each Task agent must return a detailed summary report to a main agent
|
|
14
|
+
5. Main agent merges scout reports into context summary and delegate to Task agent for docs management to update documentation (next phase)
|
|
15
15
|
|
|
16
16
|
## Phase 1.5: Parallel Documentation Reading
|
|
17
17
|
|
|
18
|
-
**You (main agent) must spawn readers** -
|
|
18
|
+
**You (main agent) must spawn readers** - Task agents cannot spawn Task agents.
|
|
19
19
|
|
|
20
20
|
1. Count docs: `ls docs/*.md 2>/dev/null | wc -l`
|
|
21
21
|
2. Get LOC: `wc -l docs/*.md 2>/dev/null | sort -rn`
|
|
22
22
|
3. Strategy:
|
|
23
23
|
- 1-3 files: Skip parallel reading, docs-manager reads directly
|
|
24
|
-
- 4-6 files: Spawn 2-3
|
|
25
|
-
- 7+ files: Spawn 4-5
|
|
26
|
-
4. Distribute files by LOC (larger files get dedicated agent)
|
|
27
|
-
5. Each agent prompt: "Read these docs, extract: purpose, key sections, areas needing update. Files: {list}"
|
|
24
|
+
- 4-6 files: Spawn 2-3 Task agents for exploration: Task(subagent_type="general-purpose", prompt="You are an explorer. Read these docs...", description="Explore docs")
|
|
25
|
+
- 7+ files: Spawn 4-5 Task agents for exploration (max 5)
|
|
26
|
+
4. Distribute files by LOC (larger files get dedicated Task agent)
|
|
27
|
+
5. Each Task agent prompt: "Read these docs, extract: purpose, key sections, areas needing update. Files: {list}"
|
|
28
28
|
6. Merge results into context for docs-manager
|
|
29
29
|
|
|
30
30
|
### Workload Distribution Example
|
|
@@ -35,9 +35,9 @@ description: ⚡⚡⚡ Analyze the codebase and update documentation
|
|
|
35
35
|
| 2 | system-architecture.md (400), code-standards.md (300) | 700 |
|
|
36
36
|
| 3 | project-overview-pdr.md (500), project-roadmap.md (200) | 700 |
|
|
37
37
|
|
|
38
|
-
## Phase 2: Documentation Update (
|
|
38
|
+
## Phase 2: Documentation Update (Task Agent for Docs Management)
|
|
39
39
|
|
|
40
|
-
Pass the gathered file list to
|
|
40
|
+
Pass the gathered file list to Task agent for docs management to update documentation: Task(subagent_type="general-purpose", prompt="You are a docs-manager. Update documentation...", description="Update documentation")
|
|
41
41
|
- `README.md`: Update README (keep it under 300 lines)
|
|
42
42
|
- `docs/project-overview-pdr.md`: Update project overview and PDR (Product Development Requirements)
|
|
43
43
|
- `docs/codebase-summary.md`: Update codebase summary
|
package/merged-commands/docs.md
CHANGED
|
@@ -13,18 +13,6 @@ execution-mode: execute
|
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
|
-
## 🛑 PRE-FLIGHT (DO FIRST — BLOCKS EXECUTION)
|
|
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 any workflow phase until all are loaded.** Follow **all** rules in those files. Then run this file's ROUTING LOGIC, LOAD the chosen variant (e.g. docs/core.md), and execute it.
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
|
|
28
16
|
## ⚠️ EXECUTION RULES (NON-NEGOTIABLE)
|
|
29
17
|
|
|
30
18
|
> [!CAUTION]
|
|
@@ -59,7 +59,7 @@ The Multi-Agent Review Tool leverages a distributed, specialized agent network t
|
|
|
59
59
|
- **Dynamic Agent Matching**:
|
|
60
60
|
- Analyze input characteristics
|
|
61
61
|
- Select most appropriate agent types
|
|
62
|
-
- Configure specialized
|
|
62
|
+
- Configure specialized Task agents dynamically
|
|
63
63
|
- **Expertise Routing**:
|
|
64
64
|
```python
|
|
65
65
|
def route_agents(code_context):
|
|
@@ -39,7 +39,7 @@ Parse for:
|
|
|
39
39
|
## Workflow
|
|
40
40
|
|
|
41
41
|
### 1. Initial Triage
|
|
42
|
-
Use Task tool (subagent_type="
|
|
42
|
+
Use Task tool (subagent_type="general-purpose") for AI-powered analysis:
|
|
43
43
|
- Error pattern recognition
|
|
44
44
|
- Stack trace analysis with probable causes
|
|
45
45
|
- Component dependency analysis
|
|
@@ -195,7 +195,7 @@ git worktree remove <worktree-path>
|
|
|
195
195
|
## Integration
|
|
196
196
|
|
|
197
197
|
**Called by:**
|
|
198
|
-
- **
|
|
198
|
+
- **Task agent-driven-development** (Step 7) - After all tasks complete
|
|
199
199
|
- **executing-plans** (Step 5) - After all batches complete
|
|
200
200
|
|
|
201
201
|
**Pairs with:**
|
|
@@ -7,9 +7,9 @@ argument-hint: [github-actions-url]
|
|
|
7
7
|
<url>$ARGUMENTS</url>
|
|
8
8
|
|
|
9
9
|
## Workflow
|
|
10
|
-
1. Use
|
|
10
|
+
1. Use a Task agent for debugging: Task(subagent_type="general-purpose", prompt="You are a debugger. Read the github actions logs with gh command, analyze and find the root cause of the issues and report back to main agent.", description="Analyze CI logs") to read the github actions logs with `gh` command, analyze and find the root cause of the issues and report back to main agent.
|
|
11
11
|
2. Start implementing the fix based the reports and solutions.
|
|
12
|
-
3. Use
|
|
12
|
+
3. Use a Task agent for testing: Task(subagent_type="general-purpose", prompt="You are a tester. Test the fix and make sure it works, then report back to main agent.", description="Test fix") to test the fix and make sure it works, then report back to main agent.
|
|
13
13
|
4. If there are issues or failed tests, repeat from step 2.
|
|
14
14
|
5. After finishing, respond back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.
|
|
15
15
|
|