# Diff Summary

> Summarize git diffs in plain English

- Skill: `lxgicstudios/diff-summary` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx skillmds@latest add lxgicstudios/diff-summary`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lxgicstudios/diff-summary/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Research & Search
- Author: lxgicstudios (https://skillmd.com/u/lxgicstudios)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/lxgicstudios/diff-summary

---


# Diff Summary

Turn messy git diffs into human-readable summaries. Perfect for PR descriptions and code reviews.

## Quick Start

```bash
npx ai-diff-summary
```

## What It Does

- Summarizes staged changes
- Explains what code does, not just what changed
- Groups related changes
- Identifies breaking changes

## Usage Examples

```bash
# Summarize staged changes
npx ai-diff-summary

# Summarize specific commit
npx ai-diff-summary --commit abc123

# Compare branches
npx ai-diff-summary --from main --to feature/auth

# Output as PR description
npx ai-diff-summary --format pr
```

## Output Example

```markdown
## Summary
Added user authentication with JWT tokens

## Changes
- New login/logout endpoints in auth.ts
- JWT middleware for protected routes
- User model with password hashing
- Updated API docs

## Breaking Changes
- /api/users now requires authentication
```

## Requirements

Node.js 18+. OPENAI_API_KEY required. Must be in a git repo.

## License

MIT. Free forever.

