The 12-Point Code Quality Rubric Every Agency Should Demand Before Final Invoice
The 12-point code quality rubric every agency should demand from white-label developers: linting, automated tests, semantic HTML, and CI checks.
When creative and marketing agencies outsource development to white-label partners, reviewing delivered pull requests can be challenging. Without a standardized, objective rubric, agency account directors are forced to rely on visual inspection alone—leaving underlying security, performance, and accessibility defects unaddressed.
Here is the 12-point code review checklist our engineering team enforces on every agency engagement.
1. The 12-Point Agency Code Quality Rubric
┌────────────────────────────────────────────────────────────────────────┐
│ Agency Code Quality Gate (CI/CD) │
├────┬─────────────────────────────┬─────────────────────────────────────┤
│ # │ Category │ Pass Criteria │
├────┼─────────────────────────────┼─────────────────────────────────────┤
│ 1 │ Type Safety │ TypeScript compiles with 0 errors │
│ 2 │ Bundle Budget │ CSS < 25KB, JS initial < 50KB │
│ 3 │ Semantic Markup │ Valid HTML5 landmarks (<main>, <nav>)│
│ 4 │ Accessibility (a11y) │ Axe-core passes WCAG 2.2 Level AA │
│ 5 │ SEO & Meta Tags │ OpenGraph, Canonical, Title present │
│ 6 │ Structured Data │ Schema.org JSON-LD validates clean │
│ 7 │ Core Web Vitals │ Mobile INP < 200ms, LCP < 2.5s │
│ 8 │ Error Handling │ Try/catch with structured telemetry │
│ 9 │ Database Sanitation │ Zero raw SQL; prepared statements │
│ 10 │ Secrets Hygiene │ Zero API keys committed to Git │
│ 11 │ Cross-Browser QA │ Safari iOS, Chrome, Firefox verified│
│ 12 │ Documentation │ Updated README with run instructions│
└────┴─────────────────────────────┴─────────────────────────────────────┘
Scaling an agency? Offload your engineering bottlenecks.
Fonda Digital provides senior white-label full-stack development, headless migrations, and hardened WordPress builds under bilateral NDA. Predictable wholesale margins.
2. Enforcing the Rubric via GitHub Actions
Agencies should require white-label code to pass an automated pre-merge pull request workflow:
# .github/workflows/agency-pr-gate.yml
name: Agency PR Quality Gate
on: [pull_request]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: 22 }
- run: npm ci
- run: npm run lint
- run: npm run check
- run: npm test
Standardizing code quality guarantees client satisfaction and protects your agency margins.