Eli pr

From kavyabhand/claude-eli5 · View interactive version

Eli pr is an AI agent skill from the GitHub repository kavyabhand/claude-eli5. Generate a plain-language PR description from the current git diff. Trigger when the user says "/eli-pr", "write a PR description", "write this PR simply", "PR description for non-technical", "explain this PR to my manager", or "generate PR desc".

How to use this skill

Skill file

ELI-PR — Plain-Language PR Description

Reads the current git diff and writes a PR description a non-engineer can understand.

Steps

1. Get the diff

git diff main...HEAD 2>/dev/null || git diff master...HEAD 2>/dev/null || git diff HEAD~1..HEAD 2>/dev/null || git diff --cached

Also scan recent commit messages:

git log --oneline -10 2>/dev/null

2. Check active eli5 level

cat .claude/eli5-state.json 2>/dev/null || echo "{}"

Default to eli-adult if no level is active.

3. Write the PR description

Use exactly this structure:

## What changed
[One sentence. Plain English. What was built, fixed, or removed — not how.]

## Why
[One sentence. The user/business reason. What problem does this solve?]

## How to test
- [Step 1 — anyone can follow this]
- [Step 2]
- [Step 3 if needed]

## Risk
[One sentence. What could break? Or: "Low risk — no user-facing changes."]

Rules

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.