claude-flow-novice 2.11.0 → 2.13.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/.claude/commands/README.md +177 -129
- package/.claude/skills/cfn-changelog-management/SKILL.md +349 -0
- package/.claude/skills/cfn-changelog-management/add-changelog-entry.sh +200 -0
- package/claude-assets/commands/cfn/README.md +177 -129
- package/claude-assets/commands/cfn/cfn-loop-cli.md +268 -0
- package/claude-assets/commands/cfn/cfn-loop-document.md +20 -1
- package/claude-assets/commands/cfn/cfn-loop-frontend.md +17 -2
- package/claude-assets/commands/cfn/cfn-loop-task.md +442 -0
- package/claude-assets/commands/cfn/context-curate.md +27 -38
- package/claude-assets/commands/cfn/context-inject.md +14 -25
- package/claude-assets/commands/cfn/context-query.md +40 -45
- package/claude-assets/commands/cfn/context-reflect.md +40 -38
- package/claude-assets/commands/cfn/context-stats.md +13 -38
- package/claude-assets/commands/cfn/launch-web-dashboard.md +0 -295
- package/claude-assets/commands/cfn/list-agents-rebuild.md +18 -18
- package/claude-assets/commands/cfn/write-plan.md +246 -75
- package/claude-assets/skills/cfn-changelog-management/SKILL.md +349 -0
- package/claude-assets/skills/cfn-changelog-management/add-changelog-entry.sh +200 -0
- package/package.json +2 -1
- package/claude-assets/commands/cfn/auto-compact.md +0 -80
- package/claude-assets/commands/cfn/cfn-loop-epic.md +0 -478
- package/claude-assets/commands/cfn/cfn-loop-single.md +0 -256
- package/claude-assets/commands/cfn/cfn-loop-sprints.md +0 -396
- package/claude-assets/commands/cfn/cfn-loop.md +0 -518
- package/claude-assets/commands/cfn/claude-md.md +0 -64
- package/claude-assets/commands/cfn/claude-soul.md +0 -22
- package/claude-assets/commands/cfn/cost-savings-off.md +0 -35
- package/claude-assets/commands/cfn/cost-savings-on.md +0 -35
- package/claude-assets/commands/cfn/cost-savings-status.md +0 -34
- package/claude-assets/commands/cfn/custom-routing-activate.md +0 -55
- package/claude-assets/commands/cfn/custom-routing-deactivate.md +0 -46
- package/claude-assets/commands/cfn/dependency-recommendations.md +0 -171
- package/claude-assets/commands/cfn/fullstack.md +0 -179
- package/claude-assets/commands/cfn/github.md +0 -221
- package/claude-assets/commands/cfn/hooks.md +0 -38
- package/claude-assets/commands/cfn/metrics-summary.md +0 -58
- package/claude-assets/commands/cfn/neural.md +0 -39
- package/claude-assets/commands/cfn/parse-epic.md +0 -357
- package/claude-assets/commands/cfn/performance.md +0 -41
- package/claude-assets/commands/cfn/sparc.md +0 -46
- package/claude-assets/commands/cfn/suggest-improvements.md +0 -95
- package/claude-assets/commands/cfn/suggest-templates.md +0 -147
- package/claude-assets/commands/cfn/swarm.md +0 -24
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Performance monitoring and optimization"
|
|
3
|
-
argument-hint: "<action> [component]"
|
|
4
|
-
allowed-tools: ["mcp__claude-flow-novice__performance_report", "mcp__claude-flow-novice__bottleneck_analyze", "mcp__claude-flow-novice__health_check"]
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Performance Monitoring & Optimization
|
|
8
|
-
|
|
9
|
-
Monitor system performance, identify bottlenecks, and optimize operations.
|
|
10
|
-
|
|
11
|
-
**Action**: $ARGUMENTS
|
|
12
|
-
|
|
13
|
-
**Available Performance Actions**:
|
|
14
|
-
- `report` - Generate comprehensive performance report
|
|
15
|
-
- `benchmark [type]` - Run performance benchmarks
|
|
16
|
-
- `bottleneck [component]` - Identify performance bottlenecks
|
|
17
|
-
- `tokens` - Analyze token consumption patterns
|
|
18
|
-
- `trends` - Show performance trends over time
|
|
19
|
-
- `optimize` - Auto-optimize system performance
|
|
20
|
-
|
|
21
|
-
**Performance Metrics**:
|
|
22
|
-
|
|
23
|
-
## System Performance
|
|
24
|
-
- **Memory Usage**: RAM and cache utilization
|
|
25
|
-
- **CPU Performance**: Processing efficiency
|
|
26
|
-
- **I/O Operations**: File and network operations
|
|
27
|
-
- **Agent Coordination**: Swarm performance metrics
|
|
28
|
-
|
|
29
|
-
## Optimization Areas
|
|
30
|
-
- **Token Efficiency**: Reduce token consumption
|
|
31
|
-
- **Parallel Execution**: Multi-agent coordination
|
|
32
|
-
- **Cache Management**: Memory optimization
|
|
33
|
-
- **Resource Allocation**: Dynamic scaling
|
|
34
|
-
|
|
35
|
-
## Monitoring Features
|
|
36
|
-
- **Real-time Metrics**: Live performance data
|
|
37
|
-
- **Trend Analysis**: Historical performance patterns
|
|
38
|
-
- **Bottleneck Detection**: Automated issue identification
|
|
39
|
-
- **SLA Monitoring**: Service level tracking
|
|
40
|
-
|
|
41
|
-
Execute performance analysis and provide actionable optimization recommendations.
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Execute SPARC methodology phases"
|
|
3
|
-
argument-hint: "<phase> <task description>"
|
|
4
|
-
allowed-tools: ["mcp__claude-flow-novice__task_orchestrate", "mcp__claude-flow-novice__agent_spawn"]
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# SPARC Methodology Execution
|
|
8
|
-
|
|
9
|
-
Execute systematic development phases using SPARC methodology.
|
|
10
|
-
|
|
11
|
-
**Phase**: $1
|
|
12
|
-
**Task**: $2
|
|
13
|
-
|
|
14
|
-
**SPARC Phases**:
|
|
15
|
-
|
|
16
|
-
## Specification (spec)
|
|
17
|
-
- Define clear requirements and acceptance criteria
|
|
18
|
-
- Create user stories and use cases
|
|
19
|
-
- Identify constraints and assumptions
|
|
20
|
-
- Specify input/output requirements
|
|
21
|
-
|
|
22
|
-
## Pseudocode (pseudo)
|
|
23
|
-
- Break down problem into logical steps
|
|
24
|
-
- Write high-level algorithm pseudocode
|
|
25
|
-
- Define data structures and flow
|
|
26
|
-
- Plan error handling and edge cases
|
|
27
|
-
|
|
28
|
-
## Architecture (arch)
|
|
29
|
-
- Design system architecture and components
|
|
30
|
-
- Define interfaces and APIs
|
|
31
|
-
- Choose appropriate patterns and technologies
|
|
32
|
-
- Plan data flow and storage
|
|
33
|
-
|
|
34
|
-
## Refinement (refine)
|
|
35
|
-
- Review and improve the design
|
|
36
|
-
- Optimize algorithms and data structures
|
|
37
|
-
- Add comprehensive error handling
|
|
38
|
-
- Enhance documentation
|
|
39
|
-
|
|
40
|
-
## Completion (complete)
|
|
41
|
-
- Implement the final solution
|
|
42
|
-
- Write comprehensive tests
|
|
43
|
-
- Perform integration testing
|
|
44
|
-
- Prepare for production deployment
|
|
45
|
-
|
|
46
|
-
**Execute the specified SPARC phase for the given task with detailed analysis and recommendations.**
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "AI-powered project analysis with prioritized improvement recommendations"
|
|
3
|
-
argument-hint: "[--focus=<area>|--quick|--detailed|--security]"
|
|
4
|
-
allowed-tools: ["Read", "Bash", "Glob", "Grep", "mcp__claude-flow__language_detect", "mcp__claude-flow__framework_detect", "mcp__claude-flow__dependency_analyze", "mcp__claude-flow__rust_quality_analyze", "mcp__claude-flow__typescript_validate", "mcp__claude-flow__memory_usage", "mcp__claude-flow__agent_spawn"]
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# AI Project Analysis & Improvement Suggestions
|
|
8
|
-
|
|
9
|
-
Provide intelligent, prioritized recommendations for improving your codebase based on AI analysis.
|
|
10
|
-
|
|
11
|
-
**Focus Area**: $ARGUMENTS
|
|
12
|
-
|
|
13
|
-
## Analysis Options
|
|
14
|
-
|
|
15
|
-
- `--focus=security` - Focus on security vulnerabilities and best practices
|
|
16
|
-
- `--focus=performance` - Analyze performance bottlenecks and optimizations
|
|
17
|
-
- `--focus=maintainability` - Code quality, readability, and maintainability
|
|
18
|
-
- `--focus=testing` - Test coverage, quality, and missing test scenarios
|
|
19
|
-
- `--quick` - Fast analysis with top 3-5 recommendations
|
|
20
|
-
- `--detailed` - Comprehensive analysis with implementation guides
|
|
21
|
-
- `--security` - Security-focused analysis with CVE scanning
|
|
22
|
-
|
|
23
|
-
## What This Command Does
|
|
24
|
-
|
|
25
|
-
### 🔍 Intelligent Codebase Analysis
|
|
26
|
-
- **Framework-Aware**: Leverages 98.5% accurate framework detection
|
|
27
|
-
- **Language-Specific**: Tailored recommendations for detected languages
|
|
28
|
-
- **Context-Aware**: Understands project structure and patterns
|
|
29
|
-
- **Risk Assessment**: Prioritizes improvements by impact and effort
|
|
30
|
-
|
|
31
|
-
### 🎦 Analysis Categories
|
|
32
|
-
|
|
33
|
-
#### Security Analysis
|
|
34
|
-
- Dependency vulnerability scanning
|
|
35
|
-
- Code security pattern detection
|
|
36
|
-
- Authentication/authorization review
|
|
37
|
-
- Input validation and sanitization
|
|
38
|
-
|
|
39
|
-
#### Performance Analysis
|
|
40
|
-
- Bundle size optimization opportunities
|
|
41
|
-
- Database query optimization
|
|
42
|
-
- Caching strategy improvements
|
|
43
|
-
- Resource usage patterns
|
|
44
|
-
|
|
45
|
-
#### Code Quality Analysis
|
|
46
|
-
- Design pattern recommendations
|
|
47
|
-
- Refactoring opportunities
|
|
48
|
-
- Documentation gaps
|
|
49
|
-
- Type safety improvements
|
|
50
|
-
|
|
51
|
-
#### Testing Analysis
|
|
52
|
-
- Coverage gap identification
|
|
53
|
-
- Missing test scenarios
|
|
54
|
-
- Test quality assessment
|
|
55
|
-
- E2E testing opportunities
|
|
56
|
-
|
|
57
|
-
## Sample Output
|
|
58
|
-
|
|
59
|
-
```markdown
|
|
60
|
-
## 🚨 High Priority (Security)
|
|
61
|
-
1. **Update lodash dependency** - CVE-2021-23337 (Risk: High)
|
|
62
|
-
Command: `npm update lodash@^4.17.21`
|
|
63
|
-
|
|
64
|
-
2. **Add input validation** - Missing sanitization in user routes
|
|
65
|
-
Files: `src/routes/user.js`
|
|
66
|
-
|
|
67
|
-
## 🚀 Medium Priority (Performance)
|
|
68
|
-
1. **Implement code splitting** - Bundle size: 2.3MB
|
|
69
|
-
Framework: React with dynamic imports
|
|
70
|
-
|
|
71
|
-
2. **Add Redis caching** - Database queries: 150ms avg
|
|
72
|
-
Impact: 60% performance improvement
|
|
73
|
-
|
|
74
|
-
## 🛠️ Low Priority (Maintenance)
|
|
75
|
-
1. **Add TypeScript** - 89% of codebase would benefit
|
|
76
|
-
2. **Update documentation** - API docs outdated
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
## Educational Focus
|
|
80
|
-
|
|
81
|
-
Every recommendation includes:
|
|
82
|
-
- **Why**: Explanation of the problem/opportunity
|
|
83
|
-
- **Impact**: Expected improvement metrics
|
|
84
|
-
- **How**: Specific implementation steps
|
|
85
|
-
- **Resources**: Links to best practices and tutorials
|
|
86
|
-
|
|
87
|
-
## Framework-Specific Recommendations
|
|
88
|
-
|
|
89
|
-
- **Rust**: Clippy suggestions, unsafe code review, performance optimization
|
|
90
|
-
- **JavaScript/Node.js**: NPM audit, bundle analysis, async/await patterns
|
|
91
|
-
- **TypeScript**: Type coverage, strict mode opportunities
|
|
92
|
-
- **Python**: Virtual environment setup, type hints, security scanning
|
|
93
|
-
- **React**: Component optimization, state management, accessibility
|
|
94
|
-
|
|
95
|
-
Get actionable, prioritized recommendations to improve your project's security, performance, and maintainability.
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Contextual code templates based on detected project patterns and frameworks"
|
|
3
|
-
argument-hint: "[<component-type>|--list|--search=<pattern>|--category=<type>]"
|
|
4
|
-
allowed-tools: ["Read", "Write", "Bash", "Glob", "Grep", "mcp__claude-flow__language_detect", "mcp__claude-flow__framework_detect", "mcp__claude-flow__memory_usage", "mcp__shadcn_mcp__generate_component"]
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Contextual Code Templates
|
|
8
|
-
|
|
9
|
-
Generate relevant code templates based on your project's detected frameworks, patterns, and current context.
|
|
10
|
-
|
|
11
|
-
**Template Type**: $ARGUMENTS
|
|
12
|
-
|
|
13
|
-
## Template Options
|
|
14
|
-
|
|
15
|
-
- `--list` - Show all available templates for detected framework
|
|
16
|
-
- `--search=<pattern>` - Search templates by keyword or pattern
|
|
17
|
-
- `--category=<type>` - Filter by category (component, service, test, config)
|
|
18
|
-
- `<component-type>` - Generate specific component (e.g., "api-route", "react-component")
|
|
19
|
-
|
|
20
|
-
## What This Command Does
|
|
21
|
-
|
|
22
|
-
### 🎯 Smart Template Selection
|
|
23
|
-
- **Framework Detection**: Automatically detects React, Express, FastAPI, Axum, etc.
|
|
24
|
-
- **Pattern Recognition**: Analyzes existing code patterns and conventions
|
|
25
|
-
- **Context-Aware**: Suggests templates relevant to current file/directory
|
|
26
|
-
- **Best Practices**: Templates follow industry standards and conventions
|
|
27
|
-
|
|
28
|
-
### 📋 Template Categories
|
|
29
|
-
|
|
30
|
-
#### Frontend Templates
|
|
31
|
-
- **React Components**: Functional components, hooks, context providers
|
|
32
|
-
- **Vue Components**: Composition API, reactive patterns
|
|
33
|
-
- **Angular Components**: Services, modules, guards
|
|
34
|
-
- **Styling**: CSS modules, styled-components, Tailwind patterns
|
|
35
|
-
|
|
36
|
-
#### Backend Templates
|
|
37
|
-
- **REST APIs**: Express routes, FastAPI endpoints, Axum handlers
|
|
38
|
-
- **Database**: Models, migrations, queries, repositories
|
|
39
|
-
- **Authentication**: JWT middleware, OAuth flows, session management
|
|
40
|
-
- **Testing**: Unit tests, integration tests, mocks
|
|
41
|
-
|
|
42
|
-
#### Configuration Templates
|
|
43
|
-
- **Build Tools**: Webpack, Vite, Rollup configurations
|
|
44
|
-
- **CI/CD**: GitHub Actions, Docker, deployment scripts
|
|
45
|
-
- **Environment**: .env templates, config management
|
|
46
|
-
- **Documentation**: README patterns, API docs, changelogs
|
|
47
|
-
|
|
48
|
-
## Framework-Specific Examples
|
|
49
|
-
|
|
50
|
-
### React Project Detected
|
|
51
|
-
```bash
|
|
52
|
-
# Available templates:
|
|
53
|
-
/suggest-templates --list
|
|
54
|
-
# Output: react-component, react-hook, context-provider, test-component
|
|
55
|
-
|
|
56
|
-
# Generate a React component
|
|
57
|
-
/suggest-templates react-component
|
|
58
|
-
# Creates: functional component with TypeScript, props interface, styling
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
### Express.js Project Detected
|
|
62
|
-
```bash
|
|
63
|
-
# Generate API route template
|
|
64
|
-
/suggest-templates api-route
|
|
65
|
-
# Creates: Express route with validation, error handling, documentation
|
|
66
|
-
|
|
67
|
-
# Generate middleware template
|
|
68
|
-
/suggest-templates middleware
|
|
69
|
-
# Creates: Express middleware with proper error handling and logging
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
### Rust Project Detected
|
|
73
|
-
```bash
|
|
74
|
-
# Generate Axum handler
|
|
75
|
-
/suggest-templates axum-handler
|
|
76
|
-
# Creates: Async handler with proper error handling and serialization
|
|
77
|
-
|
|
78
|
-
# Generate test module
|
|
79
|
-
/suggest-templates rust-test
|
|
80
|
-
# Creates: Test module with common test patterns and mocks
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
## Template Features
|
|
84
|
-
|
|
85
|
-
### 🛠️ Smart Generation
|
|
86
|
-
- **Project Conventions**: Follows your existing naming and structure patterns
|
|
87
|
-
- **Dependency Integration**: Uses libraries already in your project
|
|
88
|
-
- **Type Safety**: Generates TypeScript/Rust types when applicable
|
|
89
|
-
- **Error Handling**: Includes proper error handling patterns
|
|
90
|
-
|
|
91
|
-
### 📚 Educational Comments
|
|
92
|
-
- **Best Practice Explanations**: Comments explain why patterns are used
|
|
93
|
-
- **Common Pitfalls**: Warnings about potential issues
|
|
94
|
-
- **Extension Points**: Suggestions for how to extend the template
|
|
95
|
-
- **Performance Tips**: Optimization recommendations
|
|
96
|
-
|
|
97
|
-
### 🔄 Template Customization
|
|
98
|
-
- **Variable Substitution**: Replaces placeholders with project-specific values
|
|
99
|
-
- **Conditional Sections**: Includes/excludes code based on project setup
|
|
100
|
-
- **Style Matching**: Matches your existing code style (spaces/tabs, naming)
|
|
101
|
-
|
|
102
|
-
## Sample Template Output
|
|
103
|
-
|
|
104
|
-
```typescript
|
|
105
|
-
// React Functional Component Template
|
|
106
|
-
import React, { useState, useEffect } from 'react';
|
|
107
|
-
import styles from './MyComponent.module.css';
|
|
108
|
-
|
|
109
|
-
interface MyComponentProps {
|
|
110
|
-
// TODO: Define your props here
|
|
111
|
-
title?: string;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* MyComponent - Brief description
|
|
116
|
-
*
|
|
117
|
-
* Best Practices:
|
|
118
|
-
* - Use functional components with hooks
|
|
119
|
-
* - Keep components small and focused
|
|
120
|
-
* - Extract custom hooks for complex logic
|
|
121
|
-
*/
|
|
122
|
-
const MyComponent: React.FC<MyComponentProps> = ({ title = 'Default Title' }) => {
|
|
123
|
-
const [isLoading, setIsLoading] = useState(false);
|
|
124
|
-
|
|
125
|
-
useEffect(() => {
|
|
126
|
-
// TODO: Add your effect logic here
|
|
127
|
-
}, []);
|
|
128
|
-
|
|
129
|
-
return (
|
|
130
|
-
<div className={styles.container}>
|
|
131
|
-
<h2>{title}</h2>
|
|
132
|
-
{/* TODO: Add your component content */}
|
|
133
|
-
</div>
|
|
134
|
-
);
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
export default MyComponent;
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
## Integration with Tools
|
|
141
|
-
|
|
142
|
-
- **shadcn/ui Integration**: Generate beautiful UI components when shadcn is detected
|
|
143
|
-
- **Testing Framework**: Include appropriate test templates (Jest, Vitest, pytest)
|
|
144
|
-
- **Documentation**: Generate component documentation and usage examples
|
|
145
|
-
- **Storybook**: Include Storybook stories when detected
|
|
146
|
-
|
|
147
|
-
Get contextual, educational code templates that follow your project's patterns and best practices.
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "AI swarm management and coordination"
|
|
3
|
-
argument-hint: "<action> [parameters]"
|
|
4
|
-
allowed-tools: ["mcp__claude-flow-novice__swarm_init", "mcp__claude-flow-novice__agent_spawn", "mcp__claude-flow-novice__task_orchestrate"]
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# AI Swarm Management
|
|
8
|
-
|
|
9
|
-
Execute AI swarm coordination and management tasks.
|
|
10
|
-
|
|
11
|
-
**Command**: $ARGUMENTS
|
|
12
|
-
|
|
13
|
-
**Available Actions**:
|
|
14
|
-
- `init <topology> <count>` - Initialize swarm (mesh, hierarchical, ring, star)
|
|
15
|
-
- `status` - Show swarm status and health
|
|
16
|
-
- `spawn <type>` - Create specialized agent (researcher, coder, analyst, etc.)
|
|
17
|
-
- `orchestrate "<task>"` - Coordinate task across swarm
|
|
18
|
-
- `scale <count>` - Scale swarm to specified agent count
|
|
19
|
-
- `destroy` - Gracefully shutdown swarm
|
|
20
|
-
|
|
21
|
-
**Swarm Coordination**:
|
|
22
|
-
Use the claude-flow-novice MCP tools to coordinate AI agent swarms for complex task execution. The swarm system supports multiple topologies and can auto-scale based on workload.
|
|
23
|
-
|
|
24
|
-
Execute the requested swarm action and provide status updates on coordination progress.
|