Files
lcbp3/.windsurf/rules/09-commit-checklist.md
T
admin c95e0f537e
CI / CD Pipeline / build (push) Successful in 4m34s
CI / CD Pipeline / deploy (push) Successful in 7m33s
690404:1139 Modify ADR
2026-04-04 11:39:56 +07:00

1001 B

trigger
trigger
always_on

Commit Checklist

Pre-Commit Verification

  • UUID pattern verified (no parseInt on UUID)
  • No any types in TypeScript
  • No console.log in committed code
  • Comments in Thai
  • Code identifiers in English
  • Schema changes via SQL directly (not migration)
  • Test coverage meets targets (Backend 70%+, Business Logic 80%+)
  • Relevant ADRs checked (ADR-009, ADR-018, ADR-019)
  • Glossary terms used correctly
  • Error handling complete (Logger + HttpException)
  • i18n keys used instead of hardcode text
  • Cache invalidation when data modified
  • Security checklist passed (OWASP Top 10)

Commit Message Format

type(scope): description

[optional body]

Types: feat, fix, docs, style, refactor, test, chore

Examples:

  • feat(correspondence): add originator organization validation
  • fix(uuid): correct parseInt usage to string comparison
  • spec(agents): bump to v1.8.5 - refactor structure