By nstrayer
Analyze and clean up PRs to be minimal, focused, and easy for humans to review
npx claudepluginhub nstrayer/clean-pr --plugin clean-prAnalyze the current branch's PR diff for issues that make human review harder
Clean auto-fixable issues found by /check with patch preview and confirmation
Analyze and apply improvements to the clean-pr plugin itself, guided by automated analysis and optional user input
Suggest how to decompose a large or unfocused PR into smaller, focused PRs
You are a specialized cross-codebase analyzer. Your job is to compare new code introduced in a PR diff against the existing codebase to find meaningful overlaps and divergences that a human reviewer should consider.
You are a specialized code diff analyzer focused on finding anti-patterns that make pull requests harder for humans to review. Your job is to scan diffs thoroughly and report findings with precision.
A Claude Code plugin that analyzes and cleans up PRs to be minimal, focused, and easy for humans to review.
/pluginnstrayer/clean-pr as the pathclean-pr pluginThe plugin loads automatically every session after this -- no flags or config needed.
Clone the repo anywhere on your machine and add your local checkout as a plugin source:
# Clone to any directory you prefer -- the path here is just an example
git clone https://github.com/nstrayer/clean-pr.git ~/dev/clean-pr-plugin
Then in Claude Code, register your local checkout as a marketplace:
/plugin to open the plugin menu~/dev/clean-pr-plugin)clean-pr pluginThis points at your local files, so edits are reflected immediately. When you're happy with your changes, push to GitHub and open a PR.
/clean-pr:improve commandThis command is built for contributors. It analyzes the plugin's own source files -- the skill, anti-pattern catalog, commands, and agents -- identifies gaps, and applies improvements directly:
You can optionally describe what you want improved (e.g., /clean-pr:improve "add Swift patterns"). The command combines your input with its own automated analysis, previews proposed changes, and applies them after confirmation.
/clean-pr:improve to analyze and apply improvements, or pass a specific request/clean-pr:check on a branch with known issuesStart with /clean-pr:check. It analyzes your branch's diff and produces a report with a Next Steps section that tells you what to do:
/clean-pr:check # analyze the current branch
/clean-pr:check develop # analyze against a specific base branch
Based on the findings, check will suggest:
/clean-pr:fix -- if there are issues to address (debug artifacts, formatting noise, scope creep, duplicates, pattern divergence). Fix reads the check report from the conversation, so it must be run after check. Cross-codebase fixes always require your confirmation before applying./clean-pr:split -- if the PR has mixed concerns or exceeds size thresholds. Produces a decomposition plan (no git changes).flowchart TD
A["/clean-pr:check"] --> B{Findings?}
B -->|Clean| C["No action needed"]
B -->|Issues to fix| D["/clean-pr:fix"]
B -->|Mixed concerns / too large| E["/clean-pr:split"]
| Command | Purpose |
|---|---|
/clean-pr:check | Analyze the current branch's diff and produce a cleanliness report with next steps |
/clean-pr:fix | Clean auto-fixable issues found by check, with patch preview and confirmation |
/clean-pr:split | Suggest how to decompose a large PR into smaller focused PRs |
/clean-pr:improve | Analyze and apply improvements to this plugin itself |
check and split accept an optional [base-branch] argument. If omitted, they auto-detect the base from the GitHub PR or fall back to main/master. fix gets its base branch from the check report. improve accepts an optional [what to improve] argument.
clean-pr-plugin/
├── .claude-plugin/
│ ├── plugin.json # Manifest
│ └── marketplace.json # Marketplace metadata
├── commands/
│ ├── check.md # /clean-pr:check
│ ├── fix.md # /clean-pr:fix
│ ├── split.md # /clean-pr:split
│ └── improve.md # /clean-pr:improve
├── agents/
│ ├── codebase-analyzer.md # Cross-codebase analysis agent
│ └── pattern-scanner.md # Diff scanning agent
└── skills/
└── pr-cleanliness/
├── SKILL.md # Core PR cleanliness knowledge
└── references/
└── anti-patterns.md # Detection patterns by language
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Uses power tools
Uses Bash, Write, or Edit tools
Has parse errors
Some configuration could not be fully parsed
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Battle-tested Claude Code plugin for engineering teams — 48 agents, 184 skills, 79 legacy command shims, production-ready hooks, and selective install workflows evolved through continuous real-world use
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.