Agent skill

commit-helper

Generate conventional commit from staged changes

Stars 202
Forks 5

Install this agent skill to your Project

npx add-skill https://github.com/chmouel/lazyworktree/tree/main/.claude/skills/commit-helper

SKILL.md

Commit Helper

Generate a conventional commit message from staged changes.

Changes to commit

!git diff --staged --stat

Detailed diff

!git diff --staged

Recent commit style

!git log --oneline -5


Generate a conventional commit message following these rules:

  • Follow Conventional Commits 1.0.0 format
  • 50 characters maximum for title, 70 characters for body lines
  • Use past tense
  • State what and why only, not how
  • Use British spelling
  • Cohesive paragraph unless multiple distinct points require bullet points
  • Present the commit message for user approval before executing

Example format:

feat: added worktree deletion confirmation

Implemented confirmation dialogue before deleting worktrees to prevent
accidental data loss. The confirmation shows the worktree path and any
uncommitted changes that would be lost.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results