Agent skill

commit

Create git commits following repository style. Use when user asks to "create a commit", "commit changes", "/commit", or requests committing code to git.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/commit-helderberto-skills

SKILL.md

Git Commit

Context

Run in parallel:

  • git status (never -uall)
  • git diff HEAD
  • git log --oneline -10

Message Style

Match repo's existing commit patterns from log.

  • Extreme concision, sacrifice grammar for brevity
  • Focus on "why" not "what"
  • Imperative mood

Workflow

  1. Review status and diff
  2. Analyze recent commit style from log
  3. Stage files explicitly (avoid git add . or -A)
  4. Commit with HEREDOC format matching repo style
  5. Run git status after to verify

Rules

  • NEVER amend unless requested
  • NEVER skip hooks
  • NEVER commit secrets
  • Only commit when requested
  • Match existing commit patterns

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