# Contributing to LocoAgent Thank you for your interest in contributing to LocoAgent! We welcome contributions that help improve the agent's capabilities, reliability, and platform coverage. --- ## How to Contribute ### 1. Setup Development Environment ```bash git clone https://github.com/LocoreMind/locoagent.git cd locoagent bun install ``` ### 2. Create a Branch ```bash git checkout -b feature/your-feature-name ``` ### 3. Make Changes - Edit code - Add/update tests - Update documentation ### 4. Run Tests ```bash # Manual testing bun start --help bun start --version # Test with a simple task bun start -p "open X.com and take a screenshot" ``` ### 5. Commit Changes ```bash git add . git commit -m "feat: description of your changes" ``` **Commit message format:** - `feat:` - New feature - `fix:` - Bug fix - `docs:` - Documentation - `test:` - Tests - `refactor:` - Code refactoring - `chore:` - Maintenance ### 6. Push and Create PR ```bash git push origin feature/your-feature-name ``` Then create a Pull Request on GitHub. --- ## Pull Request Guidelines ### PR Description Must Include 1. **What** - What does this PR do? 2. **Why** - Why is this change needed? 3. **How** - How does it work? 4. **Testing** - What tests did you run? ### Example PR Description ```markdown ## What Adds LinkedIn platform skill with 15+ operations ## Why Users requested LinkedIn support for automated engagement ## How - Created skills/linkedin/SKILL.md with operation playbooks - Added navigation, engagement, and profile operations - Tested with real LinkedIn sessions ## Testing - [x] Manual testing with interactive mode - [x] Verified all operations complete successfully - [x] Tested edge cases (private profiles, rate limits) ``` --- ## Key Contribution Areas ### New Platform Skills Add playbooks for new social media platforms: 1. Create `skills//SKILL.md` 2. Document all supported operations with step-by-step browser automation instructions 3. Include element selectors, navigation flows, and error handling 4. Test thoroughly with real browser sessions ### New Workflows Add automated pipelines: 1. Create `workflows/.json` (definition with config) 2. Create `workflows/executors/