@ngxtm/devkit 3.19.0 → 3.21.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/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/recover.md +22 -0
- 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/sync.md +29 -5
- 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/base/auto-skill.md +60 -0
- package/rules/base/command-routing.md +58 -0
- package/rules/base/context-checkpoint.md +38 -0
- package/rules-index.json +1 -1
- package/scripts/organize-rules.js +9 -0
- 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/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
- package/skills-graph.json +1 -1
- package/templates/base/rules/auto-skill.md +16 -96
- package/templates/base/rules/command-routing.md +0 -13
- package/templates/base/rules/context-checkpoint.md +38 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Full Test — Comprehensive QA with quality gates
|
|
3
3
|
version: "1.0"
|
|
4
4
|
category: validation
|
|
5
5
|
execution-mode: execute
|
|
@@ -13,28 +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
|
|
29
|
-
|
|
30
|
-
| Tier | When | Action |
|
|
31
|
-
| ---------- | ------------------ | ---------------------------- |
|
|
32
|
-
| **TIER 1** | runSubagent EXISTS | Invoke sub-agent (MANDATORY) |
|
|
33
|
-
| **TIER 2** | Tool MISSING | EMBODY agent file (FALLBACK) |
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## 📁 PLAN CHECKPOINT VERIFICATION
|
|
16
|
+
## PLAN CHECKPOINT VERIFICATION
|
|
38
17
|
|
|
39
18
|
```
|
|
40
19
|
IF ./reports/plans/PLAN-{scope}.md exists:
|
|
@@ -46,56 +25,80 @@ IF ./reports/plans/PLAN-{scope}.md exists:
|
|
|
46
25
|
|
|
47
26
|
---
|
|
48
27
|
|
|
49
|
-
##
|
|
50
|
-
|
|
51
|
-
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).
|
|
28
|
+
## Execution
|
|
29
|
+
One phase at a time, sequential. Each phase must complete before next begins.
|
|
52
30
|
|
|
53
31
|
---
|
|
54
32
|
|
|
55
|
-
##
|
|
33
|
+
## Phase 1: TEST STRATEGY
|
|
56
34
|
|
|
57
|
-
|
|
|
58
|
-
|
|
59
|
-
|
|
|
60
|
-
|
|
|
35
|
+
| Attribute | Value |
|
|
36
|
+
|-----------|-------|
|
|
37
|
+
| **Role** | `tester` |
|
|
38
|
+
| **Goal** | Design test strategy |
|
|
39
|
+
| **Exit** | Strategy defined, test types identified |
|
|
40
|
+
|
|
41
|
+
### Delegation
|
|
42
|
+
|
|
43
|
+
> Task(subagent_type="general-purpose", prompt="You are a tester. Design a test strategy. Exit when strategy is defined and test types are identified.", description="tester: Design test strategy")
|
|
61
44
|
|
|
62
45
|
---
|
|
63
46
|
|
|
64
|
-
##
|
|
47
|
+
## Phase 2: DEPENDENCY MAPPING
|
|
48
|
+
|
|
49
|
+
| Attribute | Value |
|
|
50
|
+
|-----------|-------|
|
|
51
|
+
| **Role** | `scouter` |
|
|
52
|
+
| **Goal** | Map test dependencies |
|
|
53
|
+
| **Exit** | Dependencies mapped, environment ready |
|
|
65
54
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
| Exit | Dependencies mapped, environment ready |
|
|
55
|
+
### Delegation
|
|
56
|
+
|
|
57
|
+
> Task(subagent_type="general-purpose", prompt="You are a scouter. Map test dependencies. Exit when dependencies are mapped and environment is ready.", description="scouter: Map test dependencies")
|
|
70
58
|
|
|
71
59
|
---
|
|
72
60
|
|
|
73
|
-
##
|
|
61
|
+
## Phase 3: TEST EXECUTION
|
|
62
|
+
|
|
63
|
+
| Attribute | Value |
|
|
64
|
+
|-----------|-------|
|
|
65
|
+
| **Role** | `tester` |
|
|
66
|
+
| **Prerequisite** | READ PLAN file if exists |
|
|
67
|
+
| **Goal** | Run full test suite |
|
|
68
|
+
| **Exit** | All tests run, coverage measured, checkpoint mapping documented |
|
|
74
69
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
| Goal | Run full test suite |
|
|
79
|
-
| Exit | All tests run, coverage measured, checkpoint mapping documented |
|
|
70
|
+
### Delegation
|
|
71
|
+
|
|
72
|
+
> Task(subagent_type="general-purpose", prompt="You are a tester. Run the full test suite. Read the PLAN file if it exists. Exit when all tests are run, coverage is measured, and checkpoint mapping is documented.", description="tester: Run full test suite")
|
|
80
73
|
|
|
81
74
|
---
|
|
82
75
|
|
|
83
|
-
##
|
|
76
|
+
## Phase 4: FAILURE ANALYSIS (IF FAILURES)
|
|
77
|
+
|
|
78
|
+
| Attribute | Value |
|
|
79
|
+
|-----------|-------|
|
|
80
|
+
| **Role** | `debugger` |
|
|
81
|
+
| **Trigger** | If failures exist |
|
|
82
|
+
| **Goal** | Analyze failures |
|
|
83
|
+
| **Exit** | Root causes identified |
|
|
84
|
+
|
|
85
|
+
### Delegation
|
|
84
86
|
|
|
85
|
-
|
|
86
|
-
| ------- | ---------------------- |
|
|
87
|
-
| Trigger | If failures exist |
|
|
88
|
-
| Goal | Analyze failures |
|
|
89
|
-
| Exit | Root causes identified |
|
|
87
|
+
> Task(subagent_type="general-purpose", prompt="You are a debugger. Analyze test failures. Exit when root causes are identified.", description="debugger: Analyze test failures")
|
|
90
88
|
|
|
91
89
|
---
|
|
92
90
|
|
|
93
|
-
##
|
|
91
|
+
## Phase 5: QUALITY GATES
|
|
92
|
+
|
|
93
|
+
| Attribute | Value |
|
|
94
|
+
|-----------|-------|
|
|
95
|
+
| **Role** | `tester` |
|
|
96
|
+
| **Goal** | Verify quality gates |
|
|
97
|
+
| **Exit** | All gates pass, coverage adequate |
|
|
98
|
+
|
|
99
|
+
### Delegation
|
|
94
100
|
|
|
95
|
-
|
|
96
|
-
| ----- | --------------------------------- |
|
|
97
|
-
| Goal | Verify quality gates |
|
|
98
|
-
| Exit | All gates pass, coverage adequate |
|
|
101
|
+
> Task(subagent_type="general-purpose", prompt="You are a tester. Verify quality gates. Exit when all gates pass and coverage is adequate.", description="tester: Verify quality gates")
|
|
99
102
|
|
|
100
103
|
---
|
|
101
104
|
|
|
@@ -103,6 +106,6 @@ One phase at a time, each phase independent: Phase 1 → then Phase 2 → … in
|
|
|
103
106
|
|
|
104
107
|
Present test report with:
|
|
105
108
|
|
|
106
|
-
1.
|
|
107
|
-
2.
|
|
108
|
-
3.
|
|
109
|
+
1. **Pass** — All tests green
|
|
110
|
+
2. **Fix** → `/fix:fast`
|
|
111
|
+
3. **Review** → `/review`
|
|
@@ -74,7 +74,7 @@ node screenshot.js --url https://example.com/settings --output settings.png --cl
|
|
|
74
74
|
- All the screenshots should be saved in the same report directory.
|
|
75
75
|
- Browse $URL with the specified $OPTIONS, discover all pages, components, and endpoints.
|
|
76
76
|
- Create a test plan based on the discovered structure
|
|
77
|
-
- Use multiple
|
|
77
|
+
- Use multiple Task agents in parallel to test all pages, forms, navigation, user flows, accessibility, functionalities, usability, responsive layouts, cross-browser compatibility, performance, security, seo, etc.: Task(subagent_type="general-purpose", prompt="You are a tester. Test [specific area]...", description="Test [area]")
|
|
78
78
|
- Use `ai-multimodal` to analyze all screenshots and visual elements.
|
|
79
79
|
- Generate a comprehensive report in Markdown format, embedding all screenshots directly in the report.
|
|
80
80
|
- Finally respond to the user with a concise summary of findings and recommendations.
|
package/merged-commands/test.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
description: ⚡ Run tests locally and analyze the summary report.
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
Use
|
|
5
|
+
Use a Task agent for testing: Task(subagent_type="general-purpose", prompt="You are a tester. Run tests locally and analyze the summary report.", description="Run tests") to run tests locally and analyze the summary report.
|
|
6
6
|
|
|
7
7
|
**IMPORTANT**: **Do not** start implementing.
|
|
8
8
|
**IMPORTANT:** Analyze the skills catalog and activate the skills that are needed for the task during the process.
|
|
@@ -27,7 +27,7 @@ You are an advanced TypeScript expert with deep, practical knowledge of type-lev
|
|
|
27
27
|
- Type performance profiling or compiler internals → typescript-type-expert
|
|
28
28
|
|
|
29
29
|
Example to output:
|
|
30
|
-
"This requires deep bundler expertise. Please invoke: 'Use the typescript-build-expert
|
|
30
|
+
"This requires deep bundler expertise. Please invoke: 'Use the typescript-build-expert Task agent.' Stopping here."
|
|
31
31
|
|
|
32
32
|
1. Analyze project setup comprehensively:
|
|
33
33
|
|
|
@@ -12,12 +12,12 @@ Execute MCP operations via **Gemini CLI** to preserve context budget.
|
|
|
12
12
|
echo "$ARGUMENTS. Return JSON only per GEMINI.md instructions." | gemini -y -m gemini-2.5-flash
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
2. **Fallback to
|
|
16
|
-
- Use
|
|
17
|
-
- If the
|
|
15
|
+
2. **Fallback to Task agent for MCP management** (if Gemini CLI unavailable):
|
|
16
|
+
- Use Task agent for MCP management to discover and execute tools: Task(subagent_type="general-purpose", prompt="You are an mcp-manager. Discover and execute MCP tools...", description="MCP tool execution")
|
|
17
|
+
- If the Task agent got issues with the scripts of `mcp-management` skill, use `mcp-builder` skill to fix them
|
|
18
18
|
- **DO NOT** create ANY new scripts
|
|
19
|
-
- The
|
|
20
|
-
- If the
|
|
19
|
+
- The Task agent can only use MCP tools if any to achieve this task
|
|
20
|
+
- If the Task agent can't find any suitable tools, just report it back to the main agent to move on to the next step
|
|
21
21
|
|
|
22
22
|
## Important Notes
|
|
23
23
|
|
|
@@ -102,16 +102,16 @@ After saving the plan, offer execution choice:
|
|
|
102
102
|
|
|
103
103
|
**"Plan complete and saved to `docs/plans/<filename>.md`. Two execution options:**
|
|
104
104
|
|
|
105
|
-
**1.
|
|
105
|
+
**1. Task Agent-Driven (this session)** - I dispatch fresh Task agent per task, review between tasks, fast iteration
|
|
106
106
|
|
|
107
107
|
**2. Parallel Session (separate)** - Open new session with executing-plans, batch execution with checkpoints
|
|
108
108
|
|
|
109
109
|
**Which approach?"**
|
|
110
110
|
|
|
111
|
-
**If
|
|
111
|
+
**If Task Agent-Driven chosen:**
|
|
112
112
|
- **REQUIRED SUB-SKILL:** Use superpowers:subagent-driven-development
|
|
113
113
|
- Stay in this session
|
|
114
|
-
- Fresh
|
|
114
|
+
- Fresh Task agent per task + code review
|
|
115
115
|
|
|
116
116
|
**If Parallel Session chosen:**
|
|
117
117
|
- Guide them to open new session in worktree
|
|
@@ -11,7 +11,7 @@ description: Use when creating new skills, editing existing skills, or verifying
|
|
|
11
11
|
|
|
12
12
|
**Personal skills live in agent-specific directories (`~/.claude/skills` for Claude Code, `~/.codex/skills` for Codex)**
|
|
13
13
|
|
|
14
|
-
You write test cases (pressure scenarios with
|
|
14
|
+
You write test cases (pressure scenarios with Task agents), watch them fail (baseline behavior), write the skill (documentation), watch tests pass (agents comply), and refactor (close loopholes).
|
|
15
15
|
|
|
16
16
|
**Core principle:** If you didn't watch an agent fail without the skill, you don't know if the skill teaches the right thing.
|
|
17
17
|
|
|
@@ -31,7 +31,7 @@ A **skill** is a reference guide for proven techniques, patterns, or tools. Skil
|
|
|
31
31
|
|
|
32
32
|
| TDD Concept | Skill Creation |
|
|
33
33
|
|-------------|----------------|
|
|
34
|
-
| **Test case** | Pressure scenario with
|
|
34
|
+
| **Test case** | Pressure scenario with Task agent |
|
|
35
35
|
| **Production code** | Skill document (SKILL.md) |
|
|
36
36
|
| **Test fails (RED)** | Agent violates rule without skill (baseline) |
|
|
37
37
|
| **Test passes (GREEN)** | Agent complies with skill present |
|
|
@@ -159,7 +159,7 @@ When the description was changed to just "Use when executing implementation plan
|
|
|
159
159
|
|
|
160
160
|
```yaml
|
|
161
161
|
# ❌ BAD: Summarizes workflow - Claude may follow this instead of reading skill
|
|
162
|
-
description: Use when executing plans - dispatches
|
|
162
|
+
description: Use when executing plans - dispatches Task agent per task with code review between tasks
|
|
163
163
|
|
|
164
164
|
# ❌ BAD: Too much process detail
|
|
165
165
|
description: Use for TDD - write test first, watch it fail, write minimal code, refactor
|
|
@@ -233,11 +233,11 @@ search-conversations supports multiple modes and filters. Run --help for details
|
|
|
233
233
|
**Use cross-references:**
|
|
234
234
|
```markdown
|
|
235
235
|
# ❌ BAD: Repeat workflow details
|
|
236
|
-
When searching, dispatch
|
|
236
|
+
When searching, dispatch Task agent with template...
|
|
237
237
|
[20 lines of repeated instructions]
|
|
238
238
|
|
|
239
239
|
# ✅ GOOD: Reference other skill
|
|
240
|
-
Always use
|
|
240
|
+
Always use Task agents (50-100x context savings). REQUIRED: Use [other-skill-name] for workflow.
|
|
241
241
|
```
|
|
242
242
|
|
|
243
243
|
**Compress examples:**
|
|
@@ -245,12 +245,12 @@ Always use subagents (50-100x context savings). REQUIRED: Use [other-skill-name]
|
|
|
245
245
|
# ❌ BAD: Verbose example (42 words)
|
|
246
246
|
your human partner: "How did we handle authentication errors in React Router before?"
|
|
247
247
|
You: I'll search past conversations for React Router authentication patterns.
|
|
248
|
-
[Dispatch
|
|
248
|
+
[Dispatch Task agent with search query: "React Router authentication error handling 401"]
|
|
249
249
|
|
|
250
250
|
# ✅ GOOD: Minimal example (20 words)
|
|
251
251
|
Partner: "How did we handle auth errors in React Router?"
|
|
252
252
|
You: Searching...
|
|
253
|
-
[Dispatch
|
|
253
|
+
[Dispatch Task agent → synthesis]
|
|
254
254
|
```
|
|
255
255
|
|
|
256
256
|
**Eliminate redundancy:**
|
|
@@ -536,7 +536,7 @@ Follow the TDD cycle:
|
|
|
536
536
|
|
|
537
537
|
### RED: Write Failing Test (Baseline)
|
|
538
538
|
|
|
539
|
-
Run pressure scenario with
|
|
539
|
+
Run pressure scenario with Task agent WITHOUT the skill. Document exact behavior:
|
|
540
540
|
- What choices did they make?
|
|
541
541
|
- What rationalizations did they use (verbatim)?
|
|
542
542
|
- Which pressures triggered violations?
|
package/package.json
CHANGED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Auto-Skill Detection
|
|
2
|
+
|
|
3
|
+
> Automatically detect and suggest relevant skills based on user's task
|
|
4
|
+
|
|
5
|
+
## When to Activate
|
|
6
|
+
|
|
7
|
+
Before starting ANY coding task, check if a relevant skill exists:
|
|
8
|
+
|
|
9
|
+
1. **Analyze** the user's request — extract key technologies, patterns, or domains
|
|
10
|
+
2. **Search** `skills-compact.json` for matching skill names/descriptions
|
|
11
|
+
3. **Suggest** top 1-3 matching skills with name and category
|
|
12
|
+
4. **Load** on user confirmation — read full skill from `skills/{name}/SKILL.md`
|
|
13
|
+
|
|
14
|
+
## Skill Categories
|
|
15
|
+
|
|
16
|
+
| Code | Category | Examples |
|
|
17
|
+
|------|----------|----------|
|
|
18
|
+
| `fe` | Frontend | react, vue, nextjs, tailwind, ui/ux |
|
|
19
|
+
| `be` | Backend | node, express, nestjs, fastapi, api |
|
|
20
|
+
| `db` | Database | postgres, mysql, mongodb, redis, prisma |
|
|
21
|
+
| `ai` | AI/ML | llm, agents, rag, mcp, embeddings |
|
|
22
|
+
| `ops` | DevOps | docker, k8s, ci/cd, aws, terraform |
|
|
23
|
+
| `test` | Testing | jest, playwright, tdd, e2e |
|
|
24
|
+
| `sec` | Security | auth, oauth, jwt, owasp, pentest |
|
|
25
|
+
| `git` | Git/Workflow | pr, review, commit, branching |
|
|
26
|
+
| `mob` | Mobile | react-native, flutter, ios, android |
|
|
27
|
+
| `py` | Python | django, flask, fastapi, pandas |
|
|
28
|
+
| `go` | Golang | gin, echo, fiber, concurrency |
|
|
29
|
+
|
|
30
|
+
## How to Search
|
|
31
|
+
|
|
32
|
+
1. Read `skills-compact.json` — format: `{ "skills": { "name": { "c": "category", "d": "description" } } }`
|
|
33
|
+
2. Match skills whose name or description contains user's keywords
|
|
34
|
+
3. If no direct match, suggest skills from the matching category
|
|
35
|
+
4. On confirmation, read `skills/{skill-name}/SKILL.md`
|
|
36
|
+
|
|
37
|
+
## Auto-Activate Triggers
|
|
38
|
+
|
|
39
|
+
| User says... | Suggest skill |
|
|
40
|
+
|--------------|---------------|
|
|
41
|
+
| "create PR", "pull request" | /git-advanced-workflows |
|
|
42
|
+
| "code review" | /code-review |
|
|
43
|
+
| "write tests", "add tests" | /test-master |
|
|
44
|
+
| "fix bug", "debug" | /systematic-debugging |
|
|
45
|
+
| "learn", "teach me" | /learn |
|
|
46
|
+
| "react component" | /react-expert |
|
|
47
|
+
| "nextjs", "next.js" | /nextjs-best-practices |
|
|
48
|
+
| "docker", "container" | /docker-expert |
|
|
49
|
+
| "api design" | /api-design-principles |
|
|
50
|
+
| "database schema" | /database-design |
|
|
51
|
+
| "authentication", "auth" | /auth-implementation-patterns |
|
|
52
|
+
| "mcp server" | /mcp-developer |
|
|
53
|
+
|
|
54
|
+
## Rules
|
|
55
|
+
|
|
56
|
+
1. **Don't auto-load** — always ask before loading a skill
|
|
57
|
+
2. **Max 3 suggestions** — don't overwhelm user
|
|
58
|
+
3. **Be concise** — one-line per skill suggestion
|
|
59
|
+
4. **Remember context** — if user said "none", don't suggest again for same task
|
|
60
|
+
5. **On-demand only** — only read full SKILL.md when user confirms
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Command Routing Guide
|
|
2
|
+
|
|
3
|
+
> Help Claude choose the right command and execution mode for each task.
|
|
4
|
+
|
|
5
|
+
## Decision Tree
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
Is this a learning/educational request?
|
|
9
|
+
→ /learn
|
|
10
|
+
|
|
11
|
+
Is this brainstorming/ideation only (no code)?
|
|
12
|
+
→ /brainstorm
|
|
13
|
+
|
|
14
|
+
Is this just planning (no implementation)?
|
|
15
|
+
→ /plan
|
|
16
|
+
|
|
17
|
+
Is this a bug fix?
|
|
18
|
+
→ /fix (simple) or /fix:hard (complex)
|
|
19
|
+
|
|
20
|
+
Is this a small, well-defined task?
|
|
21
|
+
→ /cook:fast
|
|
22
|
+
|
|
23
|
+
Is this a medium task with clear requirements?
|
|
24
|
+
→ /cook:auto (auto: plan → code → commit)
|
|
25
|
+
→ OR /plan → /code (manual control)
|
|
26
|
+
|
|
27
|
+
Is this a complex, full-lifecycle feature?
|
|
28
|
+
→ /cook:hard (includes brainstorm+research+plan+code+test+review)
|
|
29
|
+
→ OR /brainstorm → /plan → /code (manual, more control)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Anti-Patterns
|
|
33
|
+
|
|
34
|
+
- **NEVER** chain `/brainstorm` → `/plan` before `/cook:hard` — it already includes both internally, causing duplicate work
|
|
35
|
+
- **NEVER** use `/cook:hard` for trivial fixes — overkill, wastes context
|
|
36
|
+
- **NEVER** use `/cook:fast` for complex features — skips research/design, leads to rework
|
|
37
|
+
|
|
38
|
+
## Command Reference
|
|
39
|
+
|
|
40
|
+
| Command | Complexity | Multi-Agent | Best For |
|
|
41
|
+
|---------|-----------|-------------|----------|
|
|
42
|
+
| `/cook:fast` | Low | Light (scouter, engineer) | Well-defined small tasks |
|
|
43
|
+
| `/cook` | Medium | Yes (full team) | Standard feature work |
|
|
44
|
+
| `/cook:auto` | Medium | Yes (plan → code → git) | Autonomous implementation |
|
|
45
|
+
| `/cook:hard` | High | Full (8 phases, all agents) | Complex features from scratch |
|
|
46
|
+
| `/brainstorm` | N/A | No | Ideation, design exploration |
|
|
47
|
+
| `/plan` | N/A | Optional (researcher) | Creating implementation plans |
|
|
48
|
+
| `/code` | Medium | Yes (tester, reviewer) | Executing an existing plan |
|
|
49
|
+
| `/learn` | N/A | No | Interactive tutorials |
|
|
50
|
+
| `/fix` | Low | No | Quick bug fixes |
|
|
51
|
+
| `/fix:hard` | Medium | Yes (debugger, tester) | Complex debugging |
|
|
52
|
+
|
|
53
|
+
## When to Suggest Skills
|
|
54
|
+
|
|
55
|
+
After choosing the right command, check if a domain-specific skill would help:
|
|
56
|
+
- User says "react" → suggest `/react-expert` skill alongside chosen command
|
|
57
|
+
- User says "auth" → suggest `/auth-implementation-patterns` skill
|
|
58
|
+
- See `auto-skill.md` for full detection flow
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Context Checkpoint
|
|
2
|
+
|
|
3
|
+
Auto-save session state to `.claude/sessions/` for context recovery.
|
|
4
|
+
|
|
5
|
+
## When to Checkpoint
|
|
6
|
+
After completing a subtask: implementing a feature step, running tests, phase transitions,
|
|
7
|
+
receiving Task agent results, making key decisions.
|
|
8
|
+
Do NOT checkpoint per individual file edit — wait until the subtask is complete.
|
|
9
|
+
|
|
10
|
+
## Skip Checkpoint
|
|
11
|
+
Simple Q&A, exploration reads, brainstorming, tasks completing in < 3 steps.
|
|
12
|
+
|
|
13
|
+
## Protocol
|
|
14
|
+
1. First checkpoint → ensure `.claude/sessions` is covered by `.gitignore`
|
|
15
|
+
(skip if `.claude/` or `.claude/sessions` already in gitignore), then create
|
|
16
|
+
`.claude/sessions/{YYMMDD-HHMM-desc}.md`
|
|
17
|
+
2. Include `branch:{branch}` in header if in a git repo. Omit if not git.
|
|
18
|
+
3. Update same file at each subsequent trigger. Silent — don't announce.
|
|
19
|
+
4. Keep each section to 10 items max. Summarize older items if needed.
|
|
20
|
+
5. On task completion → delete the checkpoint file.
|
|
21
|
+
|
|
22
|
+
## Recovery
|
|
23
|
+
If you recall working on a task but notice gaps in your prior context (earlier messages
|
|
24
|
+
seem compressed or summarized), check `.claude/sessions/` for a matching checkpoint
|
|
25
|
+
to restore state. Verify checkpoint has a `#` header and `## Next Action` before using.
|
|
26
|
+
Say: "Resumed from checkpoint. Continuing..."
|
|
27
|
+
Do NOT auto-load checkpoints in a fresh session — use `/recover` for cross-session.
|
|
28
|
+
|
|
29
|
+
## Format
|
|
30
|
+
```
|
|
31
|
+
# {desc} | {command} | {phase} | branch:{branch}
|
|
32
|
+
## Plan — {path or "none"}
|
|
33
|
+
## Done — {bullets}
|
|
34
|
+
## Pending — {bullets}
|
|
35
|
+
## Decisions — {bullets}
|
|
36
|
+
## Next Action — {exact step}
|
|
37
|
+
## Files — Modified: {list} | Remaining: {list}
|
|
38
|
+
```
|
package/rules-index.json
CHANGED
|
@@ -109,6 +109,7 @@ function organizeRules() {
|
|
|
109
109
|
const stats = {};
|
|
110
110
|
|
|
111
111
|
for (const ruleDir of rulesDirs) {
|
|
112
|
+
if (ruleDir === 'base') continue; // base rules handled by createBaseTemplate
|
|
112
113
|
const srcDir = path.join(RULES_DIR, ruleDir);
|
|
113
114
|
const tech = RULES_MAPPING[ruleDir] || ruleDir;
|
|
114
115
|
const destDir = path.join(TEMPLATES_DIR, tech, 'rules', ruleDir);
|
|
@@ -171,6 +172,14 @@ function createBaseTemplate() {
|
|
|
171
172
|
}
|
|
172
173
|
|
|
173
174
|
console.log(' Created base template with essential hooks');
|
|
175
|
+
|
|
176
|
+
// Copy base rules from rules/base/ to templates/base/rules/
|
|
177
|
+
const baseRulesSource = path.join(RULES_DIR, 'base');
|
|
178
|
+
const baseRulesDest = path.join(baseDir, 'rules');
|
|
179
|
+
if (fs.existsSync(baseRulesSource)) {
|
|
180
|
+
const count = copyDir(baseRulesSource, baseRulesDest);
|
|
181
|
+
console.log(` Copied ${count} base rules`);
|
|
182
|
+
}
|
|
174
183
|
}
|
|
175
184
|
|
|
176
185
|
/**
|
|
@@ -38,21 +38,21 @@ Optimize application performance end-to-end using specialized performance and op
|
|
|
38
38
|
|
|
39
39
|
### 1. Comprehensive Performance Profiling
|
|
40
40
|
|
|
41
|
-
- Use Task tool with subagent_type="
|
|
41
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
42
42
|
- Prompt: "Profile application performance comprehensively for: $ARGUMENTS. Generate flame graphs for CPU usage, heap dumps for memory analysis, trace I/O operations, and identify hot paths. Use APM tools like DataDog or New Relic if available. Include database query profiling, API response times, and frontend rendering metrics. Establish performance baselines for all critical user journeys."
|
|
43
43
|
- Context: Initial performance investigation
|
|
44
44
|
- Output: Detailed performance profile with flame graphs, memory analysis, bottleneck identification, baseline metrics
|
|
45
45
|
|
|
46
46
|
### 2. Observability Stack Assessment
|
|
47
47
|
|
|
48
|
-
- Use Task tool with subagent_type="
|
|
48
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
49
49
|
- Prompt: "Assess current observability setup for: $ARGUMENTS. Review existing monitoring, distributed tracing with OpenTelemetry, log aggregation, and metrics collection. Identify gaps in visibility, missing metrics, and areas needing better instrumentation. Recommend APM tool integration and custom metrics for business-critical operations."
|
|
50
50
|
- Context: Performance profile from step 1
|
|
51
51
|
- Output: Observability assessment report, instrumentation gaps, monitoring recommendations
|
|
52
52
|
|
|
53
53
|
### 3. User Experience Analysis
|
|
54
54
|
|
|
55
|
-
- Use Task tool with subagent_type="
|
|
55
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
56
56
|
- Prompt: "Analyze user experience metrics for: $ARGUMENTS. Measure Core Web Vitals (LCP, FID, CLS), page load times, time to interactive, and perceived performance. Use Real User Monitoring (RUM) data if available. Identify user journeys with poor performance and their business impact."
|
|
57
57
|
- Context: Performance baselines from step 1
|
|
58
58
|
- Output: UX performance report, Core Web Vitals analysis, user impact assessment
|
|
@@ -61,21 +61,21 @@ Optimize application performance end-to-end using specialized performance and op
|
|
|
61
61
|
|
|
62
62
|
### 4. Database Performance Optimization
|
|
63
63
|
|
|
64
|
-
- Use Task tool with subagent_type="
|
|
64
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
65
65
|
- Prompt: "Optimize database performance for: $ARGUMENTS based on profiling data: {context_from_phase_1}. Analyze slow query logs, create missing indexes, optimize execution plans, implement query result caching with Redis/Memcached. Review connection pooling, prepared statements, and batch processing opportunities. Consider read replicas and database sharding if needed."
|
|
66
66
|
- Context: Performance bottlenecks from phase 1
|
|
67
67
|
- Output: Optimized queries, new indexes, caching strategy, connection pool configuration
|
|
68
68
|
|
|
69
69
|
### 5. Backend Code & API Optimization
|
|
70
70
|
|
|
71
|
-
- Use Task tool with subagent_type="
|
|
71
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
72
72
|
- Prompt: "Optimize backend services for: $ARGUMENTS targeting bottlenecks: {context_from_phase_1}. Implement efficient algorithms, add application-level caching, optimize N+1 queries, use async/await patterns effectively. Implement pagination, response compression, GraphQL query optimization, and batch API operations. Add circuit breakers and bulkheads for resilience."
|
|
73
73
|
- Context: Database optimizations from step 4, profiling data from phase 1
|
|
74
74
|
- Output: Optimized backend code, caching implementation, API improvements, resilience patterns
|
|
75
75
|
|
|
76
76
|
### 6. Microservices & Distributed System Optimization
|
|
77
77
|
|
|
78
|
-
- Use Task tool with subagent_type="
|
|
78
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
79
79
|
- Prompt: "Optimize distributed system performance for: $ARGUMENTS. Analyze service-to-service communication, implement service mesh optimizations, optimize message queue performance (Kafka/RabbitMQ), reduce network hops. Implement distributed caching strategies and optimize serialization/deserialization."
|
|
80
80
|
- Context: Backend optimizations from step 5
|
|
81
81
|
- Output: Service communication improvements, message queue optimization, distributed caching setup
|
|
@@ -84,21 +84,21 @@ Optimize application performance end-to-end using specialized performance and op
|
|
|
84
84
|
|
|
85
85
|
### 7. Frontend Bundle & Loading Optimization
|
|
86
86
|
|
|
87
|
-
- Use Task tool with subagent_type="
|
|
87
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
88
88
|
- Prompt: "Optimize frontend performance for: $ARGUMENTS targeting Core Web Vitals: {context_from_phase_1}. Implement code splitting, tree shaking, lazy loading, and dynamic imports. Optimize bundle sizes with webpack/rollup analysis. Implement resource hints (prefetch, preconnect, preload). Optimize critical rendering path and eliminate render-blocking resources."
|
|
89
89
|
- Context: UX analysis from phase 1, backend optimizations from phase 2
|
|
90
90
|
- Output: Optimized bundles, lazy loading implementation, improved Core Web Vitals
|
|
91
91
|
|
|
92
92
|
### 8. CDN & Edge Optimization
|
|
93
93
|
|
|
94
|
-
- Use Task tool with subagent_type="
|
|
94
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
95
95
|
- Prompt: "Optimize CDN and edge performance for: $ARGUMENTS. Configure CloudFlare/CloudFront for optimal caching, implement edge functions for dynamic content, set up image optimization with responsive images and WebP/AVIF formats. Configure HTTP/2 and HTTP/3, implement Brotli compression. Set up geographic distribution for global users."
|
|
96
96
|
- Context: Frontend optimizations from step 7
|
|
97
97
|
- Output: CDN configuration, edge caching rules, compression setup, geographic optimization
|
|
98
98
|
|
|
99
99
|
### 9. Mobile & Progressive Web App Optimization
|
|
100
100
|
|
|
101
|
-
- Use Task tool with subagent_type="
|
|
101
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
102
102
|
- Prompt: "Optimize mobile experience for: $ARGUMENTS. Implement service workers for offline functionality, optimize for slow networks with adaptive loading. Reduce JavaScript execution time for mobile CPUs. Implement virtual scrolling for long lists. Optimize touch responsiveness and smooth animations. Consider React Native/Flutter specific optimizations if applicable."
|
|
103
103
|
- Context: Frontend optimizations from steps 7-8
|
|
104
104
|
- Output: Mobile-optimized code, PWA implementation, offline functionality
|
|
@@ -107,14 +107,14 @@ Optimize application performance end-to-end using specialized performance and op
|
|
|
107
107
|
|
|
108
108
|
### 10. Comprehensive Load Testing
|
|
109
109
|
|
|
110
|
-
- Use Task tool with subagent_type="
|
|
110
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
111
111
|
- Prompt: "Conduct comprehensive load testing for: $ARGUMENTS using k6/Gatling/Artillery. Design realistic load scenarios based on production traffic patterns. Test normal load, peak load, and stress scenarios. Include API testing, browser-based testing, and WebSocket testing if applicable. Measure response times, throughput, error rates, and resource utilization at various load levels."
|
|
112
112
|
- Context: All optimizations from phases 1-3
|
|
113
113
|
- Output: Load test results, performance under load, breaking points, scalability analysis
|
|
114
114
|
|
|
115
115
|
### 11. Performance Regression Testing
|
|
116
116
|
|
|
117
|
-
- Use Task tool with subagent_type="
|
|
117
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
118
118
|
- Prompt: "Create automated performance regression tests for: $ARGUMENTS. Set up performance budgets for key metrics, integrate with CI/CD pipeline using GitHub Actions or similar. Create Lighthouse CI tests for frontend, API performance tests with Artillery, and database performance benchmarks. Implement automatic rollback triggers for performance regressions."
|
|
119
119
|
- Context: Load test results from step 10, baseline metrics from phase 1
|
|
120
120
|
- Output: Performance test suite, CI/CD integration, regression prevention system
|
|
@@ -123,14 +123,14 @@ Optimize application performance end-to-end using specialized performance and op
|
|
|
123
123
|
|
|
124
124
|
### 12. Production Monitoring Setup
|
|
125
125
|
|
|
126
|
-
- Use Task tool with subagent_type="
|
|
126
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
127
127
|
- Prompt: "Implement production performance monitoring for: $ARGUMENTS. Set up APM with DataDog/New Relic/Dynatrace, configure distributed tracing with OpenTelemetry, implement custom business metrics. Create Grafana dashboards for key metrics, set up PagerDuty alerts for performance degradation. Define SLIs/SLOs for critical services with error budgets."
|
|
128
128
|
- Context: Performance improvements from all previous phases
|
|
129
129
|
- Output: Monitoring dashboards, alert rules, SLI/SLO definitions, runbooks
|
|
130
130
|
|
|
131
131
|
### 13. Continuous Performance Optimization
|
|
132
132
|
|
|
133
|
-
- Use Task tool with subagent_type="
|
|
133
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
134
134
|
- Prompt: "Establish continuous optimization process for: $ARGUMENTS. Create performance budget tracking, implement A/B testing for performance changes, set up continuous profiling in production. Document optimization opportunities backlog, create capacity planning models, and establish regular performance review cycles."
|
|
135
135
|
- Context: Monitoring setup from step 12, all previous optimization work
|
|
136
136
|
- Output: Performance budget tracking, optimization backlog, capacity planning, review process
|
|
@@ -402,7 +402,7 @@ Chain multiple agents together.
|
|
|
402
402
|
```python
|
|
403
403
|
from azure.ai.agents import ConnectedAgentTool
|
|
404
404
|
|
|
405
|
-
# Create
|
|
405
|
+
# Create Task agent
|
|
406
406
|
research_agent = client.create_agent(
|
|
407
407
|
model=os.environ["MODEL_DEPLOYMENT_NAME"],
|
|
408
408
|
name="researcher",
|