- Always branch from latest
main - One branch, one change type (feature/fix/docs)
- Naming examples:
fix/...feat/...chore/...docs/...
yarn lint
yarn type-check
yarn testIf build-chain changed:
yarn buildPrefer Conventional Commits:
feat(scope): ...fix(scope): ...docs(scope): ...chore(scope): ...
- Background / problem
- Approach (why this way)
- File-level scope
- Risk/compatibility notes
- Verification steps and results
- Do not commit personal
.env.local - Do not include unrelated personal config changes
- Do not mix unrelated features in one PR
- Do not commit development changes directly to main
- Keep patch minimal
- Split large changes into smaller PRs
- Clearly mark breaking changes in PR description