commit
Installation
SKILL.md
Commit
Create a git commit with a minimal commit message. Follow these steps in order.
1. Detect the JIRA issue key
Run these in parallel:
git rev-parse --abbrev-ref HEADto get the current branchgit status(no-uall) to see what's changedgit diffandgit diff --cachedto see the actual changesgit log -5 --onelineto match the repo's commit style
From the branch name, extract a JIRA-style key matching the pattern [A-Z]+-\d+ (case-insensitive — uppercase it). Examples: feature/bro-32-foo → BRO-32, BRO-105/refactor → BRO-105, feature/uc-1-gtfs-import → no match.
If the branch yields no key, scan the most recent ~10 user messages in this conversation for a [A-Z]+-\d+ mention and use the most recent one. If still nothing, proceed without a prefix.