About commit
A skill that generates a Conventional Commits-style message and commits staged changes with git. It is intended for developers who want commit messages based only on changes they have staged.
Key features
- 01Conventional Commits formatting
- 02Message based on staged changes
- 03Optional scope and explanatory body
- 04Does not stage files
Use cases
- 01Committing a bug fix
- 02Recording a new feature
- 03Documenting a refactor or maintenance change
MCP support
This skill does not describe MCP integration.
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ casper-studios/ casper-marketplace --skill commitAfter installing, type/commitin Claude Code to confirm it loaded.
Details
From the project READMECommit
Generate a commit message and commit staged changes using git.
Based on the Conventional Commits v1.0.0 specification.
Guidelines
- Only generate the message for staged files/changes
- Don't add any files using
git add- user decides what to add - DO NOT add any ads or footers
Format
<type>(<scope>): <message title>
<bullet points summarizing what was updated>
Rules
- Title: lowercase, no period, max 50 characters
- Scope: optional, feature affected
- Body: explain why, not just what
- Bullet points: concise and high-level
Allowed Types
| Type | Description |
|---|---|
| feat | New feature |
| fix | Bug fix |
| chore | Maintenance (tooling, deps) |
| docs | Documentation changes |
| refactor | Code restructure (no behavior change) |
| test | Adding or refactoring tests |
| style | Code formatting (no logic change) |
| perf | Performance improvements |
Examples
feat(auth): add JWT login flow
- Implemented JWT token validation logic
- Added documentation for the validation component
fix(ui): handle null pointer in sidebar
refactor(api): split user controller logic
- Extracted validation into separate module
- Simplified error handling flow
Footer (optional)
- Reference issues:
Closes #123 - Breaking changes: Start with
BREAKING CHANGE:
Avoid
- Vague titles: "update", "fix stuff"
- Overly long or unfocused titles
- Excessive detail in bullet points
Comments
Markdown supported