git-commit-message

Formulate a git commit message. Use this skill whenever asked to create a commit message.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "git-commit-message" with this command: npx skills add bkircher/skills/bkircher-skills-git-commit-message

Create a commit message summarizing the changes just made. Only take staged changes into account.

<important> Follow The seven rules of a great Git commit message (https://cbea.ms/git-commit/#seven-rules) to the letter. </important>

Scan for what is staged

Use the context to construct a good message but make sure to only address the scope that is currently staged in git.

List files that are staged (in the index): <command> git diff --cached --name-only </command>

Show the full diff of staged changes: <command> git diff --cached </command>

Rules

  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
  6. Wrap the body at 72 characters
  7. Use the body to explain what and why vs. how

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

english-text-editor

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

gh-code-review

No summary provided by upstream source.

Repository SourceNeeds Review
General

Find Skills for ClawHub

Search for and discover OpenClaw skills from ClawHub (the official skill registry). Activate when user asks about finding skills, installing skills, or wants...

Registry SourceRecently Updated
1270
Profile unavailable