From e24491639dafab2c8fb43cc2ecfe2d832efaad7a Mon Sep 17 00:00:00 2001 From: Tommy Chow Date: Mon, 8 Jun 2026 22:01:47 -0700 Subject: [PATCH] docs: adopt conventional commit format in AGENTS.md Co-Authored-By: Claude Opus 4.8 (1M context) --- AGENTS.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 2959400d..d9145970 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -52,4 +52,6 @@ dart run build_runner build --delete-conflicting-outputs # Same, but ## Commits -Lowercase, no prefixes (e.g., `fix landscape bottom padding in chat bottom bar`). Keep commits tightly scoped. +Conventional commits: `type(scope): description` — lowercase, no trailing period, tightly scoped (e.g., `fix(chat): correct landscape bottom padding in bottom bar`). Append `!` before the `:` for breaking changes (e.g., `feat(api)!: drop legacy auth flow`). + +Common types: `feat`, `fix`, `chore`, `refactor`, `docs`, `test`, `perf`, `style`. Scope is the affected area (e.g., `chat`, `video`, `api`).