Marketing

commit-message

whyashthakker/agent-skills-marketing · updated Apr 9, 2026

$npx skills add https://github.com/whyashthakker/agent-skills-marketing --skill commit-message
summary

### Conventional Commit Generator

  • Analyzes staged git changes using diff commands to understand the scope of modifications.
  • Categorizes changes into standard types like feat, fix, or refactor to ensure consistent commit history.
  • Produces a concise imperative subject line and a descriptive body explaining the reasoning behind the changes.
skill.md

Commit Message Generator

Analyse the current staged changes and generate a conventional commit message.

Workflow

  1. Run git diff --cached --stat to see which files changed
  2. Run git diff --cached to see the actual diff content
  3. Determine commit type: feat, fix, refactor, docs, test, chore, style, perf
  4. Write subject line in imperative mood, max 72 characters
  5. Add body paragraph explaining WHY the change was made

Output Format

Output the commit message as plain text, ready to paste into git commit -m. Never wrap in a code block.