/awesome-ai:generate-commit-message optional: JIRA-123 or issue key/scope hintfrom Ashley's Awesome AI
Generates a Conventional Commits v1.0.0 message from staged diffs and creates a signed commit. Enforces type enum, subject/body line limits, and AI-attribution trailer. Supports splitting work into atomic commits.
Ships in Ashley's Awesome AI. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Produce exactly one Conventional Commits v1.0.0 message from the diff, then commit it signed. The commit is the deliverable — no draft file, no push.
The only repo-mutating commands permitted are git commit -S and path-explicit git add under
Staging. Everything else is off-limits:
| Never | Why |
|---|---|
| Add to a non-empty index | A staged diff is the user's scope decision; commit exactly it |
git add -A / . / -u / globs | Sweeps unrelated edits into the commit |
git push, rebase, reset, commit --amend | History mutation isn't this skill's job |
--no-verify, --no-gpg-sign | Hooks and signing must run |
| Edit source, docs, or config | No formatters, lint fixes, refactors, or test runs. Sole exception: the temporary revert-and-restore in Splitting, which must end byte-identical to the saved copy |
Commit on main/master | Unless the user directed it this turn |
| Omit the AI-attribution trailer | A message without it is a failed message |
Stop and report; do not work around:
nothing staged; ask which change.main/master without explicit authorization this turn.Only when the index is empty.
Only on an explicit request this turn.
Run steps 1–7 once per group, deriving each message from that group's staged diff alone.
Precedence, first match wins. Jira key regex [A-Z][A-Z0-9]+-\d+, matched case-insensitively,
emitted uppercase:
argument-hint)git --no-pager rev-parse --abbrev-ref HEADNever invent a keyword scope (core, api, docs) when no issue key exists. An absent scope is
correct; a made-up one is noise. The diff informs type and subject, never scope.
git --no-pager diff --cached
Empty → run Staging, then re-run this command. Never derive from git diff of the
working tree: git commit records the index, so unstaged edits are not in the commit.
Derive everything from hunks only: chat history, prior commits, and memory are not evidence of what this diff changes.
First match wins:
| Signal | Type |
|---|---|
| Public API removed, signature changed, config key dropped | breaking — add ! and/or BREAKING CHANGE: |
| New user-visible capability | feat |
| Defect repair, no new surface | fix |
| Faster, same behavior | perf |
| Restructure, same behavior | refactor |
| Whitespace, formatting, semicolons | style |
| Tests only | test |
| Docs, comments, JSDoc/KDoc only | docs |
.github/workflows, .circleci, CI config | ci |
| Build system, deps, packaging | build |
| Reverts a prior commit | revert |
| Maintenance, no production impact | chore |
Exactly one, from diff hunks + this session:
| AI share of the work | Trailer |
|---|---|
| Majority | Generated-by |
| Roughly half | Co-authored-by |
| Minor assist | Assisted-by |
| Only wrote this message | Commit-generated-by |
Uncertain → pick the tier that credits the human more.
Co-authored-by is the one tier GitHub actually parses and renders on the commit, which is the
point of it — don't substitute a variant spelling. The other three are custom trailers that git
carries verbatim.
<type>[(<scope>)][!]: <subject>
- <single-line bullet>
- <single-line bullet>
<footers>
Format constraints — every one maps to a commitlint rule, so a violation is a hook failure, not a style opinion:
OAuth2, JSDoc, API)Footer order, when present:
Refs: PROJ-123 / Closes #42BREAKING CHANGE: <incompatibility and required action> — only when the ! alone doesn't
tell the user what to do. Both forms together are valid.Trailers use - for spaces (Reviewed-by); BREAKING CHANGE is the spec's one exemption. A
footer too long to fit in 100 chars folds onto a continuation line with a leading space.
Match the repo before emitting. Read commitlint.config.js (or .commitlintrc*) if present
and honor overrides — scope-case, stricter lengths, a narrowed type enum. Then check
git --no-pager log -3 for trailers this repo actually uses (Signed-off-by, Refs) and mirror
them. A message that passes the generic spec but trips this repo's hook is still a failure.
Then verify before committing:
^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([^)]+\))?!?: .+$Failing any check → regenerate. Never emit a non-conformant message.
Re-run the step 2 command immediately before committing. If it changed, the message describes work that no longer matches — re-derive from step 2. If the diff can't be re-read, say the message may be stale and proceed.
git commit -S -F - <<'EOF'
<full message including blank lines and footers>
EOF
-F - preserves blank lines and trailers exactly; -m with embedded newlines is where formatting
gets mangled. Report the short SHA and subject.
On failure — hook rejection, denied permission, signing error — do not retry blindly and do not amend. Print the composed message in a fenced block so the work isn't lost, surface the exact failure output, and state what the user likely needs to do. Then stop; the underlying problem is theirs to resolve, not something to work around.
fix: pin qs to 6.14.2 to address prototype-pollution vulnerability
- add npm override for qs across the dependency tree
- align instantsearch.js resolution to the pinned version
Assisted-by: Claude Haiku 4.5 <[email protected]>
feat(PROJ-123): add OAuth2 device-code flow to login
- support polling the token endpoint with backoff
- surface user_code and verification_uri in CLI output
- cover happy-path and timeout in unit tests
Refs: PROJ-123
Generated-by: Claude Opus 5 <[email protected]>
feat(PROJ-456)!: drop deprecated /v1 endpoints
- remove /v1/users and /v1/sessions handlers
- migrate fixture suite to /v2 equivalents
BREAKING CHANGE: clients pinned to /v1 must upgrade to /v2 before this release.
Generated-by: Claude Opus 5 <[email protected]>
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub anchildress1/awesome-ai --plugin awesome-ai7 skills in this plugin
/changelog-writerUse when asked to rewrite or update `CHANGELOG.md` entries. Produces narrative, dry-humor release notes matching the file's existing voice; never edits outside the targeted section./eslint-plugin-configuringGenerate or update an ESLint plugin that exports rule configs compatible with ESLint v8 (eslintrc) and ESLint v9 (flat config)./gha-best-practicesGitHub Actions workflow rules: triggers, draft guards, path filters, concurrency, permissions, secrets, action pinning, timeouts, caching, artifacts, checkout depth, installs, step naming, actionlint, Dependabot.
Load BEFORE creating or editing any file under `.github/workflows/` or `.github/actions/` (ci.yml, codeql.yml, release-please.yml, reusable workflows, composite actions), including a one-line change.
Trigger on: adding or changing a job, step, trigger, `permissions` block, matrix, or `env`; "add a workflow", "fix CI", "CI is failing", "add a job", "add a step", "pin this action", "add workflow_dispatch", "run it on PRs", "cache the install", "upload the artifact", "why did CI not run", "add dependabot"; scaffolding CI for a new repo; reviewing a diff that touches a workflow file, even when the user never says "Actions".
/pr-comment-reviewAudit and remediate an open GitHub PR's review feedback: verify Copilot and Codex actually reviewed, drive every unresolved thread to a fix-or-justify reply, correct PR title/description drift against the real diff, and run a one-time self-review pass. Trigger on "have all PR comments been addressed", "did copilot and codex review this", "reply to the PR comments", "address the PR feedback", "is this PR ready to merge", "clean up this PR before merging", "make sure nothing got missed on this PR" — and on generic "review comments" mentions, on single-bot mentions, and when prepping a new PR for review before comments exist. Not a fresh review of an unpushed working diff; that's `/code-review`.
/readme-generatorGenerate, audit, or improve a project README following a 15-section structure (Title, Table of Contents, About, Features, Tech Stack, Architecture, Project Structure, Getting Started, Configuration, Security, How to Contribute, What's Next, License, Acknowledgements, Author) with Mermaid diagrams for architecture and flows. Use this skill whenever the user asks to "write a README", "create a README", "draft a README", "generate README.md", "scaffold project docs", "document this repo", "improve my README", "audit my README", "what should go in my README", or starts a new repository and needs documentation. Also trigger on phrases like "the README is bare", "this project has no docs", "fill in my README sections", or any request that produces or reviews a top-level repository README./test-writerWrite, extend, or review tests in any codebase. Use this skill whenever the user asks to write tests, add test coverage, test a new feature, fix failing tests, or audit existing test files — regardless of language, framework, or project. Also trigger for "add tests for", "write tests for", "cover this with tests", "test this file", "update the tests", "improve coverage", or "this needs tests". This skill enforces universal testing rules (no .skip, no lowering thresholds, full-path coverage) and adapts its mock patterns and tooling to whatever stack the repo uses.
Other plugins' skills for the same job