Commit commit

Commit message formatting and guidelines

Works in Claude, ChatGPT, Codex and more
Our test
8/10✓ Verified
tested Dec 6, 2026
GitHub stars
56k
tryghost/ghost
Added by
0
members
Updated
Dec 6
commit fea511f
Content
1 file
no scripts · 1 KB
License
MIT
free to use

What our test found

The skill gives clear, cautious steps for focused commits and post-commit verification while respecting repository conventions.

Request we tested it on“Please commit the changes for the updated login error message.”

Limits spotted

  • The release-intent check does not specify how to identify the applicable release process.
  • The skill assumes the contribution guide and repository state are accessible.
View on GitHub ↗
name: commit
description: Commit message formatting and guidelines

Commit

Use this skill whenever the user asks you to create a git commit for the current work.

Instructions

  1. Review the current git state before committing:
  2. git status
  3. git diff
  4. git log -5 --oneline
  5. Only stage files relevant to the requested change. Do not include unrelated untracked files, generated files, or likely-local artifacts.
  6. Read and follow .github/CONTRIBUTING.md#commit-messages. It is the source of truth for Ghost's commit conventions.
  7. For publishable packages, check whether a release intent is required. A package README.md is published and requires a release; repository-only Markdown such as AGENTS.md, changelogs, and package-local docs/ does not.
  8. Run git status --short after committing and confirm the result.

Important

  • Do not push to remote unless the user explicitly asks
  • Keep commits focused and avoid bundling unrelated changes
  • If there are no relevant changes, do not create an empty commit
  • If hooks fail, fix the issue and create a new commit. Never bypass hooks.