Skip to content

Pre-commit

View Markdown
  • Format, lint and type checks pass with no warnings
  • Tests pass locally; new behaviour has tests; bug fixes have a regression test
  • Build passes
  • No secrets, tokens, personal data or .env files staged
  • No stray console.log/print, commented-out code, stubs or silent TODOs
  • No new dependency without approval
  • Diff is one concern and small enough to review
  • Docs, ADRs, AGENTS.md and changelog updated if behaviour or conventions changed
  • Commit message follows Conventional Commits and says why