diff-summary

Verified·Scanned 2/18/2026

Summarizes git diffs into human-readable PR-ready descriptions and is invoked via npx ai-diff-summary. It requires OPENAI_API_KEY and includes CLI examples, implying use of external APIs and execution of npx commands.

from clawhub.ai·vf40479f·1.2 KB·0 installs
Scanned from 1.0.1 at f40479f · Transparency log ↗
$ vett add clawhub.ai/lxgicstudios/diff-summary

Diff Summary

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

Quick Start

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

# 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

## 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.


Built by LXGIC Studios