smithery.ai

github-commit

Create a well-formatted git commit following best practices

First seen Apr 16, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,737 B
  • docs SUMMARY.md 80 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Git Commit Skill

When this skill is invoked, create a git commit following these steps:

Instructions

  1. Check git status to see what files are staged/unstaged
  2. Review the changes using git diff (or git diff --staged if files are already staged)
  3. Verify no sensitive data is being committed (secrets, private keys, API keys, tokens, credentials)
  4. Stage files if needed with git add
  5. Create the commit using git commit -S to sign the commit

Commit Message Guidelines

Follow these seven rules for great commit messages:

  1. Separate subject from body with a blank line
  2. Limit the subject line to 50 characters
  3. Capitalize the subject line
  4. Do not end the subject line with a period
  5. Use the imperative mood in the subject line (e.g., "Add feature" not "Added feature")
  6. Wrap the body at 72 characters
  7. Use the body to explain what and why vs. how

Additional guidelines:

  • Style: Casual and human, but professional
  • Language: Always in English
  • Format:

- Short title describing the change - If more context is needed, add a blank line followed by a commit body with further clarifications

Important Notes

  • Always use -S flag to sign commits with GPG
  • Be specific but concise
  • No need for issue numbers unless critical
  • Avoid generic messages like "fix bug" or "update code"
  • Never commit sensitive data: secrets, private keys, API keys, tokens, .env files, wallet private keys, seed phrases, mnemonics, keystore files, or any credentials

References

Based on: <https://chris.beams.io/git-commit>;