Agent Skill
2/7/2026

commit

This skill should be used when the user asks to "commit changes", "create a commit", "git commit", or wants to save their staged changes with a meaningful message.

N
ngnnah
1GitHub Stars
1Views
npx skills add ngnnah/I-And-AI

SKILL.md

Namecommit
DescriptionThis skill should be used when the user asks to "commit changes", "create a commit", "git commit", or wants to save their staged changes with a meaningful message.

name: commit description: This skill should be used when the user asks to "commit changes", "create a commit", "git commit", or wants to save their staged changes with a meaningful message.

/commit

Create a git commit with a well-crafted message.

Instructions

  1. Run git status and git diff --staged to see changes
  2. If nothing is staged, ask user what to stage or stage all with git add -A
  3. Analyze the changes and create a commit message that:
    • Starts with a verb (Add, Fix, Update, Remove, Refactor)
    • Summarizes the "why" not just the "what"
    • Keeps first line under 72 characters
  4. Commit with the message
  5. Show the commit hash when done
Skills Info
Original Name:commitAuthor:ngnnah