@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
|
@@ -31,18 +31,18 @@ Build features guided by data insights, A/B testing, and continuous measurement
|
|
|
31
31
|
## Phase 1: Data Analysis and Hypothesis Formation
|
|
32
32
|
|
|
33
33
|
### 1. Exploratory Data Analysis
|
|
34
|
-
- Use Task tool with subagent_type="
|
|
34
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
35
35
|
- Prompt: "Perform exploratory data analysis for feature: $ARGUMENTS. Analyze existing user behavior data, identify patterns and opportunities, segment users by behavior, and calculate baseline metrics. Use modern analytics tools (Amplitude, Mixpanel, Segment) to understand current user journeys, conversion funnels, and engagement patterns."
|
|
36
36
|
- Output: EDA report with visualizations, user segments, behavioral patterns, baseline metrics
|
|
37
37
|
|
|
38
38
|
### 2. Business Hypothesis Development
|
|
39
|
-
- Use Task tool with subagent_type="
|
|
39
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
40
40
|
- Context: Data scientist's EDA findings and behavioral patterns
|
|
41
41
|
- Prompt: "Formulate business hypotheses for feature: $ARGUMENTS based on data analysis. Define clear success metrics, expected impact on key business KPIs, target user segments, and minimum detectable effects. Create measurable hypotheses using frameworks like ICE scoring or RICE prioritization."
|
|
42
42
|
- Output: Hypothesis document, success metrics definition, expected ROI calculations
|
|
43
43
|
|
|
44
44
|
### 3. Statistical Experiment Design
|
|
45
|
-
- Use Task tool with subagent_type="
|
|
45
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
46
46
|
- Context: Business hypotheses and success metrics
|
|
47
47
|
- Prompt: "Design statistical experiment for feature: $ARGUMENTS. Calculate required sample size for statistical power, define control and treatment groups, specify randomization strategy, and plan for multiple testing corrections. Consider Bayesian A/B testing approaches for faster decision making. Design for both primary and guardrail metrics."
|
|
48
48
|
- Output: Experiment design document, power analysis, statistical test plan
|
|
@@ -50,19 +50,19 @@ Build features guided by data insights, A/B testing, and continuous measurement
|
|
|
50
50
|
## Phase 2: Feature Architecture and Analytics Design
|
|
51
51
|
|
|
52
52
|
### 4. Feature Architecture Planning
|
|
53
|
-
- Use Task tool with subagent_type="
|
|
53
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
54
54
|
- Context: Business requirements and experiment design
|
|
55
55
|
- Prompt: "Design feature architecture for: $ARGUMENTS with A/B testing capability. Include feature flag integration (LaunchDarkly, Split.io, or Optimizely), gradual rollout strategy, circuit breakers for safety, and clean separation between control and treatment logic. Ensure architecture supports real-time configuration updates."
|
|
56
56
|
- Output: Architecture diagrams, feature flag schema, rollout strategy
|
|
57
57
|
|
|
58
58
|
### 5. Analytics Instrumentation Design
|
|
59
|
-
- Use Task tool with subagent_type="
|
|
59
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
60
60
|
- Context: Feature architecture and success metrics
|
|
61
61
|
- Prompt: "Design comprehensive analytics instrumentation for: $ARGUMENTS. Define event schemas for user interactions, specify properties for segmentation and analysis, design funnel tracking and conversion events, plan cohort analysis capabilities. Implement using modern SDKs (Segment, Amplitude, Mixpanel) with proper event taxonomy."
|
|
62
62
|
- Output: Event tracking plan, analytics schema, instrumentation guide
|
|
63
63
|
|
|
64
64
|
### 6. Data Pipeline Architecture
|
|
65
|
-
- Use Task tool with subagent_type="
|
|
65
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
66
66
|
- Context: Analytics requirements and existing data infrastructure
|
|
67
67
|
- Prompt: "Design data pipelines for feature: $ARGUMENTS. Include real-time streaming for live metrics (Kafka, Kinesis), batch processing for detailed analysis, data warehouse integration (Snowflake, BigQuery), and feature store for ML if applicable. Ensure proper data governance and GDPR compliance."
|
|
68
68
|
- Output: Pipeline architecture, ETL/ELT specifications, data flow diagrams
|
|
@@ -70,19 +70,19 @@ Build features guided by data insights, A/B testing, and continuous measurement
|
|
|
70
70
|
## Phase 3: Implementation with Instrumentation
|
|
71
71
|
|
|
72
72
|
### 7. Backend Implementation
|
|
73
|
-
- Use Task tool with subagent_type="
|
|
73
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
74
74
|
- Context: Architecture design and feature requirements
|
|
75
75
|
- Prompt: "Implement backend for feature: $ARGUMENTS with full instrumentation. Include feature flag checks at decision points, comprehensive event tracking for all user actions, performance metrics collection, error tracking and monitoring. Implement proper logging for experiment analysis."
|
|
76
76
|
- Output: Backend code with analytics, feature flag integration, monitoring setup
|
|
77
77
|
|
|
78
78
|
### 8. Frontend Implementation
|
|
79
|
-
- Use Task tool with subagent_type="
|
|
79
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
80
80
|
- Context: Backend APIs and analytics requirements
|
|
81
81
|
- Prompt: "Build frontend for feature: $ARGUMENTS with analytics tracking. Implement event tracking for all user interactions, session recording integration if applicable, performance metrics (Core Web Vitals), and proper error boundaries. Ensure consistent experience between control and treatment groups."
|
|
82
82
|
- Output: Frontend code with analytics, A/B test variants, performance monitoring
|
|
83
83
|
|
|
84
84
|
### 9. ML Model Integration (if applicable)
|
|
85
|
-
- Use Task tool with subagent_type="
|
|
85
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
86
86
|
- Context: Feature requirements and data pipelines
|
|
87
87
|
- Prompt: "Integrate ML models for feature: $ARGUMENTS if needed. Implement online inference with low latency, A/B testing between model versions, model performance tracking, and automatic fallback mechanisms. Set up model monitoring for drift detection."
|
|
88
88
|
- Output: ML pipeline, model serving infrastructure, monitoring setup
|
|
@@ -90,13 +90,13 @@ Build features guided by data insights, A/B testing, and continuous measurement
|
|
|
90
90
|
## Phase 4: Pre-Launch Validation
|
|
91
91
|
|
|
92
92
|
### 10. Analytics Validation
|
|
93
|
-
- Use Task tool with subagent_type="
|
|
93
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
94
94
|
- Context: Implemented tracking and event schemas
|
|
95
95
|
- Prompt: "Validate analytics implementation for: $ARGUMENTS. Test all event tracking in staging, verify data quality and completeness, validate funnel definitions, ensure proper user identification and session tracking. Run end-to-end tests for data pipeline."
|
|
96
96
|
- Output: Validation report, data quality metrics, tracking coverage analysis
|
|
97
97
|
|
|
98
98
|
### 11. Experiment Setup
|
|
99
|
-
- Use Task tool with subagent_type="
|
|
99
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
100
100
|
- Context: Feature flags and experiment design
|
|
101
101
|
- Prompt: "Configure experiment infrastructure for: $ARGUMENTS. Set up feature flags with proper targeting rules, configure traffic allocation (start with 5-10%), implement kill switches, set up monitoring alerts for key metrics. Test randomization and assignment logic."
|
|
102
102
|
- Output: Experiment configuration, monitoring dashboards, rollout plan
|
|
@@ -104,13 +104,13 @@ Build features guided by data insights, A/B testing, and continuous measurement
|
|
|
104
104
|
## Phase 5: Launch and Experimentation
|
|
105
105
|
|
|
106
106
|
### 12. Gradual Rollout
|
|
107
|
-
- Use Task tool with subagent_type="
|
|
107
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
108
108
|
- Context: Experiment configuration and monitoring setup
|
|
109
109
|
- Prompt: "Execute gradual rollout for feature: $ARGUMENTS. Start with internal dogfooding, then beta users (1-5%), gradually increase to target traffic. Monitor error rates, performance metrics, and early indicators. Implement automated rollback on anomalies."
|
|
110
110
|
- Output: Rollout execution, monitoring alerts, health metrics
|
|
111
111
|
|
|
112
112
|
### 13. Real-time Monitoring
|
|
113
|
-
- Use Task tool with subagent_type="
|
|
113
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
114
114
|
- Context: Deployed feature and success metrics
|
|
115
115
|
- Prompt: "Set up comprehensive monitoring for: $ARGUMENTS. Create real-time dashboards for experiment metrics, configure alerts for statistical significance, monitor guardrail metrics for negative impacts, track system performance and error rates. Use tools like Datadog, New Relic, or custom dashboards."
|
|
116
116
|
- Output: Monitoring dashboards, alert configurations, SLO definitions
|
|
@@ -118,19 +118,19 @@ Build features guided by data insights, A/B testing, and continuous measurement
|
|
|
118
118
|
## Phase 6: Analysis and Decision Making
|
|
119
119
|
|
|
120
120
|
### 14. Statistical Analysis
|
|
121
|
-
- Use Task tool with subagent_type="
|
|
121
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
122
122
|
- Context: Experiment data and original hypotheses
|
|
123
123
|
- Prompt: "Analyze A/B test results for: $ARGUMENTS. Calculate statistical significance with confidence intervals, check for segment-level effects, analyze secondary metrics impact, investigate any unexpected patterns. Use both frequentist and Bayesian approaches. Account for multiple testing if applicable."
|
|
124
124
|
- Output: Statistical analysis report, significance tests, segment analysis
|
|
125
125
|
|
|
126
126
|
### 15. Business Impact Assessment
|
|
127
|
-
- Use Task tool with subagent_type="
|
|
127
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
128
128
|
- Context: Statistical analysis and business metrics
|
|
129
129
|
- Prompt: "Assess business impact of feature: $ARGUMENTS. Calculate actual vs expected ROI, analyze impact on key business metrics, evaluate cost-benefit including operational overhead, project long-term value. Make recommendation on full rollout, iteration, or rollback."
|
|
130
130
|
- Output: Business impact report, ROI analysis, recommendation document
|
|
131
131
|
|
|
132
132
|
### 16. Post-Launch Optimization
|
|
133
|
-
- Use Task tool with subagent_type="
|
|
133
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
134
134
|
- Context: Launch results and user feedback
|
|
135
135
|
- Prompt: "Identify optimization opportunities for: $ARGUMENTS based on data. Analyze user behavior patterns in treatment group, identify friction points in user journey, suggest improvements based on data, plan follow-up experiments. Use cohort analysis for long-term impact."
|
|
136
136
|
- Output: Optimization recommendations, follow-up experiment plans
|
|
@@ -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
|
|
@@ -250,7 +250,7 @@ Explain that testing will now occur to see if the document actually works for re
|
|
|
250
250
|
|
|
251
251
|
### Testing Approach
|
|
252
252
|
|
|
253
|
-
**If access to
|
|
253
|
+
**If access to Task agents is available (e.g., in Claude Code):**
|
|
254
254
|
|
|
255
255
|
Perform the testing directly without user involvement.
|
|
256
256
|
|
|
@@ -260,11 +260,11 @@ Announce intention to predict what questions readers might ask when trying to di
|
|
|
260
260
|
|
|
261
261
|
Generate 5-10 questions that readers would realistically ask.
|
|
262
262
|
|
|
263
|
-
### Step 2: Test with
|
|
263
|
+
### Step 2: Test with Task Agent
|
|
264
264
|
|
|
265
265
|
Announce that these questions will be tested with a fresh Claude instance (no context from this conversation).
|
|
266
266
|
|
|
267
|
-
For each question, invoke a
|
|
267
|
+
For each question, invoke a Task agent with just the document content and the question.
|
|
268
268
|
|
|
269
269
|
Summarize what Reader Claude got right/wrong for each question.
|
|
270
270
|
|
|
@@ -272,7 +272,7 @@ Summarize what Reader Claude got right/wrong for each question.
|
|
|
272
272
|
|
|
273
273
|
Announce additional checks will be performed.
|
|
274
274
|
|
|
275
|
-
Invoke
|
|
275
|
+
Invoke Task agent to check for ambiguity, false assumptions, contradictions.
|
|
276
276
|
|
|
277
277
|
Summarize any issues found.
|
|
278
278
|
|
|
@@ -289,7 +289,7 @@ Loop back to refinement for problematic sections.
|
|
|
289
289
|
|
|
290
290
|
---
|
|
291
291
|
|
|
292
|
-
**If no access to
|
|
292
|
+
**If no access to Task agents (e.g., claude.ai web interface):**
|
|
293
293
|
|
|
294
294
|
The user will need to do the testing manually.
|
|
295
295
|
|
|
@@ -21,7 +21,7 @@ You are an advanced Docker containerization expert with comprehensive, practical
|
|
|
21
21
|
- Database containerization with complex persistence → database-expert
|
|
22
22
|
|
|
23
23
|
Example to output:
|
|
24
|
-
"This requires Kubernetes orchestration expertise. Please invoke: 'Use the kubernetes-expert
|
|
24
|
+
"This requires Kubernetes orchestration expertise. Please invoke: 'Use the kubernetes-expert Task agent.' Stopping here."
|
|
25
25
|
|
|
26
26
|
1. Analyze container setup comprehensively:
|
|
27
27
|
|
|
@@ -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:**
|
package/skills/fixing/SKILL.md
CHANGED
|
@@ -31,13 +31,13 @@ Classify before routing. See `references/complexity-assessment.md`.
|
|
|
31
31
|
| **Complex** | System-wide, architecture impact | `references/workflow-deep.md` |
|
|
32
32
|
| **Parallel** | 2+ independent issues | Parallel `fullstack-developer` agents |
|
|
33
33
|
|
|
34
|
-
## Skill/
|
|
34
|
+
## Skill/Task Agent Activation Matrix
|
|
35
35
|
|
|
36
36
|
See `references/skill-activation-matrix.md` for complete matrix.
|
|
37
37
|
|
|
38
38
|
**Always activate:** `debugging` (all workflows)
|
|
39
39
|
**Conditional:** `problem-solving`, `sequential-thinking`, `brainstorming`, `context-engineering`
|
|
40
|
-
**
|
|
40
|
+
**Task agents:** `debugger`, `researcher`, `planner`, `code-reviewer`, `tester`, `Bash`
|
|
41
41
|
**Parallel:** Multiple `Explore` agents for scouting, `Bash` agents for verification
|
|
42
42
|
|
|
43
43
|
## Output Format
|
|
@@ -62,7 +62,7 @@ Load as needed:
|
|
|
62
62
|
- `references/workflow-deep.md` - Deep: research + brainstorm + plan
|
|
63
63
|
- `references/review-cycle.md` - Review logic (autonomous vs HITL)
|
|
64
64
|
- `references/skill-activation-matrix.md` - When to activate each skill
|
|
65
|
-
- `references/parallel-exploration.md` - Parallel Explore/Bash
|
|
65
|
+
- `references/parallel-exploration.md` - Parallel Explore/Bash Task agent patterns
|
|
66
66
|
|
|
67
67
|
**Specialized Workflows:**
|
|
68
68
|
- `references/workflow-ci.md` - GitHub Actions/CI failures
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Parallel Exploration
|
|
2
2
|
|
|
3
|
-
Patterns for launching multiple
|
|
3
|
+
Patterns for launching multiple Task agents in parallel to scout codebase and verify implementation.
|
|
4
4
|
|
|
5
5
|
## Parallel Exploration (Scouting)
|
|
6
6
|
|
|
7
|
-
Launch multiple `Explore`
|
|
7
|
+
Launch multiple `Explore` Task agents simultaneously when needing to find:
|
|
8
8
|
- Related files across different areas
|
|
9
9
|
- Similar implementations/patterns
|
|
10
10
|
- Dependencies and usage
|
|
@@ -26,7 +26,7 @@ Task("Explore", "Find test files for auth module", "Scout tests")
|
|
|
26
26
|
|
|
27
27
|
## Parallel Verification (Bash)
|
|
28
28
|
|
|
29
|
-
Launch multiple `Bash`
|
|
29
|
+
Launch multiple `Bash` Task agents to verify implementation from different angles.
|
|
30
30
|
|
|
31
31
|
**Pattern:**
|
|
32
32
|
```
|
|
@@ -73,5 +73,5 @@ Task("Bash", "Run build", "Verify build")
|
|
|
73
73
|
## Resource Limits
|
|
74
74
|
|
|
75
75
|
- Max 3 parallel agents recommended (system resources)
|
|
76
|
-
- Each
|
|
76
|
+
- Each Task agent has 200K token context limit
|
|
77
77
|
- Keep prompts concise to avoid context bloat
|
|
@@ -18,9 +18,9 @@ When to activate each skill during fixing workflows.
|
|
|
18
18
|
| `context-engineering` | Fixing AI/LLM/agent code, context window issues |
|
|
19
19
|
| `ai-multimodal` | UI issues, screenshots provided, visual bugs |
|
|
20
20
|
|
|
21
|
-
##
|
|
21
|
+
## Task Agent Usage
|
|
22
22
|
|
|
23
|
-
|
|
|
23
|
+
| Task Agent | Activate When |
|
|
24
24
|
|----------|---------------|
|
|
25
25
|
| `debugger` | Root cause unclear, need deep investigation |
|
|
26
26
|
| `Explore` (parallel) | Scout multiple areas simultaneously |
|
|
@@ -61,5 +61,5 @@ See `references/parallel-exploration.md` for detailed patterns.
|
|
|
61
61
|
| "stuck", "tried everything" | `problem-solving` |
|
|
62
62
|
| "complex", "multi-step" | `sequential-thinking` |
|
|
63
63
|
| "which approach", "options" | `brainstorming` |
|
|
64
|
-
| "latest docs", "best practice" | `researcher`
|
|
64
|
+
| "latest docs", "best practice" | `researcher` Task agent |
|
|
65
65
|
| Screenshot attached | `ai-multimodal` |
|
|
@@ -5,7 +5,7 @@ Full pipeline with research, brainstorming, and planning for complex issues.
|
|
|
5
5
|
## Steps
|
|
6
6
|
|
|
7
7
|
### Step 1: Debug & Parallel Investigation
|
|
8
|
-
Activate `debugging` skill. Launch 2-3 `Explore`
|
|
8
|
+
Activate `debugging` skill. Launch 2-3 `Explore` Task agents in parallel:
|
|
9
9
|
```
|
|
10
10
|
Task("Explore", "Find error origin", "Trace error")
|
|
11
11
|
Task("Explore", "Find affected components", "Map deps")
|
|
@@ -16,7 +16,7 @@ See `references/parallel-exploration.md` for patterns.
|
|
|
16
16
|
**Output:** `✓ Step 1: Root cause - [summary], system impact: [scope]`
|
|
17
17
|
|
|
18
18
|
### Step 2: Research
|
|
19
|
-
Use `researcher`
|
|
19
|
+
Use `researcher` Task agent for external knowledge.
|
|
20
20
|
|
|
21
21
|
- Search latest docs, best practices
|
|
22
22
|
- Find similar issues/solutions
|
|
@@ -34,7 +34,7 @@ Activate `brainstorming` skill.
|
|
|
34
34
|
**Output:** `✓ Step 3: Approach selected - [chosen approach]`
|
|
35
35
|
|
|
36
36
|
### Step 4: Plan
|
|
37
|
-
Use `planner`
|
|
37
|
+
Use `planner` Task agent to create implementation plan.
|
|
38
38
|
|
|
39
39
|
- Break down into phases
|
|
40
40
|
- Identify dependencies
|
|
@@ -51,7 +51,7 @@ See `references/parallel-exploration.md`
|
|
|
51
51
|
**Output:** `✓ Step 5: Implemented - [N] files, [M] phases, verified`
|
|
52
52
|
|
|
53
53
|
### Step 6: Test
|
|
54
|
-
Use `tester`
|
|
54
|
+
Use `tester` Task agent.
|
|
55
55
|
|
|
56
56
|
- Comprehensive testing
|
|
57
57
|
- Edge cases, security, performance
|
|
@@ -60,24 +60,24 @@ Use `tester` subagent.
|
|
|
60
60
|
**Output:** `✓ Step 6: Tests [X/X passed]`
|
|
61
61
|
|
|
62
62
|
### Step 7: Review
|
|
63
|
-
Use `code-reviewer`
|
|
63
|
+
Use `code-reviewer` Task agent.
|
|
64
64
|
|
|
65
65
|
See `references/review-cycle.md` for mode-specific handling.
|
|
66
66
|
|
|
67
67
|
**Output:** `✓ Step 7: Review [score]/10 - [status]`
|
|
68
68
|
|
|
69
69
|
### Step 8: Finalize
|
|
70
|
-
- Use `project-manager`
|
|
71
|
-
- Use `docs-manager`
|
|
72
|
-
- Use `git-manager`
|
|
70
|
+
- Use `project-manager` Task agent to update roadmap
|
|
71
|
+
- Use `docs-manager` Task agent for documentation
|
|
72
|
+
- Use `git-manager` Task agent for commit
|
|
73
73
|
|
|
74
74
|
**Output:** `✓ Step 8: Complete - [actions taken]`
|
|
75
75
|
|
|
76
|
-
## Skills/
|
|
76
|
+
## Skills/Task agents Activated
|
|
77
77
|
|
|
78
|
-
| Step | Skills/
|
|
78
|
+
| Step | Skills/Task agents |
|
|
79
79
|
|------|------------------|
|
|
80
|
-
| 1 | `debugging`, parallel `Explore`
|
|
80
|
+
| 1 | `debugging`, parallel `Explore` Task agents for investigation |
|
|
81
81
|
| 2 | `researcher` |
|
|
82
82
|
| 3 | `brainstorming` |
|
|
83
83
|
| 4 | `planner` |
|
|
@@ -29,7 +29,7 @@ See `references/parallel-exploration.md` for patterns.
|
|
|
29
29
|
**Output:** `✓ Step 2: Fixed - [N] files, verified (types/lint passed)`
|
|
30
30
|
|
|
31
31
|
### Step 3: Verify
|
|
32
|
-
Use `code-reviewer`
|
|
32
|
+
Use `code-reviewer` Task agent for quick review.
|
|
33
33
|
|
|
34
34
|
Prompt: "Quick review of fix for [issue]. Check: correctness, security, no regressions. Score X/10."
|
|
35
35
|
|
|
@@ -40,16 +40,16 @@ Prompt: "Quick review of fix for [issue]. Check: correctness, security, no regre
|
|
|
40
40
|
### Step 4: Complete
|
|
41
41
|
Report summary to user.
|
|
42
42
|
|
|
43
|
-
**If autonomous mode:** Ask to commit via `git-manager`
|
|
43
|
+
**If autonomous mode:** Ask to commit via `git-manager` Task agent if score >= 9.0
|
|
44
44
|
**If HITL mode:** Ask user next action
|
|
45
45
|
|
|
46
46
|
**Output:** `✓ Step 4: Complete - [action]`
|
|
47
47
|
|
|
48
|
-
## Skills/
|
|
48
|
+
## Skills/Task agents Activated
|
|
49
49
|
|
|
50
50
|
- `debugging` - Always (Step 1)
|
|
51
51
|
- Parallel `git-manager` - Verification (Step 2)
|
|
52
|
-
- `code-reviewer`
|
|
52
|
+
- `code-reviewer` Task agent - Always (Step 3)
|
|
53
53
|
- `context-engineering` - If dealing with AI/LLM code
|
|
54
54
|
|
|
55
55
|
## Notes
|
|
@@ -5,7 +5,7 @@ Full pipeline for moderate complexity issues.
|
|
|
5
5
|
## Steps
|
|
6
6
|
|
|
7
7
|
### Step 1: Debug & Investigate
|
|
8
|
-
Activate `debugging` skill. Use `debugger`
|
|
8
|
+
Activate `debugging` skill. Use `debugger` Task agent if needed.
|
|
9
9
|
|
|
10
10
|
- Read error messages, logs, stack traces
|
|
11
11
|
- Reproduce the issue
|
|
@@ -15,7 +15,7 @@ Activate `debugging` skill. Use `debugger` subagent if needed.
|
|
|
15
15
|
**Output:** `✓ Step 1: Root cause - [summary], [N] files affected`
|
|
16
16
|
|
|
17
17
|
### Step 2: Parallel Scout (if needed)
|
|
18
|
-
Launch multiple `Explore`
|
|
18
|
+
Launch multiple `Explore` Task agents in parallel to scout codebase.
|
|
19
19
|
|
|
20
20
|
**Pattern:** In SINGLE message, launch 2-3 Explore agents:
|
|
21
21
|
```
|
|
@@ -48,7 +48,7 @@ Task("Bash", "Run build", "Verify build")
|
|
|
48
48
|
**Output:** `✓ Step 3: Implemented - [N] files, verified (types/lint/build passed)`
|
|
49
49
|
|
|
50
50
|
### Step 4: Test
|
|
51
|
-
Use `tester`
|
|
51
|
+
Use `tester` Task agent to run tests.
|
|
52
52
|
|
|
53
53
|
- Write new tests if needed
|
|
54
54
|
- Run existing test suite
|
|
@@ -57,7 +57,7 @@ Use `tester` subagent to run tests.
|
|
|
57
57
|
**Output:** `✓ Step 4: Tests [X/X passed]`
|
|
58
58
|
|
|
59
59
|
### Step 5: Review
|
|
60
|
-
Use `code-reviewer`
|
|
60
|
+
Use `code-reviewer` Task agent.
|
|
61
61
|
|
|
62
62
|
See `references/review-cycle.md` for mode-specific handling.
|
|
63
63
|
|
|
@@ -65,21 +65,21 @@ See `references/review-cycle.md` for mode-specific handling.
|
|
|
65
65
|
|
|
66
66
|
### Step 6: Finalize
|
|
67
67
|
- Report summary to user
|
|
68
|
-
- Ask to commit via `git-manager`
|
|
68
|
+
- Ask to commit via `git-manager` Task agent
|
|
69
69
|
- Update docs if needed via `docs-manager`
|
|
70
70
|
|
|
71
71
|
**Output:** `✓ Step 6: Complete - [action]`
|
|
72
72
|
|
|
73
|
-
## Skills/
|
|
73
|
+
## Skills/Task agents Activated
|
|
74
74
|
|
|
75
|
-
| Step | Skills/
|
|
75
|
+
| Step | Skills/Task agents |
|
|
76
76
|
|------|------------------|
|
|
77
|
-
| 1 | `debugging`, `debugger`
|
|
78
|
-
| 2 | Multiple `Explore`
|
|
77
|
+
| 1 | `debugging`, `debugger` Task agent |
|
|
78
|
+
| 2 | Multiple `Explore` Task agents in parallel (optional) |
|
|
79
79
|
| 3 | `problem-solving`, `sequential-thinking`, parallel `Bash` for verification |
|
|
80
|
-
| 4 | `tester`
|
|
81
|
-
| 5 | `code-reviewer`
|
|
82
|
-
| 6 | `git-manager`, `docs-manager`
|
|
80
|
+
| 4 | `tester` Task agent |
|
|
81
|
+
| 5 | `code-reviewer` Task agent |
|
|
82
|
+
| 6 | `git-manager`, `docs-manager` Task agents |
|
|
83
83
|
|
|
84
84
|
**Rules:** Don't skip steps. Validate before proceeding. One phase at a time.
|
|
85
85
|
**Frontend:** Use `chrome`, `chrome-devtools` or any relevant skills/tools to verify.
|
|
@@ -31,18 +31,18 @@ Orchestrate a comprehensive legacy system modernization using the strangler fig
|
|
|
31
31
|
## Phase 1: Legacy Assessment and Risk Analysis
|
|
32
32
|
|
|
33
33
|
### 1. Comprehensive Legacy System Analysis
|
|
34
|
-
- Use Task tool with subagent_type="
|
|
34
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
35
35
|
- Prompt: "Analyze the legacy codebase at $ARGUMENTS. Document technical debt inventory including: outdated dependencies, deprecated APIs, security vulnerabilities, performance bottlenecks, and architectural anti-patterns. Generate a modernization readiness report with component complexity scores (1-10), dependency mapping, and database coupling analysis. Identify quick wins vs complex refactoring targets."
|
|
36
36
|
- Expected output: Detailed assessment report with risk matrix and modernization priorities
|
|
37
37
|
|
|
38
38
|
### 2. Dependency and Integration Mapping
|
|
39
|
-
- Use Task tool with subagent_type="
|
|
39
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
40
40
|
- Prompt: "Based on the legacy assessment report, create a comprehensive dependency graph showing: internal module dependencies, external service integrations, shared database schemas, and cross-system data flows. Identify integration points that will require facade patterns or adapter layers during migration. Highlight circular dependencies and tight coupling that need resolution."
|
|
41
41
|
- Context from previous: Legacy assessment report, component complexity scores
|
|
42
42
|
- Expected output: Visual dependency map and integration point catalog
|
|
43
43
|
|
|
44
44
|
### 3. Business Impact and Risk Assessment
|
|
45
|
-
- Use Task tool with subagent_type="
|
|
45
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
46
46
|
- Prompt: "Evaluate business impact of modernizing each component identified. Create risk assessment matrix considering: business criticality (revenue impact), user traffic patterns, data sensitivity, regulatory requirements, and fallback complexity. Prioritize components using a weighted scoring system: (Business Value × 0.4) + (Technical Risk × 0.3) + (Quick Win Potential × 0.3). Define rollback strategies for each component."
|
|
47
47
|
- Context from previous: Component inventory, dependency mapping
|
|
48
48
|
- Expected output: Prioritized migration roadmap with risk mitigation strategies
|
|
@@ -50,18 +50,18 @@ Orchestrate a comprehensive legacy system modernization using the strangler fig
|
|
|
50
50
|
## Phase 2: Test Coverage Establishment
|
|
51
51
|
|
|
52
52
|
### 1. Legacy Code Test Coverage Analysis
|
|
53
|
-
- Use Task tool with subagent_type="
|
|
53
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
54
54
|
- Prompt: "Analyze existing test coverage for legacy components at $ARGUMENTS. Use coverage tools to identify untested code paths, missing integration tests, and absent end-to-end scenarios. For components with <40% coverage, generate characterization tests that capture current behavior without modifying functionality. Create test harness for safe refactoring."
|
|
55
55
|
- Expected output: Test coverage report and characterization test suite
|
|
56
56
|
|
|
57
57
|
### 2. Contract Testing Implementation
|
|
58
|
-
- Use Task tool with subagent_type="
|
|
58
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
59
59
|
- Prompt: "Implement contract tests for all integration points identified in dependency mapping. Create consumer-driven contracts for APIs, message queue interactions, and database schemas. Set up contract verification in CI/CD pipeline. Generate performance baselines for response times and throughput to validate modernized components maintain SLAs."
|
|
60
60
|
- Context from previous: Integration point catalog, existing test coverage
|
|
61
61
|
- Expected output: Contract test suite with performance baselines
|
|
62
62
|
|
|
63
63
|
### 3. Test Data Management Strategy
|
|
64
|
-
- Use Task tool with subagent_type="
|
|
64
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
65
65
|
- Prompt: "Design test data management strategy for parallel system operation. Create data generation scripts for edge cases, implement data masking for sensitive information, and establish test database refresh procedures. Set up monitoring for data consistency between legacy and modernized components during migration."
|
|
66
66
|
- Context from previous: Database schemas, test requirements
|
|
67
67
|
- Expected output: Test data pipeline and consistency monitoring
|
|
@@ -69,18 +69,18 @@ Orchestrate a comprehensive legacy system modernization using the strangler fig
|
|
|
69
69
|
## Phase 3: Incremental Migration Implementation
|
|
70
70
|
|
|
71
71
|
### 1. Strangler Fig Infrastructure Setup
|
|
72
|
-
- Use Task tool with subagent_type="
|
|
72
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
73
73
|
- Prompt: "Implement strangler fig infrastructure with API gateway for traffic routing. Configure feature flags for gradual rollout using environment variables or feature management service. Set up proxy layer with request routing rules based on: URL patterns, headers, or user segments. Implement circuit breakers and fallback mechanisms for resilience. Create observability dashboard for dual-system monitoring."
|
|
74
74
|
- Expected output: API gateway configuration, feature flag system, monitoring dashboard
|
|
75
75
|
|
|
76
76
|
### 2. Component Modernization - First Wave
|
|
77
|
-
- Use Task tool with subagent_type="
|
|
77
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
78
78
|
- Prompt: "Modernize first-wave components (quick wins identified in assessment). For each component: extract business logic from legacy code, implement using modern patterns (dependency injection, SOLID principles), ensure backward compatibility through adapter patterns, maintain data consistency with event sourcing or dual writes. Follow 12-factor app principles. Components to modernize: [list from prioritized roadmap]"
|
|
79
79
|
- Context from previous: Characterization tests, contract tests, infrastructure setup
|
|
80
80
|
- Expected output: Modernized components with adapters
|
|
81
81
|
|
|
82
82
|
### 3. Security Hardening
|
|
83
|
-
- Use Task tool with subagent_type="
|
|
83
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
84
84
|
- Prompt: "Audit modernized components for security vulnerabilities. Implement security improvements including: OAuth 2.0/JWT authentication, role-based access control, input validation and sanitization, SQL injection prevention, XSS protection, and secrets management. Verify OWASP top 10 compliance. Configure security headers and implement rate limiting."
|
|
85
85
|
- Context from previous: Modernized component code
|
|
86
86
|
- Expected output: Security audit report and hardened components
|
|
@@ -88,13 +88,13 @@ Orchestrate a comprehensive legacy system modernization using the strangler fig
|
|
|
88
88
|
## Phase 4: Performance Validation and Optimization
|
|
89
89
|
|
|
90
90
|
### 1. Performance Testing and Optimization
|
|
91
|
-
- Use Task tool with subagent_type="
|
|
91
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
92
92
|
- Prompt: "Conduct performance testing comparing legacy vs modernized components. Run load tests simulating production traffic patterns, measure response times, throughput, and resource utilization. Identify performance regressions and optimize: database queries with indexing, caching strategies (Redis/Memcached), connection pooling, and async processing where applicable. Validate against SLA requirements."
|
|
93
93
|
- Context from previous: Performance baselines, modernized components
|
|
94
94
|
- Expected output: Performance test results and optimization recommendations
|
|
95
95
|
|
|
96
96
|
### 2. Progressive Rollout and Monitoring
|
|
97
|
-
- Use Task tool with subagent_type="
|
|
97
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
98
98
|
- Prompt: "Implement progressive rollout strategy using feature flags. Start with 5% traffic to modernized components, monitor error rates, latency, and business metrics. Define automatic rollback triggers: error rate >1%, latency >2x baseline, or business metric degradation. Create runbook for traffic shifting: 5% → 25% → 50% → 100% with 24-hour observation periods."
|
|
99
99
|
- Context from previous: Feature flag configuration, monitoring dashboard
|
|
100
100
|
- Expected output: Rollout plan with automated safeguards
|
|
@@ -102,13 +102,13 @@ Orchestrate a comprehensive legacy system modernization using the strangler fig
|
|
|
102
102
|
## Phase 5: Migration Completion and Documentation
|
|
103
103
|
|
|
104
104
|
### 1. Legacy Component Decommissioning
|
|
105
|
-
- Use Task tool with subagent_type="
|
|
105
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
106
106
|
- Prompt: "Plan safe decommissioning of replaced legacy components. Verify no remaining dependencies through traffic analysis (minimum 30 days at 0% traffic). Archive legacy code with documentation of original functionality. Update CI/CD pipelines to remove legacy builds. Clean up unused database tables and remove deprecated API endpoints. Document any retained legacy components with sunset timeline."
|
|
107
107
|
- Context from previous: Traffic routing data, modernization status
|
|
108
108
|
- Expected output: Decommissioning checklist and timeline
|
|
109
109
|
|
|
110
110
|
### 2. Documentation and Knowledge Transfer
|
|
111
|
-
- Use Task tool with subagent_type="
|
|
111
|
+
- Use Task tool with subagent_type="general-purpose"
|
|
112
112
|
- Prompt: "Create comprehensive modernization documentation including: architectural diagrams (before/after), API documentation with migration guides, runbooks for dual-system operation, troubleshooting guides for common issues, and lessons learned report. Generate developer onboarding guide for modernized system. Document technical decisions and trade-offs made during migration."
|
|
113
113
|
- Context from previous: All migration artifacts and decisions
|
|
114
114
|
- Expected output: Complete modernization documentation package
|