|
| 1 | +# 🚀 go-broadcast Sub-Agent Team |
| 2 | + |
| 3 | +This directory contains 26 specialized sub-agents designed to manage all aspects of the go-broadcast repository lifecycle. Each agent follows the single-responsibility principle and is optimized for specific tasks within the Go ecosystem. |
| 4 | + |
| 5 | +> **📚 Complete Documentation**: For comprehensive information about all agents, collaboration patterns, usage examples, and performance metrics, see [**docs/sub-agents.md**](../../docs/sub-agents.md) |
| 6 | +
|
| 7 | +## 📋 Agent Categories |
| 8 | + |
| 9 | +### 🔧 Core go-broadcast Operations (4 agents) |
| 10 | +- **sync-orchestrator** - Manages sync operations, validates configurations, coordinates workflows |
| 11 | +- **config-validator** - Validates YAML configurations, checks repository access, validates transformations |
| 12 | +- **github-sync-api** - Optimizes GitHub API usage, manages rate limits, improves performance |
| 13 | +- **directory-sync-specialist** - Handles complex directory synchronization with performance optimization |
| 14 | + |
| 15 | +### 🧪 Testing & Quality Assurance (5 agents) |
| 16 | +- **test-commander** - Runs test suites with race detection, maintains >85% coverage |
| 17 | +- **benchmark-runner** - Executes benchmarks, tracks performance regression |
| 18 | +- **fuzz-test-guardian** - Manages fuzz testing and corpus generation |
| 19 | +- **integration-test-manager** - Handles phased integration testing |
| 20 | +- **go-quality-enforcer** - Enforces 60+ linters and Go conventions |
| 21 | + |
| 22 | +### 🔄 Dependency & Upgrade Management (3 agents) |
| 23 | +- **dependabot-coordinator** - Reviews Dependabot PRs, manages auto-merge decisions |
| 24 | +- **dependency-upgrader** - Proactively upgrades Go modules and tools |
| 25 | +- **breaking-change-detector** - Analyzes updates for breaking changes |
| 26 | + |
| 27 | +### 📊 Performance & Monitoring (3 agents) |
| 28 | +- **performance-profiler** - CPU/memory profiling and optimization |
| 29 | +- **benchmark-analyst** - Compares benchmarks, detects regressions |
| 30 | +- **coverage-maintainer** - Manages GoFortress coverage system |
| 31 | + |
| 32 | +### 🛡️ Security & Compliance (2 agents) |
| 33 | +- **security-auditor** - Runs govulncheck, nancy, gitleaks, OSSAR |
| 34 | +- **compliance-checker** - Ensures OpenSSF Scorecard compliance |
| 35 | + |
| 36 | +### 🤖 GitHub Automation (3 agents) |
| 37 | +- **workflow-optimizer** - Maintains GitHub Actions, optimizes CI |
| 38 | +- **pr-automation-manager** - Handles PR labeling, auto-merge, assignments |
| 39 | +- **issue-triage-bot** - Manages stale issues and PR cleanup |
| 40 | + |
| 41 | +### 🔍 Diagnostics & Troubleshooting (2 agents) |
| 42 | +- **diagnostic-specialist** - Analyzes failures, collects diagnostics |
| 43 | +- **debugging-expert** - Deep-dive debugging with trace analysis |
| 44 | + |
| 45 | +### 📚 Documentation & Release (3 agents) |
| 46 | +- **documentation-maintainer** - Keeps docs synchronized and accurate |
| 47 | +- **changelog-generator** - Generates changelogs from commits |
| 48 | +- **release-manager** - Coordinates releases with goreleaser |
| 49 | + |
| 50 | +### 🔨 Code Refactoring & Maintenance (3 agents) |
| 51 | +- **code-deduplicator** - Identifies and refactors duplicate code |
| 52 | +- **refactoring-specialist** - Improves code structure and patterns |
| 53 | +- **tech-debt-tracker** - Identifies and prioritizes technical debt |
| 54 | + |
| 55 | +## 🔄 Agent Collaboration Patterns |
| 56 | + |
| 57 | +### Parallel Execution Groups |
| 58 | +- **Quality Group**: test-commander + benchmark-runner + go-quality-enforcer |
| 59 | +- **Security Group**: security-auditor + compliance-checker + dependabot-coordinator |
| 60 | +- **Performance Group**: performance-profiler + benchmark-analyst + coverage-maintainer |
| 61 | + |
| 62 | +### Sequential Workflows |
| 63 | +1. **Release Flow**: changelog-generator → release-manager → documentation-maintainer |
| 64 | +2. **PR Review**: pr-automation-manager → test-commander → dependabot-coordinator |
| 65 | +3. **Debug Flow**: diagnostic-specialist → debugging-expert → refactoring-specialist |
| 66 | + |
| 67 | +### Proactive Triggers |
| 68 | +- **On code change**: test-commander, benchmark-runner, coverage-maintainer |
| 69 | +- **On PR open**: pr-automation-manager, go-quality-enforcer |
| 70 | +- **On dependency update**: dependabot-coordinator, breaking-change-detector |
| 71 | +- **Weekly**: tech-debt-tracker, security-auditor, workflow-optimizer |
| 72 | + |
| 73 | +## 🚀 Usage |
| 74 | + |
| 75 | +These agents will be automatically invoked by Claude Code based on the task at hand. You can also explicitly request a specific agent: |
| 76 | + |
| 77 | +``` |
| 78 | +"Use the test-commander agent to run all tests" |
| 79 | +"Have the security-auditor check for vulnerabilities" |
| 80 | +"Ask the release-manager to prepare version 1.2.0" |
| 81 | +``` |
| 82 | + |
| 83 | +## 📈 Performance Targets |
| 84 | + |
| 85 | +Key performance metrics monitored by agents: |
| 86 | +- **Binary detection**: 587M+ ops/sec |
| 87 | +- **Content comparison**: 239M+ ops/sec |
| 88 | +- **Directory sync**: 1000 files in ~32ms |
| 89 | +- **Cache operations**: 13.5M+ ops/sec |
| 90 | +- **Test coverage**: >85% |
| 91 | + |
| 92 | +## 🛠️ Maintenance |
| 93 | + |
| 94 | +To add or modify agents: |
| 95 | +1. Use the meta-agent: "Use the meta-agent to create a new sub-agent" |
| 96 | +2. Edit agent files directly in this directory |
| 97 | +3. Test the agent with specific tasks |
| 98 | +4. Document any inter-agent dependencies |
| 99 | + |
| 100 | +## 📝 Best Practices |
| 101 | + |
| 102 | +1. **Single Responsibility**: Each agent should focus on one area |
| 103 | +2. **Clear Triggers**: Define when agents should be proactive |
| 104 | +3. **Tool Minimization**: Only grant necessary tools |
| 105 | +4. **Collaboration**: Design agents to work together |
| 106 | +5. **Documentation**: Keep agent descriptions clear and actionable |
| 107 | + |
| 108 | +--- |
| 109 | + |
| 110 | +*Created for go-broadcast project management - optimized for Go development workflows* |
0 commit comments