Files
opencode-manager/docs/development/contributing.md
Chris Scott be871aa5b2 Readme redesign (#146)
* Redesign README for improved GitHub rendering

* Fix release badge URL format

* Add .env setup to Quick Start and update config examples

* Add Git Commit Demo GIF

* Fix release badge to use tag endpoint

* update development docs and fix default port in env

* Enhance Docker documentation with environment variables and entrypoint behavior

* Expand Memory plugin documentation with architecture, agents, and hooks

* Add dark mode CSS and configure MkDocs for dark-only theme
2026-02-23 20:28:49 -05:00

1.1 KiB

Contributing

Guide for contributing to OpenCode Manager.

Getting Started

  1. Fork the repository
  2. Clone your fork
  3. Set up local development (see Local Setup)
  4. Create a feature branch
  5. Make changes
  6. 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

  1. Run linting: pnpm lint
  2. Run tests: pnpm test
  3. Check types: pnpm typecheck
  4. 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:

feat: add file upload progress indicator
fix: resolve session expiry on mobile
docs: update installation guide
refactor: extract git service from routes