An automated development agent squadron powered by Claude Code Action that transforms issues into production-ready pull requests.
Machiners Platoon is a collection of 5 specialized AI bots that work together to automatically implement features, from initial issue analysis to final code review. Simply create an issue, add a label, and watch as the system enhances requirements, creates implementation plans, writes code, and prepares pull requests for review.
- π Flexible Issue Creation: Write rough ideas - AI bots will enhance and complete requirements automatically
- π€ 5 Specialized AI Bots: Product Manager, Architect, Engineer, and Review bots work together seamlessly
- β‘ Issue to PR Automation: Complete development workflow from concept to production-ready code
- π Multi-Language Support: Works in any natural language and programming language
π °οΈ Powered by Claude: Uses Claude Code Action for intelligent code generation and analysis- π° Cost Control: Built-in review cycle limits prevent runaway AI costs
Machiners Platoon is built entirely with GitHub Actions - no external infrastructure required:
- π« No servers needed - Runs entirely on GitHub's infrastructure
- π« No third-party services - No subscriptions or external dependencies
- π« No agent frameworks - Unlike Mastra or VoltAgent, no complex frameworks to learn
- β Just GitHub Actions - Simple YAML files you can customize anytime
Everything runs in your GitHub repository. Want to customize the behavior? Just edit the YAML files.
Run in your repository's root directory with Claude Code or other coding agents:
claude "https://github.com/convcha/machiners-platoon Read this GitHub repository's README and follow the Manual Installation section to install these GitHub Actions into my project. You should ultrathink!"
For busy developers (skip permission prompts - use at your own risk):
claude --dangerously-skip-permissions "https://github.com/convcha/machiners-platoon Read this GitHub repository's README and follow the Manual Installation section to install these GitHub Actions into my project. You should ultrathink!"
Note: After automated installation, you'll still need to manually configure repository settings and secrets as described in the Configuration section.
-
Run the installation script in your repository's root directory:
curl -s https://raw.githubusercontent.com/convcha/machiners-platoon/refs/heads/main/scripts/install.sh | bash
Or download and run locally:
curl -s https://raw.githubusercontent.com/convcha/machiners-platoon/refs/heads/main/scripts/install.sh -o install.sh chmod +x install.sh ./install.sh
-
Insert language-specific setup steps to
# <!-- INSERT SETUP STEPS HERE -->
in these files:.github/workflows/engineer-bot.yml
.github/workflows/engineer-fixes-bot.yml
- NEVER: Do not edit other sections
- NEVER: Do not edit other files
-
Configure GitHub repository settings:
- Enable "Allow GitHub Actions to create and approve pull requests"
- Path: Settings β Actions β General β Workflow permissions
-
Add required secrets (see Configuration for details):
ANTHROPIC_API_KEY
- Your Claude API keyGH_PERSONAL_ACCESS_TOKEN
- GitHub token with repo permissions
-
Create the trigger label:
- Go to Issues β Labels β New label
- Name:
π€ Machiners Platoon
(customizable - see Configuration)
- Create an issue (rough title and description are fine - bots will enhance them)
- Add the trigger label (default:
π€ Machiners Platoon
) to trigger automation - Watch the magic happen:
- Issue gets enhanced with detailed requirements
- Implementation plan is created (if needed)
- Code is implemented and PR is created
- Automated review and feedback cycles run
- PR is prepared for human review and merge
Enable PR creation in Settings β Actions β General:
- β Allow GitHub Actions to create and approve pull requests
Add in Settings β Secrets and variables β Actions β Secrets:
Name | Required | Description | Default Value |
---|---|---|---|
ANTHROPIC_API_KEY |
β | Claude API key for AI operations | N/A |
GH_PERSONAL_ACCESS_TOKEN |
β | GitHub personal access token with repo permissions (Actions: Write, Contents: Write, Issues: Write, Metadata: Read, Pull requests: Write) | N/A |
Add in Settings β Secrets and variables β Actions β Variables:
Name | Required | Description | Default Value |
---|---|---|---|
MACHINERS_PLATOON_LANG |
β | Target language for bot communications. Supports any natural language name (e.g., "Japanese", "ζ₯ζ¬θͺ", "Spanish", "EspaΓ±ol", "FranΓ§ais") | "English" |
MACHINERS_PLATOON_TRIGGER_LABEL |
β | Custom trigger label for activating the bot squadron. Allows using different labels for different projects or environments | "π€ Machiners Platoon" |
MACHINERS_PLATOON_BASE_BRANCH_PREFIX |
β | Enable base branch specification via issue labels. When set (e.g., base-branch: ), issues must have a label like base-branch:develop to specify which branch to use as the base |
N/A (uses default branch) |
When this repository receives updates, you can easily apply the updates to your repository using Claude Code or other coding agents:
claude "Properly compare my current GitHub Actions in .github/workflows/ and .github/actions/ with the latest version from https://github.com/convcha/machiners-platoon and update them while preserving my language-specific setup steps. You should ultrathink!"
For busy developers (skip permission prompts - use at your own risk):
claude --dangerously-skip-permissions "Properly compare my current GitHub Actions in .github/workflows/ and .github/actions/ with the latest version from https://github.com/convcha/machiners-platoon and update them while preserving my language-specific setup steps. You should ultrathink!"
Analyzes and enhances issues, provides complexity estimates, and intelligently routes to appropriate downstream bots.
Creates detailed technical implementation plans for complex features, analyzing existing codebase patterns.
Implements features according to plans, creates feature branches, runs validation, and creates pull requests.
Reviews implementations for quality, security, and architectural compliance with automatic feedback cycles.
Addresses review feedback systematically and maintains code quality throughout iterations.
graph TD
A[Create Issue] --> B[Add Trigger Label]
B --> C[Product Manager Bot Enhances]
C --> D{Complexity Analysis}
D -->|Complex| E[System Architect Bot]
D -->|Simple| F[Engineer Bot]
E --> F
F --> G[Create Pull Request]
G --> H[Architect Review Bot]
H --> I{Review Result}
I -->|Issues Found| J[Engineer Fixes Bot]
I -->|Approved| K[Ready for Human Review]
J --> H
- Cycle Limits: Maximum 3 review iterations to control costs
- Smart Routing: Intelligent decisions to avoid unnecessary operations
- Execution Tracking: Detailed cost and duration tracking displayed in issues
- Automatic Stopping: Prevents infinite loops and runaway costs
- Bots cannot approve or merge PRs - human oversight required
- Limited repository scope with specific tool allowances
- Automatic commit signing
- Secure API key storage in GitHub secrets
- Built-in cycle protection prevents abuse
- Trigger Label (default:
π€ Machiners Platoon
) - Main trigger label (never removed automatically, configurable viaMACHINERS_PLATOON_TRIGGER_LABEL
) π€ Review Cycle 1/2/3
- Tracks review iterationsπ€ Architect Approved
- PR ready for human reviewπ¨ Manual Review Required
- Human intervention neededπ€ Max Cycles Reached
- Automation stopped due to limits- Base Branch Labels (when
MACHINERS_PLATOON_BASE_BRANCH_PREFIX
is configured) - Specifies which branch to use as base (e.g.,base-branch:develop
,base-branch:release/1.0
)
For detailed information about the system architecture, bot specifications, and workflow mechanics, see:
- ARCHITECTURE.md - Detailed bot specifications, workflow diagrams, and system architecture
This project provides the foundation for automated development workflows. To contribute:
- Fork the repository
- Create your feature branch
- Test your changes with the provided workflows
- Submit a pull request
This project is open source and available under the MIT License.