Contributing
Guidelines for contributing to Terra.
Development Workflow
- Fork & Clone — Fork the repo and clone locally
- Branch — Create a feature branch (
feat/my-feature) - Develop — Make changes with tests
- Test — Run
pnpm testandpnpm build - PR — Open a pull request
Commit Conventions
Use conventional commits:Code Style
- TypeScript strict mode
- ESLint with recommended rules
- Prettier for formatting
Pull Request Checklist
- Tests pass (
pnpm test) - Build succeeds (
pnpm build) - Lint passes (
pnpm lint) - Documentation updated (if needed)
- Commit messages follow convention
Architecture Decisions
For significant changes, consider writing an ADR:- Create a new section in relevant doc
- Explain context, decision, and tradeoffs
- Link from related documentation
Local Development
Set up your environment