Commits
This skill automatically commits code changes to your repository after a successful build, streamlining your workflow and ensuring consistent updates.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add commits npx -- -y @trustedskills/commits
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"commits": {
"command": "npx",
"args": [
"-y",
"@trustedskills/commits"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to automatically generate and apply commit messages adhering to a specific conventional commits format. It structures commit messages with a type, optional scope, description, body, and footer, facilitating automated changelog generation and semantic versioning. The skill ensures that commit messages follow predefined rules for consistency and clarity.
When to use it
- When automating code changes and ensuring consistent commit message formatting.
- For projects requiring structured commit history for automated release notes or version management.
- To streamline the development workflow by reducing manual effort in writing commit messages.
- In teams adopting conventional commits practices.
Key capabilities
- Conventional Commit Format: Enforces a standardized format:
<type>[optional scope]: <description>\n[optional body]\n[optional footer(s)]. - Type Specification: Supports common types like
feat,fix,docs,style,refactor,perf,test,build,ci,chore, andrevert. - Scope Support: Allows for optional scopes to provide context within the commit message (e.g.,
feat(auth): ...). - Breaking Change Indication: Supports indicating breaking changes using either
!before the colon or aBREAKING CHANGE:footer. - Footer Support: Enables adding review information and references in the commit footer.
Example prompts
- "Commit this change with type 'fix' and scope 'parser', describing how it handles empty arrays."
- "Create a 'feat' commit for the user authentication feature, including a body explaining the request ID implementation."
- "Revert the previous commit related to the noodle incident."
Tips & gotchas
- The skill requires adherence to conventional commits specification. Incorrect formatting may result in rejected commits.
- Breaking changes must be explicitly marked using either
!orBREAKING CHANGE:to ensure proper versioning and documentation.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.