From 484e9297b70723904f4eaffc8d017cbd7720b07d Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Fri, 22 May 2026 16:28:55 +0100 Subject: [PATCH] Update git-commit skill to instruct the LLM to skip manual run of precommit tasks --- .agents/skills/git-commit/SKILL.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.agents/skills/git-commit/SKILL.md b/.agents/skills/git-commit/SKILL.md index 1a31b542..cf0f8216 100644 --- a/.agents/skills/git-commit/SKILL.md +++ b/.agents/skills/git-commit/SKILL.md @@ -18,7 +18,8 @@ and commits that don't follow them will be rejected. 3. **Is this a single logical change?** One change per commit. If a change spans multiple tasks, split the commit. -4. **Did you run precommit checks?** `mise run dev:precommit` before committing. +4. **You do not need to run precommit checks** as `mise run dev:precommit` is + run automatically via git hooks. ## Commit Message Format @@ -110,6 +111,7 @@ git add lib/music_library/records.ex test/music_library/records_test.exs ### Commit Message Validation After writing the commit message, verify: + 1. Subject is imperative present tense 2. Subject is ≤60 characters (including task ID) 3. Task ID references the correct Backlog task