Git Commit
Automates Git commit creation from code changes, incorporating pre-defined templates and descriptions for consistent version control.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add fvadicamo-git-commit npx -- -y @trustedskills/fvadicamo-git-commit
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"fvadicamo-git-commit": {
"command": "npx",
"args": [
"-y",
"@trustedskills/fvadicamo-git-commit"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
The git-commit skill enables AI agents to execute git commit commands directly within a repository, allowing them to save changes with specific messages and options. It streamlines version control workflows by automating the finalization of code modifications without manual CLI interaction.
When to use it
- Finalizing a series of staged files after an agent has made multiple code edits.
- Creating commits with conventional commit messages (e.g.,
feat:,fix:) based on detected changes. - Automating deployment pipelines where every successful build requires an immediate version tag.
- Resolving merge conflicts by committing the resolved state once the agent fixes discrepancies.
Key capabilities
- Executes standard
git commitsyntax with custom messages and flags. - Supports interactive options like
-a(add all) or specific file targeting. - Integrates seamlessly into backend development loops for continuous integration.
Example prompts
- "Commit all staged changes with the message 'fix: resolve null pointer exception in user service'."
- "Create a commit for the updated configuration files using the message 'chore: update docker-compose settings'."
- "Stage the modified test files and commit them with the message 'test: add edge case scenarios for login flow'."
Tips & gotchas
Ensure the repository is properly initialized and changes are staged before invoking this skill, as it relies on existing git state. Avoid using this skill in read-only environments or when the working directory contains uncommitted conflicts that require manual resolution first.
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.