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 HEAD to get the current branch
  • git status (no -uall) to see what's changed
  • git diff and git diff --cached to see the actual changes
  • git log -5 --oneline to 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-fooBRO-32, BRO-105/refactorBRO-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.

2. Decide what to stage

Installs
2
First Seen
14 days ago
commit — tuesd4y/agent-skills