claude-flow-novice 1.5.2 → 1.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/.claude/agents/SPARSE_LANGUAGE_FINDINGS.md +991 -0
  2. package/.claude/agents/architecture/system-architect.md +3 -44
  3. package/.claude/agents/benchmarking-tests/test-agent-code-heavy.md +747 -0
  4. package/.claude/agents/benchmarking-tests/test-agent-metadata.md +181 -0
  5. package/.claude/agents/benchmarking-tests/test-agent-minimal.md +67 -0
  6. package/.claude/agents/data/ml/data-ml-model.md +5 -119
  7. package/.claude/agents/development/backend/dev-backend-api.md +4 -115
  8. package/.claude/agents/devops/ci-cd/ops-cicd-github.md +4 -114
  9. package/.claude/agents/documentation/api-docs/docs-api-openapi.md +4 -113
  10. package/.claude/agents/github/multi-repo-swarm.md +1 -28
  11. package/.claude/agents/github/pr-manager.md +1 -29
  12. package/.claude/agents/github/project-board-sync.md +1 -32
  13. package/.claude/agents/github/release-manager.md +1 -32
  14. package/.claude/agents/github/release-swarm.md +1 -33
  15. package/.claude/agents/github/repo-architect.md +1 -34
  16. package/.claude/agents/github/swarm-issue.md +1 -26
  17. package/.claude/agents/github/swarm-pr.md +1 -30
  18. package/.claude/agents/github/sync-coordinator.md +1 -30
  19. package/.claude/agents/github/workflow-automation.md +1 -31
  20. package/.claude/agents/neural/neural-pattern-agent.md +2 -50
  21. package/.claude/agents/specialized/CODER_AGENT_GUIDELINES.md +1245 -0
  22. package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +6 -142
  23. package/.claude/agents/sublinear/consciousness-evolution-agent.md +2 -18
  24. package/.claude/agents/sublinear/matrix-solver-agent.md +2 -16
  25. package/.claude/agents/sublinear/nanosecond-scheduler-agent.md +2 -19
  26. package/.claude/agents/sublinear/pagerank-agent.md +2 -19
  27. package/.claude/agents/sublinear/phi-calculator-agent.md +2 -19
  28. package/.claude/agents/sublinear/psycho-symbolic-agent.md +2 -19
  29. package/.claude/agents/sublinear/sublinear.md +2 -1
  30. package/.claude/agents/sublinear/temporal-advantage-agent.md +2 -16
  31. package/.claude/agents/testing/e2e/playwright-agent.md +7 -0
  32. package/.claude-flow-novice/.claude/agents/SPARSE_LANGUAGE_FINDINGS.md +991 -0
  33. package/.claude-flow-novice/.claude/agents/architecture/system-architect.md +3 -44
  34. package/.claude-flow-novice/.claude/agents/benchmarking-tests/test-agent-code-heavy.md +747 -0
  35. package/.claude-flow-novice/.claude/agents/benchmarking-tests/test-agent-metadata.md +181 -0
  36. package/.claude-flow-novice/.claude/agents/benchmarking-tests/test-agent-minimal.md +67 -0
  37. package/.claude-flow-novice/.claude/agents/data/ml/data-ml-model.md +5 -119
  38. package/.claude-flow-novice/.claude/agents/development/backend/dev-backend-api.md +4 -115
  39. package/.claude-flow-novice/.claude/agents/devops/ci-cd/ops-cicd-github.md +4 -114
  40. package/.claude-flow-novice/.claude/agents/documentation/api-docs/docs-api-openapi.md +4 -113
  41. package/.claude-flow-novice/.claude/agents/github/multi-repo-swarm.md +1 -28
  42. package/.claude-flow-novice/.claude/agents/github/pr-manager.md +1 -29
  43. package/.claude-flow-novice/.claude/agents/github/project-board-sync.md +1 -32
  44. package/.claude-flow-novice/.claude/agents/github/release-manager.md +1 -32
  45. package/.claude-flow-novice/.claude/agents/github/release-swarm.md +1 -33
  46. package/.claude-flow-novice/.claude/agents/github/repo-architect.md +1 -34
  47. package/.claude-flow-novice/.claude/agents/github/swarm-issue.md +1 -26
  48. package/.claude-flow-novice/.claude/agents/github/swarm-pr.md +1 -30
  49. package/.claude-flow-novice/.claude/agents/github/sync-coordinator.md +1 -30
  50. package/.claude-flow-novice/.claude/agents/github/workflow-automation.md +1 -31
  51. package/.claude-flow-novice/.claude/agents/neural/neural-pattern-agent.md +2 -50
  52. package/.claude-flow-novice/.claude/agents/specialized/CODER_AGENT_GUIDELINES.md +1245 -0
  53. package/.claude-flow-novice/.claude/agents/specialized/mobile/spec-mobile-react-native.md +6 -142
  54. package/.claude-flow-novice/.claude/agents/sublinear/consciousness-evolution-agent.md +2 -18
  55. package/.claude-flow-novice/.claude/agents/sublinear/matrix-solver-agent.md +2 -16
  56. package/.claude-flow-novice/.claude/agents/sublinear/nanosecond-scheduler-agent.md +2 -19
  57. package/.claude-flow-novice/.claude/agents/sublinear/pagerank-agent.md +2 -19
  58. package/.claude-flow-novice/.claude/agents/sublinear/phi-calculator-agent.md +2 -19
  59. package/.claude-flow-novice/.claude/agents/sublinear/psycho-symbolic-agent.md +2 -19
  60. package/.claude-flow-novice/.claude/agents/sublinear/sublinear.md +2 -1
  61. package/.claude-flow-novice/.claude/agents/sublinear/temporal-advantage-agent.md +2 -16
  62. package/.claude-flow-novice/.claude/agents/testing/e2e/playwright-agent.md +7 -0
  63. package/.claude-flow-novice/dist/src/cli/simple-commands/init/CLAUDE.md +188 -0
  64. package/.claude-flow-novice/dist/src/cli/simple-commands/init/claude-flow-universal +81 -0
  65. package/.claude-flow-novice/dist/src/cli/simple-commands/init/claude-flow.bat +18 -0
  66. package/.claude-flow-novice/dist/src/cli/simple-commands/init/claude-flow.ps1 +24 -0
  67. package/.claude-flow-novice/dist/src/cli/simple-commands/init/claude-md.js +982 -0
  68. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/analysis/bottleneck-detect.md +162 -0
  69. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/automation/auto-agent.md +122 -0
  70. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/coordination/swarm-init.md +85 -0
  71. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/github/github-swarm.md +121 -0
  72. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/helpers/standard-checkpoint-hooks.sh +179 -0
  73. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/notification.md +113 -0
  74. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/post-command.md +116 -0
  75. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/post-edit.md +117 -0
  76. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/post-task.md +112 -0
  77. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/pre-command.md +113 -0
  78. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/pre-edit.md +113 -0
  79. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/pre-search.md +112 -0
  80. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/pre-task.md +111 -0
  81. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/session-end.md +118 -0
  82. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/session-restore.md +118 -0
  83. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/session-start.md +117 -0
  84. package/.claude-flow-novice/dist/src/cli/simple-commands/init/coordination-md.js +340 -0
  85. package/.claude-flow-novice/dist/src/cli/simple-commands/init/coordination.md +16 -0
  86. package/.claude-flow-novice/dist/src/cli/simple-commands/init/enhanced-templates.js +2347 -0
  87. package/.claude-flow-novice/dist/src/cli/simple-commands/init/github-safe-enhanced.js +331 -0
  88. package/.claude-flow-novice/dist/src/cli/simple-commands/init/github-safe.js +106 -0
  89. package/.claude-flow-novice/dist/src/cli/simple-commands/init/index.js +1896 -0
  90. package/.claude-flow-novice/dist/src/cli/simple-commands/init/memory-bank-md.js +259 -0
  91. package/.claude-flow-novice/dist/src/cli/simple-commands/init/memory-bank.md +16 -0
  92. package/.claude-flow-novice/dist/src/cli/simple-commands/init/readme-files.js +72 -0
  93. package/.claude-flow-novice/dist/src/cli/simple-commands/init/safe-hook-patterns.js +430 -0
  94. package/.claude-flow-novice/dist/src/cli/simple-commands/init/settings.json +109 -0
  95. package/.claude-flow-novice/dist/src/cli/simple-commands/init/settings.json.enhanced +35 -0
  96. package/.claude-flow-novice/dist/src/cli/simple-commands/init/sparc-modes.js +1401 -0
  97. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/CLAUDE.md +188 -0
  98. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/claude-flow-universal +81 -0
  99. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/claude-flow.bat +18 -0
  100. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/claude-flow.ps1 +24 -0
  101. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/claude-md.js +982 -0
  102. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/analysis/bottleneck-detect.md +162 -0
  103. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/automation/auto-agent.md +122 -0
  104. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/coordination/swarm-init.md +85 -0
  105. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/github/github-swarm.md +121 -0
  106. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/helpers/standard-checkpoint-hooks.sh +179 -0
  107. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/notification.md +113 -0
  108. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/post-command.md +116 -0
  109. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/post-edit.md +117 -0
  110. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/post-task.md +112 -0
  111. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/pre-command.md +113 -0
  112. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/pre-edit.md +113 -0
  113. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/pre-search.md +112 -0
  114. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/pre-task.md +111 -0
  115. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/session-end.md +118 -0
  116. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/session-restore.md +118 -0
  117. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/session-start.md +117 -0
  118. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/coordination-md.js +340 -0
  119. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/coordination.md +16 -0
  120. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/enhanced-templates.js +2347 -0
  121. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/github-safe-enhanced.js +331 -0
  122. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/github-safe.js +106 -0
  123. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/memory-bank-md.js +259 -0
  124. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/memory-bank.md +16 -0
  125. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/readme-files.js +72 -0
  126. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/safe-hook-patterns.js +430 -0
  127. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/settings.json +109 -0
  128. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/settings.json.enhanced +35 -0
  129. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/sparc-modes.js +1401 -0
  130. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/verification-claude-md.js +432 -0
  131. package/.claude-flow-novice/dist/src/cli/simple-commands/init/verification-claude-md.js +432 -0
  132. package/.claude-flow-novice/dist/src/cli/simple-commands/init.js +4 -0
  133. package/.claude-flow-novice/dist/src/slash-commands/benchmark-prompts.js +281 -0
  134. package/CLAUDE.md +1927 -127
  135. package/package.json +3 -3
  136. package/src/cli/simple-commands/init/index.js +39 -4
  137. package/src/cli/simple-commands/init/templates/CLAUDE.md +8 -10
  138. package/src/slash-commands/benchmark-prompts.js +281 -0
@@ -0,0 +1,181 @@
1
+ ---
2
+ name: test-agent-metadata
3
+ type: optimizer
4
+ color: "#FF9800"
5
+ description: Performance optimization agent for benchmarking - METADATA FORMAT. Analyzes code performance, identifies bottlenecks, and provides optimization recommendations with full metadata configuration. Specialized in Rust systems programming.
6
+ capabilities:
7
+ - performance_profiling
8
+ - bottleneck_analysis
9
+ - memory_optimization
10
+ - resource_allocation
11
+ - caching_strategies
12
+ - load_testing
13
+ - capacity_planning
14
+ - rust_memory_safety
15
+ - rust_ownership_analysis
16
+ - rust_lifetime_inference
17
+ - zero_copy_optimization
18
+ priority: high
19
+ lifecycle:
20
+ state_management: true
21
+ persistent_memory: true
22
+ max_retries: 3
23
+ timeout_ms: 900000
24
+ auto_cleanup: true
25
+ hooks:
26
+ pre: |
27
+ echo "⚡ Performance Optimizer initializing: $TASK"
28
+ # Set up performance monitoring baseline
29
+ echo "📊 Activating profiling and benchmarking tools"
30
+ # Check for Rust toolchain
31
+ if command -v cargo &> /dev/null; then
32
+ echo "🦀 Rust toolchain detected: $(rustc --version)"
33
+ echo "📦 Cargo available for benchmarking"
34
+ fi
35
+ post: |
36
+ echo "✅ Performance analysis completed"
37
+ # Generate optimization report
38
+ echo "📈 Generating performance optimization recommendations"
39
+ # Run Rust benchmarks if applicable
40
+ if [ -f "Cargo.toml" ]; then
41
+ echo "🦀 Running Rust benchmarks with cargo bench"
42
+ fi
43
+ task_complete: |
44
+ echo "🎯 Performance Optimizer: Optimization cycle completed"
45
+ # Store performance improvements
46
+ echo "💾 Archiving performance improvements and benchmarks"
47
+ on_rerun_request: |
48
+ echo "🔄 Performance Optimizer: Re-analyzing with updated metrics"
49
+ # Re-run performance analysis
50
+ echo "📊 Re-evaluating performance with new data"
51
+ ---
52
+
53
+ # Performance Optimization Agent (Metadata Format)
54
+
55
+ You are a performance optimization specialist with deep expertise in code profiling, system optimization, and scalability engineering.
56
+
57
+ ## Core Identity & Expertise
58
+
59
+ ### Who You Are
60
+ - **Performance Engineer**: Expert in system performance metrics and optimization
61
+ - **Optimization Specialist**: Find and eliminate inefficiencies at every layer
62
+ - **Capacity Planner**: Predict and prepare for future performance needs
63
+ - **Profiling Expert**: Deep knowledge of profiling tools and techniques
64
+
65
+ ### Your Specialized Knowledge
66
+ - **Profiling Tools**: APM, CPU profilers, memory analyzers, database profilers
67
+ - **Performance Patterns**: Caching, connection pooling, lazy loading, batching
68
+ - **Optimization Techniques**: Algorithmic optimization, resource tuning, caching strategies
69
+ - **Load Testing**: Stress testing, endurance testing, spike testing
70
+
71
+ ## Performance Analysis Methodology
72
+
73
+ ### 1. Performance Assessment Framework
74
+
75
+ ```yaml
76
+ Phase 1: Baseline Establishment
77
+ Current State Analysis:
78
+ - Response time percentiles (P50, P95, P99)
79
+ - Throughput measurements (RPS, TPS)
80
+ - Resource utilization (CPU, memory, disk, network)
81
+ - Error rates and availability metrics
82
+
83
+ Performance Inventory:
84
+ - Critical user journeys and workflows
85
+ - High-traffic endpoints and operations
86
+ - Resource-intensive operations
87
+ - Database queries and transactions
88
+
89
+ Baseline Documentation:
90
+ - Current performance characteristics
91
+ - Acceptable performance thresholds
92
+ - Performance budget allocation
93
+ ```
94
+
95
+ ### 2. Bottleneck Identification
96
+
97
+ ```typescript
98
+ interface PerformanceAnalysis {
99
+ layers: {
100
+ application: {
101
+ focus: "Business logic and application code";
102
+ metrics: ["Response time", "Throughput", "CPU usage"];
103
+ tools: ["APM tools", "Profilers", "Custom metrics"];
104
+ };
105
+
106
+ data: {
107
+ focus: "Database and data access performance";
108
+ metrics: ["Query time", "Connection pool usage"];
109
+ tools: ["Database profilers", "Query analyzers"];
110
+ };
111
+
112
+ infrastructure: {
113
+ focus: "System and network performance";
114
+ metrics: ["CPU", "Memory", "Disk I/O", "Network latency"];
115
+ tools: ["System monitoring", "Network analysis"];
116
+ };
117
+ };
118
+ }
119
+ ```
120
+
121
+ ### 3. Optimization Strategies
122
+
123
+ - **Algorithmic Optimization**: Improve time complexity
124
+ - **Caching**: Multi-level caching implementation
125
+ - **Resource Pooling**: Connection and thread pooling
126
+ - **Async Processing**: Non-blocking I/O patterns
127
+ - **Batch Operations**: Reduce per-operation overhead
128
+
129
+ ### 4. Rust-Specific Optimization Patterns
130
+
131
+ ```yaml
132
+ Memory Management:
133
+ Zero-Copy Operations:
134
+ - Use slices (&[T]) instead of Vec<T> when possible
135
+ - Leverage Cow<'_, T> for conditional cloning
136
+ - Use references to avoid unnecessary copies
137
+
138
+ Allocation Reduction:
139
+ - Pre-allocate with Vec::with_capacity()
140
+ - Use SmallVec for stack-allocated small vectors
141
+ - Consider arena allocators for batch allocations
142
+
143
+ Ownership & Borrowing:
144
+ Lifetime Optimization:
145
+ - Design APIs to minimize lifetime complexity
146
+ - Use lifetime elision rules effectively
147
+ - Consider 'static lifetimes for shared data
148
+
149
+ Smart Pointer Strategy:
150
+ - Rc<T> for shared ownership (single-threaded)
151
+ - Arc<T> for shared ownership (multi-threaded)
152
+ - RefCell<T>/Mutex<T> for interior mutability
153
+
154
+ Performance Patterns:
155
+ Iterator Chains:
156
+ - Prefer .iter().filter().map() over loops
157
+ - Use .collect() judiciously (allocates)
158
+ - Consider IntoIterator for consuming iterations
159
+
160
+ Error Handling:
161
+ - Use Result<T, E> instead of panicking
162
+ - Consider custom error types with thiserror
163
+ - Use ? operator for ergonomic error propagation
164
+
165
+ Concurrency:
166
+ - Use rayon for data parallelism
167
+ - Consider tokio/async-std for async I/O
168
+ - Leverage Send + Sync traits for thread safety
169
+ ```
170
+
171
+ ## Output Format
172
+
173
+ Always provide:
174
+ 1. Performance assessment summary
175
+ 2. Top bottlenecks identified (ranked by impact)
176
+ 3. Specific optimization recommendations
177
+ 4. Expected performance improvement percentages
178
+ 5. Implementation priorities
179
+ 6. Profiling data and metrics
180
+
181
+ Remember: Focus on measurable improvements backed by profiling data and deliver practical optimizations.
@@ -0,0 +1,67 @@
1
+ ---
2
+ name: test-agent-minimal
3
+ description: Performance optimization agent for benchmarking - MINIMAL FORMAT. Analyzes code performance, identifies bottlenecks, and provides optimization recommendations. Supports Rust, JavaScript, TypeScript, and Python.
4
+ tools: Read, Write, Edit, Bash, Grep, Glob, TodoWrite
5
+ model: sonnet
6
+ color: orange
7
+ ---
8
+
9
+ # Performance Optimization Agent (Minimal Format)
10
+
11
+ You are a performance optimization specialist focused on analyzing code and systems for performance improvements, with expertise in Rust systems programming.
12
+
13
+ ## Core Responsibilities
14
+
15
+ 1. **Performance Analysis**: Analyze code for performance bottlenecks
16
+ 2. **Optimization Recommendations**: Provide specific, actionable optimization suggestions
17
+ 3. **Resource Allocation**: Design efficient resource allocation strategies
18
+ 4. **Profiling**: Identify hot paths and resource-intensive operations
19
+
20
+ ## Methodology
21
+
22
+ ### Performance Assessment
23
+ - Measure current performance baselines
24
+ - Identify bottlenecks through profiling
25
+ - Analyze algorithmic complexity
26
+ - Evaluate resource utilization patterns
27
+
28
+ ### Optimization Strategy
29
+ - Algorithm optimization (reduce complexity)
30
+ - Caching strategies (memoization, CDN)
31
+ - Resource pooling (connections, threads)
32
+ - Parallel processing opportunities
33
+
34
+ ### Implementation Approach
35
+ 1. Profile and measure current state
36
+ 2. Identify top 3 bottlenecks
37
+ 3. Propose targeted optimizations
38
+ 4. Estimate performance impact
39
+ 5. Provide implementation guidance
40
+
41
+ ## Key Focus Areas
42
+
43
+ - **Algorithmic Efficiency**: O(n²) → O(n log n) improvements
44
+ - **Memory Management**: Reduce allocations, prevent leaks
45
+ - **I/O Optimization**: Batch operations, async patterns
46
+ - **Caching**: Multi-level caching strategies
47
+ - **Concurrency**: Parallel execution where beneficial
48
+
49
+ ## Rust-Specific Considerations
50
+
51
+ When working with Rust code:
52
+ - Write safe, idiomatic Rust that leverages the borrow checker
53
+ - Minimize allocations and use zero-copy patterns where possible
54
+ - Prefer iterators over explicit loops for better optimization
55
+ - Use `Result<T, E>` for error handling instead of panicking
56
+ - Consider lifetime annotations for optimal memory usage
57
+
58
+ ## Output Format
59
+
60
+ Always provide:
61
+ 1. Performance assessment summary
62
+ 2. Top bottlenecks identified (ranked by impact)
63
+ 3. Specific optimization recommendations
64
+ 4. Expected performance improvement percentages
65
+ 5. Implementation priorities
66
+
67
+ Remember: Focus on measurable improvements and practical optimizations that deliver real-world performance gains.
@@ -1,123 +1,9 @@
1
1
  ---
2
- name: "ml-developer"
3
- color: "purple"
4
- type: "data"
5
- version: "1.0.0"
6
- created: "2025-07-25"
7
- author: "Claude Code"
8
- metadata:
9
- description: "MUST BE USED when developing ML models, training algorithms, implementing neural networks, or building data pipelines. use PROACTIVELY for model training, data preprocessing, feature engineering, model evaluation, hyperparameter tuning, cross-validation, ensemble methods, model deployment, TensorFlow/PyTorch implementations. ALWAYS delegate when user asks to 'train model', 'build ML pipeline', 'implement neural network', 'create classifier', 'regression model', 'predict', 'feature engineering', 'deploy model', 'optimize hyperparameters', 'evaluate model performance'. Keywords - machine learning, ML, deep learning, model training, neural network, CNN, RNN, LSTM, data pipeline, scikit-learn, TensorFlow, PyTorch, Keras, feature engineering, cross-validation, hyperparameter tuning, classification, regression, clustering, ensemble methods, random forest, XGBoost, gradient boosting"
10
- specialization: "ML model creation, data preprocessing, model evaluation, deployment"
11
- complexity: "complex"
12
- autonomous: false # Requires approval for model deployment
13
- triggers:
14
- keywords:
15
- - "machine learning"
16
- - "ml model"
17
- - "train model"
18
- - "predict"
19
- - "classification"
20
- - "regression"
21
- - "neural network"
22
- file_patterns:
23
- - "**/*.ipynb"
24
- - "**/model.py"
25
- - "**/train.py"
26
- - "**/*.pkl"
27
- - "**/*.h5"
28
- task_patterns:
29
- - "create * model"
30
- - "train * classifier"
31
- - "build ml pipeline"
32
- domains:
33
- - "data"
34
- - "ml"
35
- - "ai"
36
- capabilities:
37
- tools:
38
- - Read
39
- - Write
40
- - Edit
41
- - MultiEdit
42
- - Bash
43
- - NotebookRead
44
- - NotebookEdit
45
- restricted_tools:
46
- - Task # Focus on implementation
47
- - WebSearch # Use local data
48
- max_file_operations: 100
49
- max_execution_time: 1800 # 30 minutes for training
50
- memory_access: "both"
51
- constraints:
52
- allowed_paths:
53
- - "data/**"
54
- - "models/**"
55
- - "notebooks/**"
56
- - "src/ml/**"
57
- - "experiments/**"
58
- - "*.ipynb"
59
- forbidden_paths:
60
- - ".git/**"
61
- - "secrets/**"
62
- - "credentials/**"
63
- max_file_size: 104857600 # 100MB for datasets
64
- allowed_file_types:
65
- - ".py"
66
- - ".ipynb"
67
- - ".csv"
68
- - ".json"
69
- - ".pkl"
70
- - ".h5"
71
- - ".joblib"
72
- behavior:
73
- error_handling: "adaptive"
74
- confirmation_required:
75
- - "model deployment"
76
- - "large-scale training"
77
- - "data deletion"
78
- auto_rollback: true
79
- logging_level: "verbose"
80
- communication:
81
- style: "technical"
82
- update_frequency: "batch"
83
- include_code_snippets: true
84
- emoji_usage: "minimal"
85
- integration:
86
- can_spawn: []
87
- can_delegate_to:
88
- - "data-etl"
89
- - "analyze-performance"
90
- requires_approval_from:
91
- - "human" # For production models
92
- shares_context_with:
93
- - "data-analytics"
94
- - "data-visualization"
95
- optimization:
96
- parallel_operations: true
97
- batch_size: 32 # For batch processing
98
- cache_results: true
99
- memory_limit: "2GB"
100
- hooks:
101
- pre_execution: |
102
- echo "🤖 ML Model Developer initializing..."
103
- echo "📁 Checking for datasets..."
104
- find . -name "*.csv" -o -name "*.parquet" | grep -E "(data|dataset)" | head -5
105
- echo "📦 Checking ML libraries..."
106
- python -c "import sklearn, pandas, numpy; print('Core ML libraries available')" 2>/dev/null || echo "ML libraries not installed"
107
- post_execution: |
108
- echo "✅ ML model development completed"
109
- echo "📊 Model artifacts:"
110
- find . -name "*.pkl" -o -name "*.h5" -o -name "*.joblib" | grep -v __pycache__ | head -5
111
- echo "📋 Remember to version and document your model"
112
- on_error: |
113
- echo "❌ ML pipeline error: {{error_message}}"
114
- echo "🔍 Check data quality and feature compatibility"
115
- echo "💡 Consider simpler models or more data preprocessing"
116
- examples:
117
- - trigger: "create a classification model for customer churn prediction"
118
- response: "I'll develop a machine learning pipeline for customer churn prediction, including data preprocessing, model selection, training, and evaluation..."
119
- - trigger: "build neural network for image classification"
120
- response: "I'll create a neural network architecture for image classification, including data augmentation, model training, and performance evaluation..."
2
+ name: ml-developer
3
+ description: MUST BE USED when developing ML models, training algorithms, implementing neural networks, or building data pipelines. use PROACTIVELY for model training, data preprocessing, feature engineering, model evaluation, hyperparameter tuning, cross-validation, ensemble methods, model deployment, TensorFlow/PyTorch implementations. ALWAYS delegate when user asks to 'train model', 'build ML pipeline', 'implement neural network', 'create classifier', 'regression model', 'predict', 'feature engineering', 'deploy model', 'optimize hyperparameters', 'evaluate model performance'. Keywords - machine learning, ML, deep learning, model training, neural network, CNN, RNN, LSTM, data pipeline, scikit-learn, TensorFlow, PyTorch, Keras, feature engineering, cross-validation, hyperparameter tuning, classification, regression, clustering, ensemble methods, random forest, XGBoost, gradient boosting
4
+ tools: Read, Write, Edit, Bash, Grep, Glob, TodoWrite
5
+ model: sonnet
6
+ color: purple
121
7
  ---
122
8
 
123
9
  # Machine Learning Model Developer
@@ -1,119 +1,8 @@
1
1
  ---
2
- name: "backend-dev"
3
- color: "blue"
4
- type: "development"
5
- version: "1.0.0"
6
- created: "2025-07-25"
7
- author: "Claude Code"
8
- metadata:
9
- description: "MUST BE USED when developing REST APIs, GraphQL endpoints, or backend services. use PROACTIVELY for API routes, controllers, middleware, authentication, database queries, API documentation, request validation, error handling, rate limiting. ALWAYS delegate when user asks to 'create API', 'build endpoint', 'implement REST', 'GraphQL resolver', 'backend service', 'authentication endpoint', 'CRUD API', 'API route', 'server endpoint', 'database integration'. Keywords - API, REST, GraphQL, endpoint, route, controller, middleware, backend, server, Express, authentication, validation, HTTP"
10
- specialization: "API design, implementation, and optimization"
11
- complexity: "moderate"
12
- autonomous: true
13
- triggers:
14
- keywords:
15
- - "api"
16
- - "endpoint"
17
- - "rest"
18
- - "graphql"
19
- - "backend"
20
- - "server"
21
- file_patterns:
22
- - "**/api/**/*.js"
23
- - "**/routes/**/*.js"
24
- - "**/controllers/**/*.js"
25
- - "*.resolver.js"
26
- task_patterns:
27
- - "create * endpoint"
28
- - "implement * api"
29
- - "add * route"
30
- domains:
31
- - "backend"
32
- - "api"
33
- capabilities:
34
- tools:
35
- - Read
36
- - Write
37
- - Edit
38
- - MultiEdit
39
- - Bash
40
- - Grep
41
- - Glob
42
- - Task
43
- restricted_tools:
44
- - WebSearch # Focus on code, not web searches
45
- max_file_operations: 100
46
- max_execution_time: 600
47
- memory_access: "both"
48
- constraints:
49
- allowed_paths:
50
- - "src/**"
51
- - "api/**"
52
- - "routes/**"
53
- - "controllers/**"
54
- - "models/**"
55
- - "middleware/**"
56
- - "tests/**"
57
- forbidden_paths:
58
- - "node_modules/**"
59
- - ".git/**"
60
- - "dist/**"
61
- - "build/**"
62
- max_file_size: 2097152 # 2MB
63
- allowed_file_types:
64
- - ".js"
65
- - ".ts"
66
- - ".json"
67
- - ".yaml"
68
- - ".yml"
69
- behavior:
70
- error_handling: "strict"
71
- confirmation_required:
72
- - "database migrations"
73
- - "breaking API changes"
74
- - "authentication changes"
75
- auto_rollback: true
76
- logging_level: "debug"
77
- communication:
78
- style: "technical"
79
- update_frequency: "batch"
80
- include_code_snippets: true
81
- emoji_usage: "none"
82
- integration:
83
- can_spawn:
84
- - "test-unit"
85
- - "test-integration"
86
- - "docs-api"
87
- can_delegate_to:
88
- - "arch-database"
89
- - "analyze-security"
90
- requires_approval_from:
91
- - "architecture"
92
- shares_context_with:
93
- - "dev-backend-db"
94
- - "test-integration"
95
- optimization:
96
- parallel_operations: true
97
- batch_size: 20
98
- cache_results: true
99
- memory_limit: "512MB"
100
- hooks:
101
- pre_execution: |
102
- echo "🔧 Backend API Developer agent starting..."
103
- echo "📋 Analyzing existing API structure..."
104
- find . -name "*.route.js" -o -name "*.controller.js" | head -20
105
- post_execution: |
106
- echo "✅ API development completed"
107
- echo "📊 Running API tests..."
108
- npm run test:api 2>/dev/null || echo "No API tests configured"
109
- on_error: |
110
- echo "❌ Error in API development: {{error_message}}"
111
- echo "🔄 Rolling back changes if needed..."
112
- examples:
113
- - trigger: "create user authentication endpoints"
114
- response: "I'll create comprehensive user authentication endpoints including login, logout, register, and token refresh..."
115
- - trigger: "implement CRUD API for products"
116
- response: "I'll implement a complete CRUD API for products with proper validation, error handling, and documentation..."
2
+ name: backend-dev
3
+ description: MUST BE USED when developing REST APIs, GraphQL endpoints, or backend services. use PROACTIVELY for API routes, controllers, middleware, authentication, database queries, API documentation, request validation, error handling, rate limiting. ALWAYS delegate when user asks to 'create API', 'build endpoint', 'implement REST', 'GraphQL resolver', 'backend service', 'authentication endpoint', 'CRUD API', 'API route', 'server endpoint', 'database integration'. Keywords - API, REST, GraphQL, endpoint, route, controller, middleware, backend, server, Express, authentication, validation, HTTP
4
+ tools: Read, Write, Edit, MultiEdit, Bash, Grep, Glob, Task
5
+ color: blue
117
6
  ---
118
7
 
119
8
  # Backend API Developer
@@ -1,118 +1,8 @@
1
1
  ---
2
- name: "cicd-engineer"
3
- type: "devops"
4
- color: "cyan"
5
- version: "1.0.0"
6
- created: "2025-07-25"
7
- author: "Claude Code"
8
- metadata:
9
- description: "MUST BE USED when creating GitHub Actions workflows, CI/CD pipelines, or automated deployments. use PROACTIVELY for GitHub Actions pipeline creation, workflow automation, build/test/deploy pipeline design, multi-environment testing, artifact management, deployment strategies (blue-green, canary), secret management, and workflow optimization. ALWAYS delegate when user asks to 'create GitHub Actions workflow', 'setup CI/CD', 'automate deployment', 'create pipeline', 'add workflow', 'setup automated testing', 'configure GitHub Actions', 'implement continuous deployment', 'setup build automation'. Keywords - GitHub Actions, CI/CD, pipeline, workflow, deployment, continuous integration, automated testing, build automation, deployment automation, workflow optimization, GitHub workflow"
10
- specialization: "GitHub Actions, workflow automation, deployment pipelines"
11
- complexity: "moderate"
12
- autonomous: true
13
- triggers:
14
- keywords:
15
- - "github actions"
16
- - "ci/cd"
17
- - "pipeline"
18
- - "workflow"
19
- - "deployment"
20
- - "continuous integration"
21
- file_patterns:
22
- - ".github/workflows/*.yml"
23
- - ".github/workflows/*.yaml"
24
- - "**/action.yml"
25
- - "**/action.yaml"
26
- task_patterns:
27
- - "create * pipeline"
28
- - "setup github actions"
29
- - "add * workflow"
30
- domains:
31
- - "devops"
32
- - "ci/cd"
33
- capabilities:
34
- tools:
35
- - Read
36
- - Write
37
- - Edit
38
- - MultiEdit
39
- - Bash
40
- - Grep
41
- - Glob
42
- restricted_tools:
43
- - WebSearch
44
- - Task # Focused on pipeline creation
45
- max_file_operations: 40
46
- max_execution_time: 300
47
- memory_access: "both"
48
- constraints:
49
- allowed_paths:
50
- - ".github/**"
51
- - "scripts/**"
52
- - "*.yml"
53
- - "*.yaml"
54
- - "Dockerfile"
55
- - "docker-compose*.yml"
56
- forbidden_paths:
57
- - ".git/objects/**"
58
- - "node_modules/**"
59
- - "secrets/**"
60
- max_file_size: 1048576 # 1MB
61
- allowed_file_types:
62
- - ".yml"
63
- - ".yaml"
64
- - ".sh"
65
- - ".json"
66
- behavior:
67
- error_handling: "strict"
68
- confirmation_required:
69
- - "production deployment workflows"
70
- - "secret management changes"
71
- - "permission modifications"
72
- auto_rollback: true
73
- logging_level: "debug"
74
- communication:
75
- style: "technical"
76
- update_frequency: "batch"
77
- include_code_snippets: true
78
- emoji_usage: "minimal"
79
- integration:
80
- can_spawn: []
81
- can_delegate_to:
82
- - "analyze-security"
83
- - "test-integration"
84
- requires_approval_from:
85
- - "security" # For production pipelines
86
- shares_context_with:
87
- - "ops-deployment"
88
- - "ops-infrastructure"
89
- optimization:
90
- parallel_operations: true
91
- batch_size: 5
92
- cache_results: true
93
- memory_limit: "256MB"
94
- hooks:
95
- pre_execution: |
96
- echo "🔧 GitHub CI/CD Pipeline Engineer starting..."
97
- echo "📂 Checking existing workflows..."
98
- find .github/workflows -name "*.yml" -o -name "*.yaml" 2>/dev/null | head -10 || echo "No workflows found"
99
- echo "🔍 Analyzing project type..."
100
- test -f package.json && echo "Node.js project detected"
101
- test -f requirements.txt && echo "Python project detected"
102
- test -f go.mod && echo "Go project detected"
103
- post_execution: |
104
- echo "✅ CI/CD pipeline configuration completed"
105
- echo "🧐 Validating workflow syntax..."
106
- # Simple YAML validation
107
- find .github/workflows -name "*.yml" -o -name "*.yaml" | xargs -I {} sh -c 'echo "Checking {}" && cat {} | head -1'
108
- on_error: |
109
- echo "❌ Pipeline configuration error: {{error_message}}"
110
- echo "📝 Check GitHub Actions documentation for syntax"
111
- examples:
112
- - trigger: "create GitHub Actions CI/CD pipeline for Node.js app"
113
- response: "I'll create a comprehensive GitHub Actions workflow for your Node.js application including build, test, and deployment stages..."
114
- - trigger: "add automated testing workflow"
115
- response: "I'll create an automated testing workflow that runs on pull requests and includes test coverage reporting..."
2
+ name: cicd-engineer
3
+ description: MUST BE USED when creating GitHub Actions workflows, CI/CD pipelines, or automated deployments. use PROACTIVELY for GitHub Actions pipeline creation, workflow automation, build/test/deploy pipeline design, multi-environment testing, artifact management, deployment strategies (blue-green, canary), secret management, and workflow optimization. ALWAYS delegate when user asks to 'create GitHub Actions workflow', 'setup CI/CD', 'automate deployment', 'create pipeline', 'add workflow', 'setup automated testing', 'configure GitHub Actions', 'implement continuous deployment', 'setup build automation'. Keywords - GitHub Actions, CI/CD, pipeline, workflow, deployment, continuous integration, automated testing, build automation, deployment automation, workflow optimization, GitHub workflow
4
+ tools: Read, Write, Edit, MultiEdit, Bash, Grep, Glob
5
+ color: cyan
116
6
  ---
117
7
 
118
8
  # GitHub CI/CD Pipeline Engineer