claude-flow-novice 2.10.9 → 2.12.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 +157 -0
- package/.claude/hooks/cfn-invoke-post-edit.sh +1 -1
- package/.claude/skills/cfn-backlog-management/SKILL.md +199 -0
- package/.claude/skills/cfn-backlog-management/add-backlog-item.sh +210 -0
- 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/agents/cfn-dev-team/architecture/base-template-generator.md +7 -21
- package/claude-assets/agents/cfn-dev-team/testing/test-validation-agent.md +312 -0
- package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +480 -115
- package/claude-assets/hooks/cfn-invoke-post-edit.sh +1 -1
- package/claude-assets/skills/cfn-backlog-management/SKILL.md +199 -0
- package/claude-assets/skills/cfn-backlog-management/add-backlog-item.sh +210 -0
- 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/dist/cli/config-manager.js.map +1 -1
- package/package.json +4 -2
- package/scripts/init-project.js +38 -3
- package/claude-assets/commands/agents/README.md +0 -10
- package/claude-assets/commands/agents/agent-capabilities.md +0 -21
- package/claude-assets/commands/agents/agent-coordination.md +0 -28
- package/claude-assets/commands/agents/agent-spawning.md +0 -28
- package/claude-assets/commands/agents/agent-types.md +0 -26
- package/claude-assets/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
- package/claude-assets/commands/analysis/README.md +0 -9
- package/claude-assets/commands/analysis/bottleneck-detect.md +0 -162
- package/claude-assets/commands/analysis/performance-bottlenecks.md +0 -59
- package/claude-assets/commands/analysis/performance-report.md +0 -25
- package/claude-assets/commands/analysis/token-efficiency.md +0 -45
- package/claude-assets/commands/analysis/token-usage.md +0 -25
- package/claude-assets/commands/automation/README.md +0 -9
- package/claude-assets/commands/automation/auto-agent.md +0 -122
- package/claude-assets/commands/automation/self-healing.md +0 -106
- package/claude-assets/commands/automation/session-memory.md +0 -90
- package/claude-assets/commands/automation/smart-agents.md +0 -73
- package/claude-assets/commands/automation/smart-spawn.md +0 -25
- package/claude-assets/commands/automation/workflow-select.md +0 -25
- package/claude-assets/commands/claude-md.js +0 -237
- package/claude-assets/commands/claude-soul.js +0 -28
- package/claude-assets/commands/cli-integration.js +0 -216
- package/claude-assets/commands/coordination/README.md +0 -9
- package/claude-assets/commands/coordination/agent-spawn.md +0 -25
- package/claude-assets/commands/coordination/coordination-system.md +0 -88
- package/claude-assets/commands/coordination/init.md +0 -44
- package/claude-assets/commands/coordination/orchestrate.md +0 -43
- package/claude-assets/commands/coordination/spawn.md +0 -45
- package/claude-assets/commands/coordination/swarm-init.md +0 -85
- package/claude-assets/commands/coordination/task-orchestrate.md +0 -25
- package/claude-assets/commands/github/README.md +0 -11
- package/claude-assets/commands/github/code-review-swarm.md +0 -514
- package/claude-assets/commands/github/code-review.md +0 -25
- package/claude-assets/commands/github/github-modes.md +0 -147
- package/claude-assets/commands/github/github-swarm.md +0 -121
- package/claude-assets/commands/github/issue-tracker.md +0 -292
- package/claude-assets/commands/github/issue-triage.md +0 -25
- package/claude-assets/commands/github/multi-repo-swarm.md +0 -519
- package/claude-assets/commands/github/pr-enhance.md +0 -26
- package/claude-assets/commands/github/pr-manager.md +0 -170
- package/claude-assets/commands/github/project-board-sync.md +0 -471
- package/claude-assets/commands/github/release-manager.md +0 -338
- package/claude-assets/commands/github/release-swarm.md +0 -544
- package/claude-assets/commands/github/repo-analyze.md +0 -25
- package/claude-assets/commands/github/repo-architect.md +0 -367
- package/claude-assets/commands/github/swarm-issue.md +0 -482
- package/claude-assets/commands/github/swarm-pr.md +0 -285
- package/claude-assets/commands/github/sync-coordinator.md +0 -301
- package/claude-assets/commands/github/workflow-automation.md +0 -442
- package/claude-assets/commands/github.js +0 -638
- package/claude-assets/commands/hive-mind/README.md +0 -17
- package/claude-assets/commands/hive-mind/hive-mind-consensus.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-init.md +0 -18
- package/claude-assets/commands/hive-mind/hive-mind-memory.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-metrics.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-resume.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-sessions.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-spawn.md +0 -21
- package/claude-assets/commands/hive-mind/hive-mind-status.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-stop.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind-wizard.md +0 -8
- package/claude-assets/commands/hive-mind/hive-mind.md +0 -27
- package/claude-assets/commands/hooks/README.md +0 -11
- package/claude-assets/commands/hooks/overview.md +0 -58
- package/claude-assets/commands/hooks/post-edit.md +0 -117
- package/claude-assets/commands/hooks/post-task.md +0 -112
- package/claude-assets/commands/hooks/pre-edit.md +0 -113
- package/claude-assets/commands/hooks/pre-task.md +0 -111
- package/claude-assets/commands/hooks/session-end.md +0 -118
- package/claude-assets/commands/hooks/session-start.md +0 -9
- package/claude-assets/commands/hooks/setup.md +0 -103
- package/claude-assets/commands/hooks.js +0 -651
- package/claude-assets/commands/index.js +0 -119
- package/claude-assets/commands/memory/README.md +0 -9
- package/claude-assets/commands/memory/memory-bank.md +0 -58
- package/claude-assets/commands/memory/memory-persist.md +0 -25
- package/claude-assets/commands/memory/memory-search.md +0 -25
- package/claude-assets/commands/memory/memory-usage.md +0 -25
- package/claude-assets/commands/memory/neural.md +0 -47
- package/claude-assets/commands/memory/usage.md +0 -46
- package/claude-assets/commands/monitoring/README.md +0 -9
- package/claude-assets/commands/monitoring/agent-metrics.md +0 -25
- package/claude-assets/commands/monitoring/agents.md +0 -44
- package/claude-assets/commands/monitoring/real-time-view.md +0 -25
- package/claude-assets/commands/monitoring/status.md +0 -46
- package/claude-assets/commands/monitoring/swarm-monitor.md +0 -25
- package/claude-assets/commands/neural.js +0 -572
- package/claude-assets/commands/optimization/README.md +0 -9
- package/claude-assets/commands/optimization/auto-topology.md +0 -62
- package/claude-assets/commands/optimization/cache-manage.md +0 -25
- package/claude-assets/commands/optimization/parallel-execute.md +0 -25
- package/claude-assets/commands/optimization/parallel-execution.md +0 -50
- package/claude-assets/commands/optimization/topology-optimize.md +0 -25
- package/claude-assets/commands/pair/README.md +0 -261
- package/claude-assets/commands/pair/commands.md +0 -546
- package/claude-assets/commands/pair/config.md +0 -510
- package/claude-assets/commands/pair/examples.md +0 -512
- package/claude-assets/commands/pair/modes.md +0 -348
- package/claude-assets/commands/pair/session.md +0 -407
- package/claude-assets/commands/pair/start.md +0 -209
- package/claude-assets/commands/parse-epic.js +0 -180
- package/claude-assets/commands/performance.js +0 -582
- package/claude-assets/commands/register-all-commands.js +0 -320
- package/claude-assets/commands/register-claude-md.js +0 -82
- package/claude-assets/commands/register-claude-soul.js +0 -80
- package/claude-assets/commands/sparc/analyzer.md +0 -52
- package/claude-assets/commands/sparc/architect.md +0 -53
- package/claude-assets/commands/sparc/batch-executor.md +0 -54
- package/claude-assets/commands/sparc/coder.md +0 -54
- package/claude-assets/commands/sparc/debugger.md +0 -54
- package/claude-assets/commands/sparc/designer.md +0 -53
- package/claude-assets/commands/sparc/documenter.md +0 -54
- package/claude-assets/commands/sparc/innovator.md +0 -54
- package/claude-assets/commands/sparc/memory-manager.md +0 -54
- package/claude-assets/commands/sparc/optimizer.md +0 -54
- package/claude-assets/commands/sparc/orchestrator.md +0 -132
- package/claude-assets/commands/sparc/researcher.md +0 -54
- package/claude-assets/commands/sparc/reviewer.md +0 -54
- package/claude-assets/commands/sparc/sparc-modes.md +0 -174
- package/claude-assets/commands/sparc/swarm-coordinator.md +0 -54
- package/claude-assets/commands/sparc/tdd.md +0 -54
- package/claude-assets/commands/sparc/tester.md +0 -54
- package/claude-assets/commands/sparc/workflow-manager.md +0 -54
- package/claude-assets/commands/sparc.js +0 -110
- package/claude-assets/commands/stream-chain/pipeline.md +0 -121
- package/claude-assets/commands/stream-chain/run.md +0 -70
- package/claude-assets/commands/swarm/README.md +0 -15
- package/claude-assets/commands/swarm/analysis.md +0 -95
- package/claude-assets/commands/swarm/development.md +0 -96
- package/claude-assets/commands/swarm/examples.md +0 -168
- package/claude-assets/commands/swarm/maintenance.md +0 -102
- package/claude-assets/commands/swarm/optimization.md +0 -117
- package/claude-assets/commands/swarm/research.md +0 -136
- package/claude-assets/commands/swarm/swarm-analysis.md +0 -8
- package/claude-assets/commands/swarm/swarm-background.md +0 -8
- package/claude-assets/commands/swarm/swarm-init.md +0 -19
- package/claude-assets/commands/swarm/swarm-modes.md +0 -8
- package/claude-assets/commands/swarm/swarm-monitor.md +0 -8
- package/claude-assets/commands/swarm/swarm-spawn.md +0 -19
- package/claude-assets/commands/swarm/swarm-status.md +0 -8
- package/claude-assets/commands/swarm/swarm-strategies.md +0 -8
- package/claude-assets/commands/swarm/swarm.md +0 -27
- package/claude-assets/commands/swarm/testing.md +0 -131
- package/claude-assets/commands/swarm.js +0 -423
- package/claude-assets/commands/testing/playwright-e2e.md +0 -288
- package/claude-assets/commands/training/README.md +0 -9
- package/claude-assets/commands/training/model-update.md +0 -25
- package/claude-assets/commands/training/neural-patterns.md +0 -74
- package/claude-assets/commands/training/neural-train.md +0 -25
- package/claude-assets/commands/training/pattern-learn.md +0 -25
- package/claude-assets/commands/training/specialization.md +0 -63
- package/claude-assets/commands/truth/start.md +0 -143
- package/claude-assets/commands/validate-commands.js +0 -223
- package/claude-assets/commands/verify/check.md +0 -50
- package/claude-assets/commands/verify/start.md +0 -128
- package/claude-assets/commands/workflow.js +0 -606
- package/claude-assets/commands/workflows/README.md +0 -9
- package/claude-assets/commands/workflows/development.md +0 -78
- package/claude-assets/commands/workflows/research.md +0 -63
- package/claude-assets/commands/workflows/workflow-create.md +0 -25
- package/claude-assets/commands/workflows/workflow-execute.md +0 -25
- package/claude-assets/commands/workflows/workflow-export.md +0 -25
- package/claude-assets/hooks/post-edit.config.json +0 -23
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
# hook session-end
|
|
2
|
-
|
|
3
|
-
Cleanup and persist session state before ending work.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npx claude-flow-novice hook session-end [options]
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Options
|
|
12
|
-
|
|
13
|
-
- `--session-id, -s <id>` - Session identifier to end
|
|
14
|
-
- `--save-state` - Save current session state (default: true)
|
|
15
|
-
- `--export-metrics` - Export session metrics
|
|
16
|
-
- `--generate-summary` - Create session summary
|
|
17
|
-
- `--cleanup-temp` - Remove temporary files
|
|
18
|
-
|
|
19
|
-
## Examples
|
|
20
|
-
|
|
21
|
-
### Basic session end
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
npx claude-flow-novice hook session-end --session-id "dev-session-2024"
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
### With full export
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
npx claude-flow-novice hook session-end -s "feature-auth" --export-metrics --generate-summary
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### Quick close
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
npx claude-flow-novice hook session-end -s "quick-fix" --save-state false --cleanup-temp
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
### Complete persistence
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
npx claude-flow-novice hook session-end -s "major-refactor" --save-state --export-metrics --generate-summary
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
## Features
|
|
46
|
-
|
|
47
|
-
### State Persistence
|
|
48
|
-
|
|
49
|
-
- Saves current context
|
|
50
|
-
- Stores open files
|
|
51
|
-
- Preserves task progress
|
|
52
|
-
- Maintains decisions
|
|
53
|
-
|
|
54
|
-
### Metric Export
|
|
55
|
-
|
|
56
|
-
- Session duration
|
|
57
|
-
- Commands executed
|
|
58
|
-
- Files modified
|
|
59
|
-
- Tokens consumed
|
|
60
|
-
- Performance data
|
|
61
|
-
|
|
62
|
-
### Summary Generation
|
|
63
|
-
|
|
64
|
-
- Work accomplished
|
|
65
|
-
- Key decisions made
|
|
66
|
-
- Problems solved
|
|
67
|
-
- Next steps identified
|
|
68
|
-
|
|
69
|
-
### Cleanup Operations
|
|
70
|
-
|
|
71
|
-
- Removes temp files
|
|
72
|
-
- Clears caches
|
|
73
|
-
- Frees resources
|
|
74
|
-
- Optimizes storage
|
|
75
|
-
|
|
76
|
-
## Integration
|
|
77
|
-
|
|
78
|
-
This hook is automatically called by Claude Code when:
|
|
79
|
-
|
|
80
|
-
- Ending a conversation
|
|
81
|
-
- Closing work session
|
|
82
|
-
- Before shutdown
|
|
83
|
-
- Switching contexts
|
|
84
|
-
|
|
85
|
-
Manual usage in agents:
|
|
86
|
-
|
|
87
|
-
```bash
|
|
88
|
-
# At session end
|
|
89
|
-
npx claude-flow-novice hook session-end --session-id "your-session" --generate-summary
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
## Output
|
|
93
|
-
|
|
94
|
-
Returns JSON with:
|
|
95
|
-
|
|
96
|
-
```json
|
|
97
|
-
{
|
|
98
|
-
"sessionId": "dev-session-2024",
|
|
99
|
-
"duration": 7200000,
|
|
100
|
-
"saved": true,
|
|
101
|
-
"metrics": {
|
|
102
|
-
"commandsRun": 145,
|
|
103
|
-
"filesModified": 23,
|
|
104
|
-
"tokensUsed": 85000,
|
|
105
|
-
"tasksCompleted": 8
|
|
106
|
-
},
|
|
107
|
-
"summaryPath": "/sessions/dev-session-2024-summary.md",
|
|
108
|
-
"cleanedUp": true,
|
|
109
|
-
"nextSession": "dev-session-2025"
|
|
110
|
-
}
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
## See Also
|
|
114
|
-
|
|
115
|
-
- `hook session-start` - Session initialization
|
|
116
|
-
- `hook session-restore` - Session restoration
|
|
117
|
-
- `performance report` - Detailed metrics
|
|
118
|
-
- `memory backup` - State backup
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
# Setting Up ruv-swarm Hooks
|
|
2
|
-
|
|
3
|
-
## Quick Start
|
|
4
|
-
|
|
5
|
-
### 1. Initialize with Hooks
|
|
6
|
-
```bash
|
|
7
|
-
npx claude-flow-novice init --hooks
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
This automatically creates:
|
|
11
|
-
- `.claude/settings.json` with hook configurations
|
|
12
|
-
- Hook command documentation
|
|
13
|
-
- Default hook handlers
|
|
14
|
-
|
|
15
|
-
### 2. Test Hook Functionality
|
|
16
|
-
```bash
|
|
17
|
-
# Test pre-edit hook
|
|
18
|
-
npx claude-flow-novice hook pre-edit --file test.js
|
|
19
|
-
|
|
20
|
-
# Test session summary
|
|
21
|
-
npx claude-flow-novice hook session-end --summary
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
### 3. Customize Hooks
|
|
25
|
-
|
|
26
|
-
Edit `.claude/settings.json` to customize:
|
|
27
|
-
|
|
28
|
-
```json
|
|
29
|
-
{
|
|
30
|
-
"hooks": {
|
|
31
|
-
"PreToolUse": [
|
|
32
|
-
{
|
|
33
|
-
"matcher": "^Write$",
|
|
34
|
-
"hooks": [{
|
|
35
|
-
"type": "command",
|
|
36
|
-
"command": "npx claude-flow-novice hook pre-write --file '${tool.params.file_path}'"
|
|
37
|
-
}]
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Hook Response Format
|
|
45
|
-
|
|
46
|
-
Hooks return JSON with:
|
|
47
|
-
- `continue`: Whether to proceed (true/false)
|
|
48
|
-
- `reason`: Explanation for decision
|
|
49
|
-
- `metadata`: Additional context
|
|
50
|
-
|
|
51
|
-
Example blocking response:
|
|
52
|
-
```json
|
|
53
|
-
{
|
|
54
|
-
"continue": false,
|
|
55
|
-
"reason": "Protected file - manual review required",
|
|
56
|
-
"metadata": {
|
|
57
|
-
"file": ".env.production",
|
|
58
|
-
"protection_level": "high"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
## Performance Tips
|
|
64
|
-
- Keep hooks lightweight (< 100ms)
|
|
65
|
-
- Use caching for repeated operations
|
|
66
|
-
- Batch related operations
|
|
67
|
-
- Run non-critical hooks asynchronously
|
|
68
|
-
|
|
69
|
-
## Debugging Hooks
|
|
70
|
-
```bash
|
|
71
|
-
# Enable debug output
|
|
72
|
-
export CLAUDE_FLOW_DEBUG=true
|
|
73
|
-
|
|
74
|
-
# Test specific hook
|
|
75
|
-
npx claude-flow-novice hook pre-edit --file app.js --debug
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
## Common Patterns
|
|
79
|
-
|
|
80
|
-
### Auto-Format on Save
|
|
81
|
-
Already configured by default for common file types.
|
|
82
|
-
|
|
83
|
-
### Protected File Detection
|
|
84
|
-
```json
|
|
85
|
-
{
|
|
86
|
-
"matcher": "^(Write|Edit)$",
|
|
87
|
-
"hooks": [{
|
|
88
|
-
"type": "command",
|
|
89
|
-
"command": "npx claude-flow-novice hook check-protected --file '${tool.params.file_path}'"
|
|
90
|
-
}]
|
|
91
|
-
}
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
### Automatic Testing
|
|
95
|
-
```json
|
|
96
|
-
{
|
|
97
|
-
"matcher": "^Write$",
|
|
98
|
-
"hooks": [{
|
|
99
|
-
"type": "command",
|
|
100
|
-
"command": "test -f '${tool.params.file_path%.js}.test.js' && npm test '${tool.params.file_path%.js}.test.js'"
|
|
101
|
-
}]
|
|
102
|
-
}
|
|
103
|
-
```
|