agentsclimarketplace

Generate commit message

Skill Flexonze/claude-init/.claude/skills/generate-commit-message

Generate a commit message for staged changesFrom its SKILL.md

Install
npx -y skills add Flexonze/claude-init --skill generate-commit-message

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 10 stars10 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 3 commands, including `git diff --cached` and 2 more.

SKILL.md

1.1 KB, 256 tokens by cl100k_base, as published. Nobody here has run it

Generate Commit Message

Analyze staged changes and generate a single-line commit message.

Instructions

  1. Check for staged changes

    • Run git diff --cached to see what's staged
    • If nothing is staged, check git status and suggest what to stage
  2. Check project conventions

    • Run git log --oneline -10 to see recent commit style
    • Match the existing format (conventional commits, prefixes, etc.)
  3. Generate a single-line commit message

Best Practices

  • 50 characters or less - keep it concise
  • Imperative mood - "Add feature" not "Added feature" or "Adds feature"
  • Capitalize the first letter
  • No period at the end
  • What and why, not how

If the project uses Conventional Commits, use the format:

type(scope): description

Types: feat, fix, docs, style, refactor, test, chore

Output

Print the commit message in a code block:

Add user authentication endpoint

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.