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 `