First off, thanks for taking the time to contribute! This project aims to make AI-assisted development more powerful through multi-agent orchestration.
Be respectful, inclusive, and constructive. We're all here to make something cool.
Before creating bug reports, please check existing issues to avoid duplicates.
Great Bug Reports include:
- A clear, descriptive title
- Steps to reproduce the behavior
- Expected behavior vs actual behavior
- Your environment (OS, Claude Code version, shell)
- Relevant logs or screenshots
Use the bug report template when creating an issue.
We love new ideas! Enhancement suggestions are tracked as GitHub issues.
Great Enhancement Suggestions include:
- A clear, descriptive title
- Step-by-step description of the suggested enhancement
- Explanation of why this would be useful
- Examples of how it would work
- Fork the repo and create your branch from
main - Follow the existing code style - bash scripts should pass shellcheck
- Test your changes - run the test suite with
bats tests/ - Update documentation - if you change functionality, update CLAUDE.md and README.md
- Write a good commit message - follow conventional commits format
# Clone your fork
git clone https://github.com/YOUR_USERNAME/multi-agent-ralph-loop.git
cd multi-agent-ralph-loop
# Install locally for testing
./install.sh
# Run tests
bats tests/
# Check bash scripts
shellcheck scripts/ralph scripts/mmc install.sh uninstall.shmulti-agent-ralph-loop/
├── .claude/
│ ├── agents/ # Agent definitions (orchestrator, etc.)
│ ├── commands/ # Slash commands (/clarify, /gates, etc.)
│ ├── hooks/ # Git safety guard, quality gates
│ └── skills/ # Reusable skills (deep-clarification, etc.)
├── scripts/
│ ├── ralph # Main CLI tool
│ └── mmc # MiniMax wrapper
├── tests/ # Bats test files
├── install.sh # Global installer
├── uninstall.sh # Uninstaller
├── CLAUDE.md # Claude Code instructions
└── README.md # Documentation
- New Quality Gates: Add support for more languages/frameworks
- Agent Improvements: Better prompts, new specialized agents
- MCP Integrations: Connect to more tools and services
- Documentation: Examples, tutorials, use cases
- Performance: Faster execution, better parallelization
- Testing: More test coverage, edge cases
- Error Handling: Better error messages, recovery
- New Commands: What would make your workflow better?
- Integrations: What tools should Ralph work with?
- UI/UX: How can we make the CLI more intuitive?
We use Conventional Commits:
<type>(<scope>): <description>
[optional body]
[optional footer]
Types:
feat: New featurefix: Bug fixdocs: Documentation onlystyle: Formatting, no code changerefactor: Code change that neither fixes a bug nor adds a featuretest: Adding or fixing testschore: Maintenance tasks
Examples:
feat(agents): Add new database-optimizer agent
fix(gates): Handle Python virtual environments correctly
docs(readme): Add troubleshooting section
All changes should include tests where applicable:
# Run all tests
bats tests/
# Run specific test file
bats tests/test_ralph_security.bats
# Run with verbose output
bats -v tests/All PRs must pass the automated CI pipeline before merging:
| Check | Tool | Requirement |
|---|---|---|
| Python Tests | pytest | 95% coverage minimum |
| Bash Tests | bats-core | All tests must pass |
| Python Lint | ruff | No errors or warnings |
| Shell Lint | shellcheck | No errors |
| Security | CodeQL | No vulnerabilities |
# Run locally before submitting PR
./tests/run_tests.sh # All tests
ruff check .claude/hooks/*.py tests/*.py # Python lint
shellcheck scripts/ralph scripts/mmc # Shell lintThe main branch has the following protections:
- Required status checks: All CI jobs must pass
- Required reviews: At least 1 approving review
- No direct pushes: All changes must go through PRs
- Up-to-date branches: PRs must be current with main
Go to Settings > Branches > Add rule for main:
- ✅ Require a pull request before merging
- ✅ Require approvals: 1
- ✅ Require status checks to pass before merging
- ✅ Require branches to be up to date
- Add required checks:
Python Tests (95% coverage)Bash Tests (bats)Python Lint (ruff)Shell Lint (shellcheck)Security (CodeQL)CI Success
- ✅ Do not allow bypassing the above settings
- Automated checks - CI must pass (tests, lint, security)
- Code review - At least one maintainer will review your PR
- Discussion - We may ask questions or suggest changes
- Merge - Once approved and CI passes, we'll merge your contribution!
Contributors will be recognized in:
- The README.md contributors section
- Release notes for significant contributions
- Our eternal gratitude
- Open an issue with the
questionlabel - Check existing issues and discussions
By contributing, you agree that your contributions will be licensed under the BSL 1.1 license (converting to Apache 2.0 on 2030-01-01).
Thank you for helping make Multi-Agent Ralph Wiggum better!