| name | Beads Workflow Optimizer |
| description | Optimizes Beads workflow activation, parallel processing, and task management. Use when working with Beads issues, managing dependencies, or optimizing development workflows in projects with complex task dependencies. |
Beads Workflow Optimizer
Overview
The Beads Workflow Optimizer skill provides intelligent automation for Beads task management, including workflow activation, parallel processing optimization, and dependency resolution. This skill helps Claude identify optimal task sequences, activate workflows based on dependencies, and maximize parallel execution efficiency.
Prerequisites
- Beads workflow system initialized in the project (
bd init completed)
- Active git repository with Beads integration
- Understanding of task dependencies and blocking issues
What This Skill Does
- Workflow Activation: Automatically identify when to activate Beads workflows based on project state
- Parallel Processing: Optimize task execution for maximum parallelism while respecting dependencies
- Dependency Resolution: Analyze and resolve blocking issues efficiently
- Task Prioritization: Prioritize tasks based on dependencies and project needs
- Workflow Sync: Ensure Beads and git workflows stay synchronized
Quick Start (60 seconds)
Basic Workflow Activation
bd ready
Parallel Task Execution
bd sync --parallel
Dependency Analysis
bd blocked
Workflow Optimization
bd optimize
Expected output:
✓ Workflow analysis complete
→ 3 tasks ready for parallel execution
→ 2 blocking issues identified
→ Recommendations generated
Configuration
Basic Configuration
Beads workflow is configured through the project's .beads/ directory. No additional configuration needed.
Advanced Configuration
Edit .beads/config.json for custom workflow settings:
{
"parallel_threshold": 4,
"dependency_analysis": true,
"auto_optimize": true,
"sync_frequency": "commit"
}
Step-by-Step Guide
1. Initialize Workflow
bd init
2. Analyze Current State
bd ready
bd stats
bd blocked
3. Optimize Workflow
bd optimize
4. Execute Tasks
bd sync --parallel
5. Monitor Progress
bd status
bd sync
Advanced Features
Parallel Task Execution
bd run --parallel "task1 task2 task3"
Dependency Resolution
bd resolve --auto
Workflow Automation
bd auto --trigger="git push" --action="bd sync"
Performance Monitoring
bd monitor --duration=30m
Scripts Reference
| Script | Purpose | Usage |
|---|
scripts/analyze.py | Analyze task dependencies | python scripts/analyze.py |
scripts/optimize.py | Optimize workflow | python scripts/optimize.py |
scripts/parallel.py | Execute parallel tasks | python scripts/parallel.py |
scripts/sync.py | Sync Beads with git | python scripts/sync.py |
Resources
Templates
resources/templates/issue-template.md - Beads issue template
resources/templates/workflow-config.json - Workflow configuration template
Examples
resources/examples/basic-workflow/ - Simple workflow example
resources/examples/complex-dependencies/ - Complex dependency resolution
resources/examples/parallel-execution/ - Parallel task execution example
Schemas
resources/schemas/config.schema.json - Configuration schema validation
resources/schemas/issue.schema.json - Issue structure validation
Troubleshooting
Issue: Workflow Not Activating
Symptoms: bd ready shows no available tasks
Cause: Beads not initialized or workflow configuration issues
Solution:
bd init
bd config
bd sync
Issue: Blocking Issues Not Resolving
Symptoms: bd blocked shows persistent blocking issues
Solution:
bd analyze --deep
bd resolve --manual
bd check --circular
Issue: Parallel Execution Failing
Symptoms: Parallel tasks failing due to dependencies
Solution:
bd config set parallel_threshold 2
bd run --sequential
API Reference
Complete API documentation: API_REFERENCE.md
Related Skills
Resources
Created: 2025-12-10
Category: Development Utilities
Difficulty: Intermediate
Estimated Time: 15-30 minutes