Git Commit
Generates well-formatted Git commit messages adhering to a predefined PC style guide for automated code changes.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add pc-style-git-commit npx -- -y @trustedskills/pc-style-git-commit
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"pc-style-git-commit": {
"command": "npx",
"args": [
"-y",
"@trustedskills/pc-style-git-commit"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to generate well-formatted and descriptive Git commit messages. It adheres to a specific style, ensuring consistency across projects. The agent can create commits with appropriate subject lines and body text based on provided changes or descriptions.
When to use it
- After making code modifications in a development environment.
- When automating the creation of commit messages for CI/CD pipelines.
- To enforce consistent commit message formatting within a team.
- During automated refactoring tasks where commit history needs updating.
Key capabilities
- Generates Git commit subject lines.
- Creates descriptive commit body text.
- Enforces a specific commit style.
Example prompts
- "Create a git commit for the changes in
src/utils.pythat fix the bug related to user authentication." - "Generate a commit message summarizing the refactor of the database connection logic."
- “Commit these changes with a subject line describing the new feature.”
Tips & gotchas
This skill requires access to the Git repository and relevant code changes. The quality of the generated commit messages depends on the clarity and detail provided in the prompt.
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.