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(scope): brief description, where the scope is optional
Types:
feat- New featurefix- Bug fixdocs- Documentationrefactor- Code refactoringtest- Adding testschore- Maintenance
Examples:
feat(schedules): add workspace modes and worktree management
fix(proxy): harden remote terminal WebSocket bridging
docs: update installation guide
refactor(git): extract git service from routes