Git Commit Specification

🌐Community
by tencentblueking · vlatest · Repository

Generates detailed, well-formatted git commit messages based on provided change descriptions and context.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add git-commit-specification npx -- -y @trustedskills/git-commit-specification
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "git-commit-specification": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/git-commit-specification"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill enables AI agents to generate precise, standardized commit messages that adhere to specific project conventions. It ensures version control logs remain consistent and readable across the development team.

When to use it

  • Enforcing strict commit message formats in large-scale backend projects.
  • Automating changelog generation for CI/CD pipelines.
  • Reducing merge conflicts caused by ambiguous or inconsistent commit descriptions.
  • Integrating with automated code review tools that parse commit logs.

Key capabilities

  • Parses and validates input against defined commit specification templates.
  • Generates messages following conventional commits standards (e.g., feat:, fix:).
  • Supports custom prefixes, scopes, and body formatting rules.
  • Validates message length and structural requirements before submission.

Example prompts

  • "Generate a commit message for adding user authentication using the project's standard format."
  • "Review this draft commit and rewrite it to match our team’s git-commit-specification."
  • "Create a batch of commit messages for these five code changes following the specification."

Tips & gotchas

Ensure your repository includes a clear .commitlintrc or similar config file defining expected formats. This skill relies on those definitions to produce accurate output.

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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
tencentblueking
Installs
49

🌐 Community

Passed automated security scans.