mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
Remove the in-repo MkDocs site, its deploy workflow, and the tests that asserted its content. Repoint README, CONTRIBUTING, and .env.example links to opencodemanager.app/docs, and update logos, favicon, PWA icons, manifest, and image alt text to the OpenCode Manager branding.
2.7 KiB
2.7 KiB
Contributing to OpenCode Manager
Thanks for your interest in contributing! This guide covers our workflow and how to get started.
Getting Started
- Fork the repository
- Clone your fork locally
See the Development Setup Guide for detailed setup instructions.
Project Board Workflow
We use a GitHub Project board to coordinate work and avoid duplicate effort.
Claiming an Issue
- Check the project board to see what's already in progress
- Find an issue you'd like to work on from the Todo column
- Comment on the issue: "I'd like to work on this"
- A maintainer will assign you and move it to In Progress
- Fork the repo and start working
Status Columns
| Column | Meaning |
|---|---|
| Todo | Ready to be picked up |
| In Progress | Someone is actively working on it |
| In Review | PR is open and awaiting review |
| Done | Merged and complete |
Themes
Each item is tagged with a theme to help you find work in your area of interest:
| Theme | Description |
|---|---|
| UI Polish | User interface improvements |
| Auth | Authentication and security features |
| Git/VCS | Version control features |
| Agent | AI agent capabilities |
| Infrastructure | Deployment and environment setup |
| STT | Speech-to-text features |
| Cost/Analytics | Usage tracking and analytics |
Development Guidelines
Code Style
- Self-documenting code (no comments needed)
- Strict TypeScript with proper typing
- Named imports only
- DRY principles - check for existing patterns before adding new ones
- Functions should be single-responsibility and reusable
Backend (Bun + Hono)
- Hono framework with Zod validation
- Bun SQLite (bun:sqlite) for database
- Proper error handling with try/catch
- Use async/await consistently
Frontend (React + Vite)
- Use
@/alias for component imports - Radix UI + Tailwind CSS for styling
- React Query for state management
- React Hook Form + Zod for forms
Running Tests
pnpm test # Run CLI, backend, and frontend tests
cd backend && vitest <filename> # Run single test file
Linting
pnpm lint # Lint CLI, frontend, and backend
Run linting before submitting a PR.
Submitting Changes
- Create a feature branch from
main - Make your changes with clear, focused commits
- Run tests and linting
- Open a PR and link it to your issue (use "Closes #123" in the PR description)
- A maintainer will move the item to In Review
- Address review feedback
- Once merged, the item moves to Done
Questions?
Open an issue or discussion on GitHub if you have questions or ideas.