- Home
- Roadmap
- Foundation
- Code Foundations
Code Quality & Review Standards
Overview
What
Trunk-based development with protected main branches, mandatory PR reviews, code quality standards, and version control best practices.
Business Value
Prevents 95% of direct-to-main commits and catches code quality issues 3-5 days earlier through automated PR reviews and branch protection
DORA Impact
- Lead Time
- Change Failure Rate
Key Features
- Git Workflow Standard
- PR Review Checklist
- PR Review Turnaround SLA
- Conventional Commit Messages
- Pair/Mob Programming
- Code Readability Standards
Who
When
Foundation (0-90 days)
Capabilities in This Epic
Git Workflow Standard
>= 95% of code changes follow trunk-based development or GitHub flow (feature branches < 2 days old).
PR Review Checklist
>= 90% of PRs have checklist completed before merge (tests, docs, security, performance).
PR Review Turnaround SLA
>= 80% of PRs receive first review within 4 business hours.
Conventional Commit Messages
>= 85% of commits follow conventional commit format (type(scope): description).
Pair/Mob Programming
>= 40% of complex features (>= 5 story points) developed using pair or mob programming.
Code Readability Standards
>= 70% of modules have README with setup, usage, and architecture notes. Code review checks readability.
Implementation Journey
Prerequisites
Complete these before starting:
- Git repository established with protected main branch
- At least one service/application in active development
- Team has basic Git workflow knowledge
Typical Timeline
2.5 weeks
Effort Estimate
Breakdown by role:
Team Composition
Cross-functional team including: engineer, teams, platform
Applicable Environments
Success Metrics
Entry Criteria
Prerequisites to start implementing this epic:
Exit Criteria
Criteria defined at the Foundation milestone level:
DORA Metrics Impact
Resources
Implementation Kit
Step-by-step guide, templates, and tools for this epic
View Code Quality & Review Standards Implementation KitCommon Pitfalls
Mitigation: Enable "Include administrators" in branch protection. Use audit logs to track bypass events.
Mitigation: Set minimum review time (e.g., 30 min). Require specific checklist items checked. Track review quality metrics.
Mitigation: Automate with linters (ESLint, Prettier). Block PRs that fail lint checks. Update standards based on lint violations.
Next Steps
After Completing This Epic
Once you've met all exit criteria, consider these next steps:
- Review metrics to validate DORA improvements
- Document lessons learned and update team playbooks
- Share success stories with other teams
Alternative Paths
Other epics that can be tackled in parallel: