commit
SkillProductivityCreate a commit following this repo's conventional-commit format with the jira and risk trailers. Use when committing changes. Triggers on "commit", "commit this", "save changes", "ready to commit".
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the commit skill
What this skill tells your AI
The instructions your AI receives, as published by gooddata/gooddata-python-sdk in .claude/skills/commit/SKILL.md and read by ahel’s review.
Workflow
-
git diff --cached --stat. If nothing is staged, rungit statusand ask what to stage — never stage everything on the user's behalf. -
git diff --cachedto understand what actually changed. -
git log --oneline -5to match the surrounding style. -
Propose a ticket. Try the branch name first:
git branch --show-current | grep -oiE '[a-z]+-[0-9]+' | head -1 | tr '[:lower:]' '[:upper:]'No match means
jira: trivial. Show whichever you picked; do not guess a real ticket ID. -
Draft:
<type>(<scope>): <subject> <body> jira: <TICKET-ID> risk: nonprod|low|high- type —
feat,fix,chore,docs,style,refactor,perf,test,revert,ci,build - scope — optional; when present it must be one of the package names listed in
.gitlint - subject — imperative, no trailing period, whole line ≤ 70 characters
- body — why, wrapped at 72. Rationale belongs here, not in a code comment
- jira — required, lowercase;
jira: trivialwhen no ticket applies - risk — lowercase; ask if unsure.
nonprod= tests/docs/CI only,low= routine change to shipped code,high= breaking or risky behavior change
- type —
-
Show the draft and wait for approval.
-
Commit with a heredoc so the trailers keep their own lines:
git commit -m "$(cat <<'MSG' <the message> MSG )"
Important
jira:andrisk:must be consecutive lines in the final paragraph. A blank line above a trailingCo-Authored-By:orphans them from the trailer block.- Never guess the risk level — ask.
- Never skip the confirmation step.
- One logical change per commit. Review feedback goes into the commit whose scope it belongs
to:
git commit --fixup=<sha>thengit rebase -i --autosquash <sha>^. - The commit-msg hook runs gitlint. If it rejects the message, fix the message rather than bypassing the hook.
Signals
- GitHub stars
- 36
- Forks
- 71
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
commit-gooddata- Source
- github.com/gooddata/gooddata-python-sdk