git-commit-crafter
Generates conventional commit messages from staged diffs, enforcing semantic versioning conventions and team-defined scopes.
Free to install — no account needed
Copy the command below and paste into your agent.
Instant access • No coding needed • No account needed
What you get in 5 minutes
- Full skill code ready to install
- Works with 4 AI agents
- Lifetime updates included
Description
--- name: git-commit-crafter description: Generates conventional commit messages from staged diffs, enforcing semantic versioning conventions and team-defined scopes. version: "1.0.0" author: brad tags: - git - commits - devops allowed-tools: - Bash user-invocable: true --- # git-commit-crafter Generates conventional commit messages from staged git diffs. Reads the diff, infers the change type and scope, and produces a formatted commit message ready to paste or pipe directly into `git commit`. ## Trigger Invoke when the user has staged changes and needs a commit message: ``` /git-commit-crafter ``` ## Behavior 1. Run `git diff --cached` to read the staged changes. 2. Identify the change type from the diff: `feat`, `fix`, `chore`, `docs`, `refactor`, `test`, or `perf`. 3. Infer the scope from the files touched (e.g., `auth`, `api`, `cli`, `db`). 4. Write a subject line under 72 characters in the form `type(scope): imperative summary`. 5. If the diff spans more than one logical concern, add a short body paragraph per concern. 6. If any file path contains `BREAKING` or the diff removes a public API surface, append `BREAKING CHANGE:` footer. ## Output format ``` feat(auth): add OAuth2 PKCE flow for CLI clients Replaces the implicit grant with PKCE to comply with RFC 9700. Adds a local redirect server on a random port for the callback. Closes #418 ``` ## Constraints - Never invent change details not present in the diff. - Do not reference internal ticket numbers unless they appear in branch name or diff. - Keep the subject line imperative mood: "add", "fix", "remove", not "added" or "fixes". - If the diff is empty, output: `No staged changes found. Run git add first.` ## Scope inference rules | File path pattern | Scope | |------------------------|------------| | `src/auth/**` | `auth` | | `src/api/**` | `api` | | `src/cli/**` | `cli` | | `src/db/**` | `db` | | `tests/**` | `test` | | `docs/**` | `docs` | | `*.toml`, `*.cfg` | `config` | | Mixed or root-level | (omit scope) |
Security Status
Scanned
Passed automated security checks
Related AI Tools
More Career Boost tools you might like
ru-text — Russian Text Quality
FreeApplies professional Russian typography, grammar, and style rules to improve text quality across content types
/forge:工作流总入口
Free'Forge 工作流总入口。检查项目状态,推荐下一步该用哪个 skill。任何时候不知道下一步该干什么,就用 /forge。触发方式:用户说"forge"、"下一步"、"接下来做什么"、"继续"(在没有明确上下文时)。'
Charles Proxy Session Extractor
FreeExtracts HTTP/HTTPS request and response data from Charles Proxy session files (.chlsj format), including URLs, methods, status codes, headers, request bodies, and response bodies. Use when analyzing captured network traffic from Charles Proxy debug
Java Backend Interview Simulator
FreeSimulates realistic Java backend technical interviews with customizable interviewer styles and candidate levels for Chinese tech companies
TypeScript React & Next.js Production Patterns
FreeProduction-grade TypeScript reference for React & Next.js covering type safety, component patterns, API validation, state management, and debugging
AI News & Trends Intelligence
FreeFetches latest AI/ML news, trending open-source projects, and social media discussions from 75+ curated sources for comprehensive AI briefings