From 4038a5ccbee4d6010e85ea4948d496900ff40b7a Mon Sep 17 00:00:00 2001 From: colem Date: Fri, 31 Jul 2026 08:39:30 -0500 Subject: [PATCH] feat(opencode): add git-message command for conventional commit generation --- .config/opencode/commands/git-message.md | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .config/opencode/commands/git-message.md diff --git a/.config/opencode/commands/git-message.md b/.config/opencode/commands/git-message.md new file mode 100644 index 0000000..82400ca --- /dev/null +++ b/.config/opencode/commands/git-message.md @@ -0,0 +1,30 @@ +--- +description: Generate a Conventional Commit message based on staged changes +--- + +Inspect the current workspace git status and staged diff (`git diff --staged`). Generate a professional commit message for my approval. + +Strictly adhere to the following Conventional Commit specification rules: + +### Formatting Rules + +- **Format:** `(): ` followed by an optional `` and `