Development Guidelines
Standar penulisan kode, strategi Git branching, konvensi commit, dan prosedur pull request.
Status: Stablev1.0.0Source Verified: Yes
Source:
CONTRIBUTING.md, AGENTS.mdTests: tests/Development Guidelines & Standards#
Pedoman kerja kolaboratif untuk menjaga kebersihan, konsistensi, dan keandalan kode sumber OrthoBreath.
1. Strategi Git Branching#
main: Branch produksi stabil. Hanya menerima merge daridevelopsetelah lolos seluruh gate pengujian.develop: Branch integrasi fitur aktif.feature/ataufix/: Branch kerja spesifik fitur atau perbaikan bug.
2. Format Conventional Commits#
Setiap pesan commit wajib mengikuti format:
text
text
1<type>(<scope>): <short description>23[optional body]
Contoh tipe: feat, fix, docs, test, refactor, chore.
3. Pre-flight Quality Checklist#
Sebelum melakukan push ke remote repository: 1. npm run typecheck: Pastikan 0 type error. 2. npm test: Pastikan seluruh 170+ test lulus 100%. 3. node scripts/validate-docs.mjs: Pastikan integritas dokumentasi terjaga.