Development Conventions
Development Conventions
Section titled “Development Conventions”Conventions reduce ambiguity in legal-domain software
Section titled “Conventions reduce ambiguity in legal-domain software”Leci conventions are designed to keep legal data handling predictable while preserving contributor velocity.
Language and typing conventions
Section titled “Language and typing conventions”- TypeScript strict mode is required.
- Prefer explicit types in domain-critical code paths.
Naming conventions
Section titled “Naming conventions”- Use
kebab-casefor file names. - Use
PascalCasefor React components. - Keep database naming aligned with existing schema patterns.
Data integrity conventions
Section titled “Data integrity conventions”The legal text mutation path is constrained by invariant:
Workflow conventions
Section titled “Workflow conventions”- Branch naming:
feat/SEN-XXX-description - Commit messages should include
SEN-XXX - PR target branch:
main
Documentation conventions
Section titled “Documentation conventions”- Clearly separate implemented behavior from planned behavior.
- Mark roadmap-only scope with planned-feature callouts.
- Keep en-US and pt-BR pages in structural parity.