Unleash the minions - they'll build it in parallel.
MinionHive is a Claude Code plugin that revolutionizes how you build software by providing:
- π€ Intelligent Task Analysis: AI determines optimal execution strategy
- β‘ Safe Parallel Execution: AST-based conflict detection enables concurrent work without race conditions
- π Wave-Based Coordination: Tasks execute in dependency-respecting waves
- π Contract-First Development: API contracts and zone boundaries designed before implementation
- β Comprehensive Validation: Automated testing with local and E2E validation
- π Self-Validation: AI analyzes results and auto-fixes issues when confident
- π― Full-Stack Best Practices: Frontend, Backend, Security, Performance, UX, Accessibility
The Orchestrator Agent analyzes your task and determines the best execution strategy:
- Single domain? Handle it directly
- Multi-domain? Run conflict detection for safe parallel execution
- Need coordination? Design API contracts and zone boundaries first
- Always validate? Run tests automatically after execution
The Domain Analyzer Agent and Conflict Detector Agent use AI and AST analysis to decide:
- Which domains are involved (frontend, backend, database, etc.)
- Can work be parallelized safely? (AST-level dependency analysis)
- What are the conflict zones? (circular dependencies, high coupling)
- What are the API boundaries and zone boundaries?
- What's the optimal wave-based execution plan?
The API Contract Designer creates comprehensive contracts before parallel work:
- API endpoints with full type definitions
- Shared types and interfaces
- Zone boundaries (which files each agent can/cannot modify)
- Ownership rules (who owns shared code)
- Symbol contracts (shared functions/classes)
- Validation rules and error codes
- Clear documentation of assumptions
Domain experts that work in safe parallel waves:
- Parallel Executor: Coordinates concurrent subagent execution
- Frontend Specialist: React, TypeScript, UX, Accessibility, Performance
- Backend Specialist: APIs, Databases, Security, Business Logic
Each specialist:
- Receives clear zone boundaries (files they can/cannot modify)
- Works within their assigned wave
- Follows comprehensive best practices
- Reports results for aggregation
The Validation Orchestrator ensures code quality before review:
- Local validation: Unit tests, type checking, linting
- E2E validation: Integration tests, browser tests
- Self-validation: AI analyzes results, creates fix plans
- Auto-fix: Applies fixes when confident, re-validates
- Configurable: User defines test commands and automation level
The Reviewer Agent then reviews and improves code across ALL domains:
- Frontend/UI best practices
- User Experience (UX)
- Accessibility (a11y)
- Backend architecture
- Security
- Performance
- Testing
- Code quality
- Documentation
With full autonomy - it makes improvements and reports what was done.
# Install globally
npm install -g @minionhive/core
# Install the plugin
minionhive install --global
# Restart Claude Code and you're ready!# Coming soon to Claude Code marketplace!
# One-click installation from within Claude Code# Clone and install
git clone https://github.com/GuitaristForEver/minion-hive.git
cd minion-hive
npm install
minionhive install --global# Download and copy to Claude plugins directory
cp -r /path/to/minionhive ~/.claude/plugins/minionhive# Check installation status
minionhive status
# View version
minionhive versionUse /smart-implement for intelligent, parallelized feature development:
/smart-implement Add user profile page with avatar uploadWhat happens:
- β Orchestrator receives your request
- β Domain Analyzer determines it's a full-stack feature (frontend + backend)
- β NEW: Conflict Detector runs AST analysis to identify safe parallel zones
- β API Contract Designer creates zone boundaries and API contracts
- β
NEW: Parallel Executor spawns concurrent subagents in waves:
- Wave 1: Define shared types
- Wave 2: Frontend UI + Backend API (parallel)
- β
NEW: Validation Orchestrator runs automated tests:
- Local: Unit tests, type checking, linting
- E2E: Integration tests (if configured)
- Auto-fixes issues when confident
- β Reviewer Agent reviews and improves
- β Complete implementation report with parallel execution metrics
Use /parallel-execute for explicit parallel execution with conflict detection:
/parallel-execute Build analytics dashboard with real-time chartsBenefits over /smart-implement:
- Explicit parallel execution focus
- Detailed conflict analysis report
- Wave-by-wave progress tracking
- Performance metrics (speedup vs sequential)
Use /validate-work to validate code with automated testing:
# Validate current work
/validate-work
# Validate specific execution
/validate-work exec-2025-01-10-abc123
# Options
/validate-work --local-only # Skip E2E tests
/validate-work --auto # Run everything without prompts
/validate-work --config # Configure validationWhat happens:
- Load or create validation configuration (first run)
- Run local validation (tests, type checking, linting)
- Run E2E validation (integration tests, browser tests)
- Self-validate: Analyze results, identify issues
- Auto-fix issues when confident
- Report comprehensive results
Use /analyze-conflicts to understand dependencies and plan parallel work:
# Analyze entire codebase
/analyze-conflicts
# Analyze specific files
/analyze-conflicts src/components/UserProfile.tsx src/app/api/users/route.ts
# Generate visual graph
/analyze-conflicts --graphUseful for:
- Planning refactors
- Understanding codebase architecture
- Debugging parallel execution issues
- Identifying conflict zones
Use /improve for comprehensive quality review:
# Review everything
/improve
# Review specific feature
/improve the authentication flow
# Review specific file
/improve src/components/UserProfile.tsx
# Focus on specific domain (but still checks others)
/improve for accessibilityWhat happens:
- β Reviewer Agent analyzes the code
- β Reviews across ALL domains (security, UX, a11y, performance, etc.)
- β Autonomously makes improvements (no approval needed)
- β Reports all changes made with detailed explanations
You can also invoke agents directly:
# Use the orchestrator
@orchestrator implement a dashboard with real-time analytics
# Use the reviewer
@reviewer review the changes I just made
# Use domain specialists
@frontend-specialist build a responsive navigation menu
@backend-specialist create an API for user authenticationβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β ORCHESTRATOR β
β (Main coordinator - decides execution strategy) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββ΄ββββββββ
βΌ βΌ
ββββββββββββββββββ ββββββββββββββββββββ
β DOMAIN ANALYZERβ β API CONTRACT β
β (Split analysis)β β DESIGNER β
ββββββββββββββββββ ββββββββββββββββββββ
β β
βββββββββ¬ββββββββ
βΌ
βββββββββββββββββββββββββββββββββ
β PARALLEL EXECUTION β
βββββββββββββββ¬ββββββββββββββββββ€
βΌ βΌ βΌ
ββββββββββββββββ ββββββββββββββββ βββββββββ
β FRONTEND β β BACKEND β β ... β
β SPECIALIST β β SPECIALIST β β More β
ββββββββββββββββ ββββββββββββββββ βββββββββ
β
βΌ
ββββββββββββββββ
β REVIEWER β
β (Auto-review)β
ββββββββββββββββ
Request:
/smart-implement Add a comment system to blog posts
Execution:
- Domain Analyzer: "Full-stack feature - frontend + backend"
- API Contract Designer: Creates comment types and API contracts
- Parallel execution:
- Frontend: Comment form, comment list, real-time updates
- Backend: Comment API, database schema, validation, moderation
- Reviewer: Adds rate limiting, improves accessibility, optimizes queries
- Result: Complete, production-ready comment system
Request:
/smart-implement Add dark mode toggle
Execution:
- Domain Analyzer: "Frontend-only, no backend needed"
- Skip conflict detection (not needed for single domain)
- Frontend Specialist: Implements dark mode with persistence
- Validation: All tests pass
- Reviewer: Improves color contrast, adds keyboard shortcuts
- Result: Accessible, polished dark mode feature
Request:
/improve the checkout flow
Execution:
- Reviewer analyzes checkout code
- Finds issues:
- Missing loading states β Fixed
- Poor error messages β Improved
- No keyboard navigation β Added
- Slow API calls β Optimized
- Missing ARIA labels β Added
- Reports all improvements made
- β TypeScript strict typing
- β React hooks best practices
- β Responsive, mobile-first design
- β Accessibility (WCAG AA minimum)
- β Performance optimization
- β Loading and error states
- β Input validation (never trust client)
- β SQL injection prevention
- β Authentication & authorization
- β Proper error handling
- β Database optimization
- β Security best practices
- β Clear feedback for all actions
- β User-friendly error messages
- β Loading indicators
- β Empty states with helpful messaging
- β Smooth transitions
- β Input sanitization
- β HTTPS enforcement
- β Rate limiting
- β Secret management
- β CORS configuration
- β Code splitting
- β Lazy loading
- β Database indexes
- β Caching strategies
- β Bundle optimization
- β Semantic HTML
- β ARIA labels
- β Keyboard navigation
- β Screen reader support
- β Color contrast (WCAG AA)
ai-minions/
βββ .claude-plugin/
β βββ plugin.json # Plugin metadata
βββ agents/
β βββ orchestrator.md # Main coordinator
β βββ domain-analyzer.md # Task analysis & splitting
β βββ api-contract-designer.md # Contract definition
β βββ frontend-specialist.md # Frontend expert
β βββ backend-specialist.md # Backend expert
β βββ reviewer.md # Comprehensive reviewer
βββ commands/
β βββ improve.md # /improve command
β βββ smart-implement.md # /smart-implement command
βββ hooks/
β βββ agent-complete.sh # Auto-review trigger
βββ README.md # This file
- Request Received: User types
/smart-implement [task] - Orchestrator Takes Control: Analyzes the request
- Domain Analysis: AI determines optimal execution strategy
- Contract Design (if needed): API contracts created first
- Parallel Execution: Multiple specialists work simultaneously
- Quality Review: Automatic comprehensive review
- Results Delivered: Complete implementation with improvements
No configuration needed! The plugin works out of the box with intelligent defaults.
You can modify agent behavior by editing the markdown files in agents/:
# Edit the reviewer to focus on specific domains
vim agents/reviewer.md
# Customize the orchestrator's decision-making
vim agents/orchestrator.mdTraditional development:
- β You write frontend, then backend (sequential)
- β You forget edge cases and best practices
- β Code review happens manually (if at all)
- β Quality inconsistent across the codebase
With AI Minions:
- β Frontend + Backend work in parallel (faster)
- β AI enforces best practices automatically
- β Every task gets comprehensive review
- β Consistent quality across all code
- AI-Driven Intelligence: Let AI make smart execution decisions
- Contract-First: Define interfaces before parallel work
- True Parallelism: Multiple agents working simultaneously
- Automatic Quality: Every task reviewed and improved
- Full Autonomy: Reviewer makes improvements without approval
- Comprehensive Coverage: All domains (frontend, backend, security, UX, a11y, performance)
- Hook Integration: The
agent-completehook requires Claude Code native support (currently the orchestrator handles auto-review) - Single Project: Best suited for monorepo or single-project setups
- Learning Period: First few uses help the system learn your codebase patterns
- Multi-project support
- Custom domain specialists (mobile, DevOps, ML, etc.)
- Configurable review priorities
- Integration with CI/CD pipelines
- Performance metrics tracking
- Team collaboration features
# Check plugin is installed
claude /plugin list
# Reinstall if needed
claude /plugin remove minionhive
claude /plugin add /path/to/minionhiveEdit agents/reviewer.md to adjust the autonomy level or prioritization.
The orchestrator already optimizes for speed through parallelism. If you want even faster, you can skip the review:
# Direct specialist invocation (skips review)
@frontend-specialist build a login formContributions welcome!
Repository: https://github.com/GuitaristForEver/minion-hive
To add a new specialist agent:
- Create
agents/your-specialist.md - Add to
plugin.jsonagents array - Update orchestrator to invoke your agent
- Add documentation to README
# Bump version
npm version patch # or minor, or major
# Publish to npm
npm publish --access public
# Users can then install with:
npm install -g @minionhive/coreTo submit to Claude Code marketplace:
- Ensure
.claude-plugin/plugin.jsonis configured - Package includes all required metadata
- Submit to Claude Code marketplace (details coming soon)
MIT License - feel free to use and modify!
See LICENSE for full details.
MinionHive: Where AI agents swarm together to build your software in parallel. πβ‘
