Contributing
How to contribute to OpenClaw Swarm
See the full CONTRIBUTING.md for detailed setup and guidelines.
Quick setup
git clone https://github.com/kddige/openclaw-swarm.git
cd openclaw-swarm
proto use && bun install
moon run swarm:devEnforced rules
ESLint catches common mistakes at lint time. Every rule has a clear error message.
| Rule | What it catches |
|---|---|
from 'zod' banned | Must use zod/v4 |
from 'clsx' banned | Must use cn() from @/lib/utils |
React.FC banned | Use plain function components |
console.* banned in electron/ | Use the Logger from electron/logger/ |
| Query hooks banned in src/hooks/ | Use useQuery directly in components |
PR process
- Branch off
main - One feature or fix per PR
- Pre-commit hook runs lint + typecheck automatically
moon cimust pass
