From og-simplify
Review changed code for reuse, quality, and efficiency, then fix any issues found. Use to clean up / simplify recently changed code — the original Claude Code /simplify cleanup-and-fix behavior. Triggers on "simplify my changes", "clean up this diff", "review and fix what I just wrote".
How this skill is triggered — by the user, by Claude, or both
Slash command
/og-simplify:og-simplify [low|medium|high|xhigh|max][low|medium|high|xhigh|max]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
<!--
$ARGUMENTS)The original command took an optional effort argument. Apply this preamble logic before running the review below:
$ARGUMENTS is one of low, medium, high, xhigh, max: perform this review at that effort — apply that level of rigor and depth, and tell each of the three review agents to do a <effort>-effort pass.$ARGUMENTS is non-empty but not one of those values: note (Ignoring unrecognized effort "<value>"; valid: low, medium, high, xhigh, max.) and proceed at the session's current/default effort.$ARGUMENTS is empty: run at the session's current effort (no special preamble).Review all changed files for reuse, quality, and efficiency. Fix any issues found.
Run git diff (or git diff HEAD if there are staged changes) to see what changed. If there are no git changes, review the most recently modified files that the user mentioned or that you edited earlier in this conversation.
Use the Task tool (the subagent launcher) to launch all three agents concurrently in a single message. Pass each agent the full diff so it has the complete context.
For each change:
Review the same changes for hacky patterns:
a ? x : b ? y : ...), nested if/else, or nested switch 3+ levels deep — flatten with early returns, guard clauses, a lookup table, or an if/else-if cascadeReview the same changes for efficiency:
Wait for all three agents to complete. Aggregate their findings and fix each issue directly. If a finding is a false positive or not worth addressing, note it and move on — do not argue with the finding, just skip it.
When done, briefly summarize what was fixed (or confirm the code was already clean).
npx claudepluginhub tal/plugin-marketplaceProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.