Contributing
Contributing to Scrivr
How to open issues, propose changes, and submit pull requests.
Thank you for your interest in contributing to Scrivr! This document explains how to engage with the project, report bugs, and get your changes merged.
Before You Start
- Search existing issues and PRs before opening a new one — your problem or idea may already be tracked.
- Open a discussion (GitHub Discussions) for large features or architectural changes before writing code. This prevents wasted effort.
- Open an issue for bug reports. Include a minimal reproduction and the expected vs actual behaviour.
Branch Naming
| Type | Format | Example |
|---|---|---|
| Feature | feat/short-description | feat/image-resize-handles |
| Bug fix | fix/short-description | fix/cursor-position-after-undo |
| Documentation | docs/short-description | docs/api-reference-updates |
| Refactor | refactor/short-description | refactor/char-map-interval-tree |
Always branch from main.
Pull Request Process
- Fork the repository and create your branch (see above).
- Make your changes — follow the coding conventions.
- Run
turbo testand ensure all tests pass. - Run
pnpm lint— zero errors and zero warnings required. - Update the relevant documentation page in
apps/docs/content/docs/. - Open a Pull Request against
mainwith a clear description of what changed and why. - A maintainer will review your PR, request changes if needed, and merge when ready.
Issue Labels
| Label | Meaning |
|---|---|
bug | Confirmed bug with reproduction steps |
enhancement | New feature or improvement |
good first issue | Well-scoped, beginner-friendly |
needs-triage | Not yet reviewed by a maintainer |
help wanted | Maintainers welcome external contributions |