Skip to content

Maturity Model

Every repo should reach Level 3 before moving to the next project.

Level 1: Foundation

CheckDescription
VitePress configdocs/.vitepress/config.mts exists
Home pagedocs/index.md with project overview
Getting startedSetup instructions for new developers
Auto-deployGitHub Actions workflow deploys to Cloudflare Pages
Gitignoredocs/.vitepress/dist and cache excluded

Level 2: Structure

CheckDescription
Auto-discovered sidebarreaddirSync in config — new files appear without manual edits
SubdirectoriesDocs organized in folders (guide/, architecture/, etc.)
Local searchsearch: { provider: 'local' } in config
Last updatedlastUpdated: true — shows git commit dates

Level 3: Decisions & Diagrams

CheckDescription
ADR directorydocs/adr/ with template
At least one ADRA real decision recorded (not just the template)
Mermaid pluginvitepress-plugin-mermaid configured
At least one diagramA Mermaid diagram in any doc page
Alternatives documentedADRs include "Why rejected" for alternatives

Level 4: API & Types

CheckDescription
API referenceDocumented endpoints (manual or from OpenAPI spec)
Data modelsKey types/schemas with field descriptions
Environment variablesAll required env vars documented

Level 5: Polish

CheckDescription
Versioned docsDocs match release tags
ChangelogRelease notes page
Access controlCloudflare Zero Trust or similar