Eli commit

From kavyabhand/claude-eli5 · View interactive version

Eli commit is an AI agent skill from the GitHub repository kavyabhand/claude-eli5. Generate a plain-language commit message from staged changes. Trigger when the user says "/eli-commit", "write a commit message", "commit message eli5", "explain these changes for git", "what should my commit say", or "help me write a commit".

How to use this skill

Skill file

ELI-COMMIT — Plain-Language Commit Message

Reads staged changes and writes a commit message that explains the why, not just the what.

Steps

1. Read staged changes

git diff --cached 2>/dev/null

If nothing staged, also try:

git diff HEAD~1..HEAD 2>/dev/null

2. Write the commit message

Subject line (required, ≤ 72 chars):

Body (optional, use when the why isn't obvious):

Rules

Example

Staged change: adds retry logic to API calls

Output:

Add automatic retry when the server is temporarily unavailable

- Without this, a single slow moment would fail the whole request for the user
- Now we try up to 3 times with a short pause between attempts
- No change to the user-facing experience — this is invisible when it works
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.