From 0b66bf54795293b43ecf9634f3f2ae8028690dfa Mon Sep 17 00:00:00 2001 From: Will Miao Date: Fri, 27 Mar 2026 19:26:13 +0800 Subject: [PATCH] chore: update AGENTS commit guidance --- AGENTS.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index ccb50a22..6a134461 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -138,6 +138,13 @@ npm run test:coverage # Generate coverage report - Run `python scripts/sync_translation_keys.py` after adding UI strings to `locales/en.json` - Symlinks require normalized paths +## Git / Commit Messages + +- Follow the style of recent repository commits when writing commit messages +- Prefer the repo's existing `feat(...)`, `fix(...)`, `chore:` style where applicable +- If the user has provided a GitHub issue link or issue ID for the task, mention that issue in the commit message, for example `(#871)` +- When unrelated local changes exist, stage and commit only the files relevant to the requested task + ## Frontend UI Architecture ### 1. Standalone Web UI