geekswamp

draft-commit-message

0
0
# Install this skill:
npx skills add geekswamp/agent-skills --skill "draft-commit-message"

Install specific skill from multi-skill repository

# Description

Draft a conventional commit message when the user asks for help writing a commit message.

# SKILL.md


name: draft-commit-message
description: Draft a conventional commit message when the user asks for help writing a commit message.
metadata:
short-description: Draft an informative commit message.


Draft a conventional commit message that matches the change summary provided by the user.

Requirements

  • Use the Conventional Commits format: type(scope): summary.
  • Use the imperative mood in the summary (for example, "Feat", "Fix", "Refactor").
  • The supported types are bump, feat, fix, docs, refactor, test, ci, chore, perf, and revert.
  • Keep the summary under 72 characters.
  • If there are breaking changes, include a BREAKING CHANGE: footer.
  • Always use English.

Script

  • Run scripts/git-diff.sh to show both unstaged and staged full diffs.
  • Pass optional file paths or flags as args, e.g. scripts/git-diff.sh <path>.
  • Output order is unstaged diff first, then staged diff; add separators if needed.

When to load references

  • Detailed technical reference: references/REFERENCE.md.

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.