mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 14:16:34 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/commands/hooks/overview.md
This commit is contained in:
1 parent
11bab9717d
commit
c6613fc2f8
3 files changed
+12
-5
No files matched your search
@@ -0,0 +1 @@
|
||||
{"branch": "checkpoint/pre-edit-20250926-174448", "file": "/workspaces/claude-code-flow/.claude/commands/automation/smart-spawn.md", "timestamp": "2025-09-26T17:44:48Z", "type": "pre-edit", "original_branch": "alpha-125"}
|
||||
@@ -0,0 +1 @@
|
||||
{"tag": "checkpoint-20250926-174450", "file": "/workspaces/claude-code-flow/.claude/commands/automation/smart-spawn.md", "timestamp": "2025-09-26T17:44:50Z", "type": "post-edit", "branch": "alpha-125", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 4416 +++++++++++---------- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1758908614.json | 1 + .claude/checkpoints/1758908650.json | 1 + .claude/checkpoints/task-1758908593.json | 1 + .claude/commands/automation/smart-spawn.md | 155 +- .claude/commands/coordination/task-orchestrate.md | 136 +- .claude/commands/memory/memory-usage.md | 106 +- claude-flow-wiki | 0 10 files changed, 2648 insertions(+), 2176 deletions(-) "}
|
||||
@@ -1,26 +1,31 @@
|
||||
# Claude Code Hooks for claude-flow
|
||||
|
||||
## Purpose
|
||||
Automatically coordinate, format, and learn from Claude Code operations using hooks.
|
||||
Automatically coordinate, format, and learn from Claude Code operations using hooks with MCP tool integration.
|
||||
|
||||
## Available Hooks
|
||||
|
||||
### Pre-Operation Hooks
|
||||
- **pre-edit**: Validate and assign agents before file modifications
|
||||
- **pre-bash**: Check command safety and resource requirements
|
||||
- **pre-bash**: Check command safety and resource requirements
|
||||
- **pre-task**: Auto-spawn agents for complex tasks
|
||||
|
||||
### Post-Operation Hooks
|
||||
- **post-edit**: Auto-format code and train neural patterns
|
||||
- **post-edit**: Auto-format code, train neural patterns, update memory
|
||||
- **post-bash**: Log execution and update metrics
|
||||
- **post-search**: Cache results and improve search patterns
|
||||
|
||||
### MCP Integration Hooks
|
||||
- **mcp-initialized**: Persist swarm configuration
|
||||
- **agent-spawned**: Update agent roster
|
||||
- **task-orchestrated**: Monitor task progress
|
||||
- **agent-spawned**: Update agent roster and memory
|
||||
- **task-orchestrated**: Monitor task progress through memory
|
||||
- **neural-trained**: Save pattern improvements
|
||||
|
||||
### Memory Coordination Hooks
|
||||
- **memory-write**: Triggered when agents write to coordination memory
|
||||
- **memory-read**: Triggered when agents read from coordination memory
|
||||
- **memory-sync**: Synchronize memory across swarm agents
|
||||
|
||||
### Session Hooks
|
||||
- **notify**: Custom notifications with swarm status
|
||||
- **session-end**: Generate summary and save state
|
||||
|
||||
Reference in new issue
Block a user