Merge commit 'd803bfe2b1fe7f5e219e50ac20d6801a0a58ac75' as 'vendor/ruvector'
This commit is contained in:
9
vendor/ruvector/.claude/commands/workflows/README.md
vendored
Normal file
9
vendor/ruvector/.claude/commands/workflows/README.md
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# Workflows Commands
|
||||
|
||||
Commands for workflows operations in Claude Flow.
|
||||
|
||||
## Available Commands
|
||||
|
||||
- [workflow-create](./workflow-create.md)
|
||||
- [workflow-execute](./workflow-execute.md)
|
||||
- [workflow-export](./workflow-export.md)
|
||||
78
vendor/ruvector/.claude/commands/workflows/development.md
vendored
Normal file
78
vendor/ruvector/.claude/commands/workflows/development.md
vendored
Normal file
@@ -0,0 +1,78 @@
|
||||
# Development Workflow Coordination
|
||||
|
||||
## Purpose
|
||||
Structure Claude Code's approach to complex development tasks for maximum efficiency.
|
||||
|
||||
## Step-by-Step Coordination
|
||||
|
||||
### 1. Initialize Development Framework
|
||||
```
|
||||
Tool: mcp__claude-flow__swarm_init
|
||||
Parameters: {"topology": "hierarchical", "maxAgents": 8, "strategy": "specialized"}
|
||||
```
|
||||
Creates hierarchical structure for organized, top-down development.
|
||||
|
||||
### 2. Define Development Perspectives
|
||||
```
|
||||
Tool: mcp__claude-flow__agent_spawn
|
||||
Parameters: {
|
||||
"type": "architect",
|
||||
"name": "System Design",
|
||||
"capabilities": ["api-design", "database-schema"]
|
||||
}
|
||||
```
|
||||
```
|
||||
Tool: mcp__claude-flow__agent_spawn
|
||||
Parameters: {
|
||||
"type": "coder",
|
||||
"name": "Implementation Focus",
|
||||
"capabilities": ["nodejs", "typescript", "express"]
|
||||
}
|
||||
```
|
||||
```
|
||||
Tool: mcp__claude-flow__agent_spawn
|
||||
Parameters: {
|
||||
"type": "tester",
|
||||
"name": "Quality Assurance",
|
||||
"capabilities": ["unit-testing", "integration-testing"]
|
||||
}
|
||||
```
|
||||
Sets up architectural and implementation thinking patterns.
|
||||
|
||||
### 3. Coordinate Implementation
|
||||
```
|
||||
Tool: mcp__claude-flow__task_orchestrate
|
||||
Parameters: {
|
||||
"task": "Build REST API with authentication",
|
||||
"strategy": "parallel",
|
||||
"priority": "high",
|
||||
"dependencies": ["database setup", "auth system"]
|
||||
}
|
||||
```
|
||||
|
||||
### 4. Monitor Progress
|
||||
```
|
||||
Tool: mcp__claude-flow__task_status
|
||||
Parameters: {"taskId": "api-build-task-123"}
|
||||
```
|
||||
|
||||
## What Claude Code Actually Does
|
||||
1. Uses **Write** tool to create new files
|
||||
2. Uses **Edit/MultiEdit** tools for code modifications
|
||||
3. Uses **Bash** tool for testing and building
|
||||
4. Uses **TodoWrite** tool for task tracking
|
||||
5. Follows coordination patterns for systematic implementation
|
||||
|
||||
Remember: All code is written by Claude Code using its native tools!
|
||||
|
||||
## CLI Usage
|
||||
```bash
|
||||
# Start development workflow via CLI
|
||||
npx claude-flow workflow dev "REST API with auth"
|
||||
|
||||
# Create custom workflow
|
||||
npx claude-flow workflow create --name "api-dev" --steps "design,implement,test,deploy"
|
||||
|
||||
# Execute saved workflow
|
||||
npx claude-flow workflow execute api-dev
|
||||
```
|
||||
63
vendor/ruvector/.claude/commands/workflows/research.md
vendored
Normal file
63
vendor/ruvector/.claude/commands/workflows/research.md
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
# Research Workflow Coordination
|
||||
|
||||
## Purpose
|
||||
Coordinate Claude Code's research activities for comprehensive, systematic exploration.
|
||||
|
||||
## Step-by-Step Coordination
|
||||
|
||||
### 1. Initialize Research Framework
|
||||
```
|
||||
Tool: mcp__claude-flow__swarm_init
|
||||
Parameters: {"topology": "mesh", "maxAgents": 5, "strategy": "balanced"}
|
||||
```
|
||||
Creates a mesh topology for comprehensive exploration from multiple angles.
|
||||
|
||||
### 2. Define Research Perspectives
|
||||
```
|
||||
Tool: mcp__claude-flow__agent_spawn
|
||||
Parameters: {"type": "researcher", "name": "Literature Review"}
|
||||
```
|
||||
```
|
||||
Tool: mcp__claude-flow__agent_spawn
|
||||
Parameters: {"type": "analyst", "name": "Data Analysis"}
|
||||
```
|
||||
Sets up different analytical approaches for Claude Code to use.
|
||||
|
||||
### 3. Execute Coordinated Research
|
||||
```
|
||||
Tool: mcp__claude-flow__task_orchestrate
|
||||
Parameters: {
|
||||
"task": "Research modern web frameworks performance",
|
||||
"strategy": "adaptive",
|
||||
"priority": "medium"
|
||||
}
|
||||
```
|
||||
|
||||
### 4. Store Research Findings
|
||||
```
|
||||
Tool: mcp__claude-flow__memory_usage
|
||||
Parameters: {
|
||||
"action": "store",
|
||||
"key": "research_findings",
|
||||
"value": "framework performance analysis results",
|
||||
"namespace": "research"
|
||||
}
|
||||
```
|
||||
|
||||
## What Claude Code Actually Does
|
||||
1. Uses **WebSearch** tool for finding resources
|
||||
2. Uses **Read** tool for analyzing documentation
|
||||
3. Uses **Task** tool for parallel exploration
|
||||
4. Synthesizes findings using coordination patterns
|
||||
5. Stores insights in memory for future reference
|
||||
|
||||
Remember: The swarm coordinates HOW Claude Code researches, not WHAT it finds.
|
||||
|
||||
## CLI Usage
|
||||
```bash
|
||||
# Start research workflow via CLI
|
||||
npx claude-flow workflow research "modern web frameworks"
|
||||
|
||||
# Export research workflow
|
||||
npx claude-flow workflow export research --format json
|
||||
```
|
||||
25
vendor/ruvector/.claude/commands/workflows/workflow-create.md
vendored
Normal file
25
vendor/ruvector/.claude/commands/workflows/workflow-create.md
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
# workflow-create
|
||||
|
||||
Create reusable workflow templates.
|
||||
|
||||
## Usage
|
||||
```bash
|
||||
npx claude-flow workflow create [options]
|
||||
```
|
||||
|
||||
## Options
|
||||
- `--name <name>` - Workflow name
|
||||
- `--from-history` - Create from history
|
||||
- `--interactive` - Interactive creation
|
||||
|
||||
## Examples
|
||||
```bash
|
||||
# Create workflow
|
||||
npx claude-flow workflow create --name "deploy-api"
|
||||
|
||||
# From history
|
||||
npx claude-flow workflow create --name "test-suite" --from-history
|
||||
|
||||
# Interactive mode
|
||||
npx claude-flow workflow create --interactive
|
||||
```
|
||||
25
vendor/ruvector/.claude/commands/workflows/workflow-execute.md
vendored
Normal file
25
vendor/ruvector/.claude/commands/workflows/workflow-execute.md
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
# workflow-execute
|
||||
|
||||
Execute saved workflows.
|
||||
|
||||
## Usage
|
||||
```bash
|
||||
npx claude-flow workflow execute [options]
|
||||
```
|
||||
|
||||
## Options
|
||||
- `--name <name>` - Workflow name
|
||||
- `--params <json>` - Workflow parameters
|
||||
- `--dry-run` - Preview execution
|
||||
|
||||
## Examples
|
||||
```bash
|
||||
# Execute workflow
|
||||
npx claude-flow workflow execute --name "deploy-api"
|
||||
|
||||
# With parameters
|
||||
npx claude-flow workflow execute --name "test-suite" --params '{"env": "staging"}'
|
||||
|
||||
# Dry run
|
||||
npx claude-flow workflow execute --name "deploy-api" --dry-run
|
||||
```
|
||||
25
vendor/ruvector/.claude/commands/workflows/workflow-export.md
vendored
Normal file
25
vendor/ruvector/.claude/commands/workflows/workflow-export.md
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
# workflow-export
|
||||
|
||||
Export workflows for sharing.
|
||||
|
||||
## Usage
|
||||
```bash
|
||||
npx claude-flow workflow export [options]
|
||||
```
|
||||
|
||||
## Options
|
||||
- `--name <name>` - Workflow to export
|
||||
- `--format <type>` - Export format
|
||||
- `--include-history` - Include execution history
|
||||
|
||||
## Examples
|
||||
```bash
|
||||
# Export workflow
|
||||
npx claude-flow workflow export --name "deploy-api"
|
||||
|
||||
# As YAML
|
||||
npx claude-flow workflow export --name "test-suite" --format yaml
|
||||
|
||||
# With history
|
||||
npx claude-flow workflow export --name "deploy-api" --include-history
|
||||
```
|
||||
Reference in New Issue
Block a user