claude-flow-novice 1.1.9 → 1.2.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.
Files changed (60) hide show
  1. package/.claude/SLASH-COMMANDS-READY.md +53 -0
  2. package/.claude/WORKING-SETUP.md +67 -0
  3. package/.claude/commands/README.md +157 -0
  4. package/.claude/commands/claude-md.js +237 -0
  5. package/.claude/commands/claude-md.md +64 -0
  6. package/.claude/commands/claude-soul.js +562 -0
  7. package/.claude/commands/claude-soul.md +22 -0
  8. package/.claude/commands/cli-integration.js +216 -0
  9. package/.claude/commands/dependency-recommendations.md +171 -0
  10. package/.claude/commands/github.js +638 -0
  11. package/.claude/commands/github.md +221 -0
  12. package/.claude/commands/hooks.js +648 -0
  13. package/.claude/commands/hooks.md +38 -0
  14. package/.claude/commands/index.js +115 -0
  15. package/.claude/commands/neural.js +572 -0
  16. package/.claude/commands/neural.md +39 -0
  17. package/.claude/commands/performance.js +582 -0
  18. package/.claude/commands/performance.md +41 -0
  19. package/.claude/commands/register-all-commands.js +314 -0
  20. package/.claude/commands/register-claude-md.js +82 -0
  21. package/.claude/commands/register-claude-soul.js +80 -0
  22. package/.claude/commands/sparc.js +110 -0
  23. package/.claude/commands/sparc.md +46 -0
  24. package/.claude/commands/suggest-improvements.md +95 -0
  25. package/.claude/commands/suggest-templates.md +147 -0
  26. package/.claude/commands/swarm.js +423 -0
  27. package/.claude/commands/swarm.md +24 -0
  28. package/.claude/commands/validate-commands.js +223 -0
  29. package/.claude/commands/workflow.js +606 -0
  30. package/.claude/commands/workflow.md +295 -0
  31. package/.claude/core/agent-manager.js +80 -0
  32. package/.claude/core/agent-manager.js.map +1 -0
  33. package/.claude/core/config.js +1221 -0
  34. package/.claude/core/config.js.map +1 -0
  35. package/.claude/core/event-bus.js +136 -0
  36. package/.claude/core/event-bus.js.map +1 -0
  37. package/.claude/core/index.js +6 -0
  38. package/.claude/core/index.js.map +1 -0
  39. package/.claude/core/json-persistence.js +112 -0
  40. package/.claude/core/json-persistence.js.map +1 -0
  41. package/.claude/core/logger.js +245 -0
  42. package/.claude/core/logger.js.map +1 -0
  43. package/.claude/core/orchestrator-fixed.js +236 -0
  44. package/.claude/core/orchestrator-fixed.js.map +1 -0
  45. package/.claude/core/orchestrator.js +1136 -0
  46. package/.claude/core/orchestrator.js.map +1 -0
  47. package/.claude/core/persistence.js +185 -0
  48. package/.claude/core/persistence.js.map +1 -0
  49. package/.claude/core/project-manager.js +80 -0
  50. package/.claude/core/project-manager.js.map +1 -0
  51. package/.claude/core/slash-command.js +24 -0
  52. package/.claude/core/version.js +35 -0
  53. package/.claude/core/version.js.map +1 -0
  54. package/.claude/slash-commands.json +92 -0
  55. package/dist/mcp/mcp-server-novice.js +14 -2
  56. package/dist/mcp/mcp-server-sdk.js +649 -0
  57. package/dist/mcp/mcp-server-with-slash-commands.js +776 -0
  58. package/dist/src/slash-commands/mcp-slash-integration.js +146 -0
  59. package/package.json +17 -5
  60. package/src/slash-commands/mcp-slash-integration.js +146 -0
@@ -0,0 +1,221 @@
1
+ ---
2
+ description: "GitHub integration for repository management, PR automation, and collaboration"
3
+ argument-hint: "<action> [repository] [options]"
4
+ allowed-tools: ["Bash", "Read", "Write", "Grep", "mcp__claude-flow__github_repo_analyze", "mcp__claude-flow__github_pr_manage", "mcp__claude-flow__github_release_coord", "mcp__claude-flow__github_issue_track", "mcp__claude-flow__github_workflow_auto", "mcp__claude-flow__github_metrics", "mcp__claude-flow__agent_spawn", "mcp__claude-flow__memory_usage"]
5
+ ---
6
+
7
+ # GitHub Integration & Automation
8
+
9
+ Comprehensive GitHub integration for repository management, automated workflows, and team collaboration.
10
+
11
+ **Action**: $ARGUMENTS
12
+
13
+ ## Available Actions
14
+
15
+ ### Repository Management
16
+ - `analyze <repo>` - Comprehensive repository analysis
17
+ - `metrics <repo>` - Repository health and activity metrics
18
+ - `security-scan <repo>` - Security vulnerability scanning
19
+ - `performance-audit <repo>` - Performance and quality assessment
20
+
21
+ ### Pull Request Management
22
+ - `pr create <title>` - Create PR with AI-generated description
23
+ - `pr review <number>` - Automated code review with suggestions
24
+ - `pr merge <number>` - Smart merge with conflict resolution
25
+ - `pr status` - Show all open PRs with analysis
26
+
27
+ ### Issue Management
28
+ - `issue create <title>` - Create issue with templates
29
+ - `issue triage` - AI-powered issue triage and labeling
30
+ - `issue assign` - Smart assignment based on expertise
31
+ - `issue close <number>` - Close issue with summary
32
+
33
+ ### Release Management
34
+ - `release create <version>` - Create release with changelog
35
+ - `release notes <version>` - Generate release notes
36
+ - `release deploy <version>` - Coordinate deployment
37
+
38
+ ### Workflow Automation
39
+ - `workflow setup` - Configure GitHub Actions workflows
40
+ - `workflow status` - Monitor workflow runs
41
+ - `workflow optimize` - Optimize CI/CD performance
42
+
43
+ ## Key Features
44
+
45
+ ### 🔍 AI-Powered Repository Analysis
46
+
47
+ #### Code Quality Assessment
48
+ - **Architecture Analysis**: Design patterns, SOLID principles compliance
49
+ - **Code Complexity**: Cyclomatic complexity, maintainability index
50
+ - **Technical Debt**: Identification and prioritization
51
+ - **Documentation Quality**: README, API docs, inline comments
52
+
53
+ #### Security Analysis
54
+ - **Vulnerability Scanning**: Dependencies, code patterns, configurations
55
+ - **Secret Detection**: API keys, passwords, certificates
56
+ - **Access Control**: Repository permissions and branch protection
57
+ - **Supply Chain**: Dependency risk assessment
58
+
59
+ #### Performance Metrics
60
+ - **Build Performance**: CI/CD execution times, bottlenecks
61
+ - **Code Performance**: Static analysis, performance patterns
62
+ - **Repository Health**: Commit frequency, contributor activity
63
+ - **Issue Resolution**: Response times, resolution rates
64
+
65
+ ### 🤖 Automated Code Review
66
+
67
+ #### Intelligent PR Analysis
68
+ - **Change Impact**: Affected components and systems
69
+ - **Risk Assessment**: Breaking changes, security implications
70
+ - **Test Coverage**: Missing tests, coverage impact
71
+ - **Documentation**: Required documentation updates
72
+
73
+ #### Review Automation
74
+ - **Style Compliance**: Code formatting, naming conventions
75
+ - **Best Practices**: Language-specific recommendations
76
+ - **Performance Impact**: Bundle size, runtime performance
77
+ - **Security Review**: Vulnerability patterns, secure coding
78
+
79
+ ### 📈 Advanced Metrics & Insights
80
+
81
+ #### Team Productivity
82
+ - **Contributor Analysis**: Activity patterns, expertise areas
83
+ - **Collaboration Metrics**: PR review patterns, response times
84
+ - **Knowledge Sharing**: Documentation contributions, mentoring
85
+ - **Burnout Detection**: Workload analysis, health indicators
86
+
87
+ #### Project Health
88
+ - **Velocity Tracking**: Feature delivery, sprint performance
89
+ - **Quality Trends**: Bug rates, test coverage over time
90
+ - **Maintenance Load**: Technical debt, refactoring needs
91
+ - **Community Growth**: Star/fork growth, issue engagement
92
+
93
+ ## Usage Examples
94
+
95
+ ### Repository Analysis
96
+ ```bash
97
+ # Comprehensive repository analysis
98
+ /github analyze myorg/myrepo
99
+
100
+ # Output includes:
101
+ # - Code quality score (1-10)
102
+ # - Security vulnerability count
103
+ # - Performance bottlenecks
104
+ # - Improvement recommendations
105
+ # - Contributor activity analysis
106
+ ```
107
+
108
+ ### PR Management
109
+ ```bash
110
+ # Create PR with AI description
111
+ /github pr create "Add user authentication"
112
+
113
+ # Automated code review
114
+ /github pr review 123
115
+
116
+ # Output:
117
+ # - Code quality assessment
118
+ # - Security review
119
+ # - Performance impact
120
+ # - Test coverage analysis
121
+ # - Suggested improvements
122
+ ```
123
+
124
+ ### Issue Triage
125
+ ```bash
126
+ # AI-powered issue triage
127
+ /github issue triage
128
+
129
+ # Automatically:
130
+ # - Labels issues by type/priority
131
+ # - Assigns to appropriate team members
132
+ # - Estimates effort/complexity
133
+ # - Suggests related issues
134
+ ```
135
+
136
+ ### Release Management
137
+ ```bash
138
+ # Create release with changelog
139
+ /github release create v2.1.0
140
+
141
+ # Automatically:
142
+ # - Generates changelog from commits
143
+ # - Identifies breaking changes
144
+ # - Creates release notes
145
+ # - Tags version and triggers deployment
146
+ ```
147
+
148
+ ## Sample Analysis Output
149
+
150
+ ```markdown
151
+ # Repository Analysis: myorg/awesome-project
152
+
153
+ ## 🏆 Overall Health Score: 8.7/10
154
+
155
+ ### 🔍 Code Quality (9.2/10)
156
+ - **Architecture**: Well-structured, follows SOLID principles
157
+ - **Complexity**: Low average complexity (2.3/10)
158
+ - **Documentation**: Comprehensive README, 85% API coverage
159
+ - **Testing**: 94% code coverage, good test quality
160
+
161
+ ### 🛡️ Security (7.8/10)
162
+ - **Vulnerabilities**: 2 medium-risk dependencies
163
+ - **Secrets**: No exposed secrets detected
164
+ - **Permissions**: Appropriate branch protection rules
165
+ - **Recommendations**: Update lodash to v4.17.21
166
+
167
+ ### 🚀 Performance (8.5/10)
168
+ - **Build Time**: 3.2 minutes (good)
169
+ - **Bundle Size**: 245KB (acceptable)
170
+ - **CI Efficiency**: 95% success rate
171
+ - **Bottlenecks**: Database tests could be optimized
172
+
173
+ ### 📈 Team Metrics
174
+ - **Active Contributors**: 12 (last 30 days)
175
+ - **PR Response Time**: 4.2 hours average
176
+ - **Issue Resolution**: 89% within SLA
177
+ - **Knowledge Distribution**: Good (no single points of failure)
178
+
179
+ ## 📝 Recommendations
180
+ 1. **Security**: Update 2 vulnerable dependencies
181
+ 2. **Performance**: Optimize database test suite
182
+ 3. **Process**: Consider automated dependency updates
183
+ 4. **Documentation**: Add contribution guidelines
184
+ ```
185
+
186
+ ## Workflow Automation
187
+
188
+ ### CI/CD Optimization
189
+ - **Pipeline Analysis**: Identify bottlenecks and optimization opportunities
190
+ - **Parallel Execution**: Suggest parallelization strategies
191
+ - **Caching**: Optimize build caches and artifact storage
192
+ - **Resource Usage**: Monitor and optimize runner usage
193
+
194
+ ### Quality Gates
195
+ - **Automated Testing**: Ensure comprehensive test coverage
196
+ - **Security Scanning**: Integrate security checks into pipelines
197
+ - **Performance Testing**: Monitor performance regressions
198
+ - **Documentation**: Ensure documentation stays up-to-date
199
+
200
+ ## Multi-Repository Management
201
+
202
+ ### Organization Overview
203
+ - **Repository Health Dashboard**: Cross-repo metrics and trends
204
+ - **Dependency Management**: Shared dependency updates
205
+ - **Security Compliance**: Organization-wide security policies
206
+ - **Knowledge Sharing**: Cross-team learning and best practices
207
+
208
+ ### Release Coordination
209
+ - **Multi-Repo Releases**: Coordinate releases across services
210
+ - **Dependency Tracking**: Monitor inter-service dependencies
211
+ - **Rollback Management**: Coordinate rollbacks across systems
212
+ - **Communication**: Automated stakeholder notifications
213
+
214
+ ## Integration with Claude Flow
215
+
216
+ - **Agent Coordination**: Deploy specialized GitHub agents
217
+ - **Memory Persistence**: Remember repository context across sessions
218
+ - **Learning**: Improve recommendations based on team patterns
219
+ - **Automation**: Custom workflows based on team preferences
220
+
221
+ Streamline your GitHub workflow with AI-powered automation and insights.