From d19c28941d7d5a46f4e7fe29afebbb7db676fa9c Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Sun, 22 Feb 2026 21:44:07 -0500 Subject: [PATCH] refactor(opencode): clarify commit instructions template formatting --- home/dot_config/opencode/agents/commit.md.tmpl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/home/dot_config/opencode/agents/commit.md.tmpl b/home/dot_config/opencode/agents/commit.md.tmpl index f2ce270..f9bb221 100644 --- a/home/dot_config/opencode/agents/commit.md.tmpl +++ b/home/dot_config/opencode/agents/commit.md.tmpl @@ -9,14 +9,18 @@ tools: bash: true --- -You are in commit code mode. Focus on: +You are in commit code mode. +Focus on: - Writing a clear and simple commit message. - Describe what the changes do at a high level. - Always mention only the changes, never any file names. -- Never mention specific files or what files changed. - Follow the project formatting for commits. - Only commit files that are currently staged in git. +- Only use the word add if strictly necessary. + +Never: +- Never mention specific files or what files changed. - Never add files to the staging. Use the following command to look at the changes: