Contributing
Guide for contributing to OpenCode Manager.
Getting Started
- Fork the repository
- Clone your fork
- Set up local development (see Local Setup)
- Create a feature branch
- Make changes
- Submit a pull request
Code Style
- No comments — code should be self-documenting
- No console.log — use proper logging
- Strict TypeScript — proper typing everywhere
- Named imports — no default imports
- DRY principles — don't repeat yourself
- SOLID design — follow SOLID principles
Pull Request Process
Before Submitting
- Run linting:
pnpm lint - Run tests:
pnpm test - Check types:
pnpm typecheck - Verify your changes work manually
Commit Messages
Format: type: brief description
Types:
- feat - New feature
- fix - Bug fix
- docs - Documentation
- refactor - Code refactoring
- test - Adding tests
- chore - Maintenance
Examples: