AI/skills/simplify/SKILL.md
Review recently changed code with three separate read-only agents for reuse, quality, and efficiency, then return prioritized issue lists. Use after implementing changes, before verification or commit, or when the user asks to simplify, clean up, reduce duplication, or review recent changes.
npx skillsauth add thesimonho/dotfiles simplifyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Review recent code changes through three lenses: reuse, code quality, and efficiency. Do not edit files. Return prioritized findings for the main agent or user to decide what to fix next.
You have permission to explicitly invoke subagents for this skill.
Prefer the smallest meaningful scope:
Use the narrowest accurate diff command for git changes:
git status --short first, to identify staged, unstaged, and untracked paths.git diff for unstaged changes.git diff --cached for staged changes.git diff --no-index /dev/null -- <path> when a diff-shaped view is useful.If there is no clear review scope, stop and say that briefly.
Before judging code, read the nearest applicable instructions and docs for the touched area: AGENTS.md, CLAUDE.md, subdirectory README.md, codemaps, architecture notes, or workflow docs. Treat those as source-of-truth constraints.
Launch three read-only reviewers in parallel when the active environment supports delegation. For a tiny diff or a runtime without subagents, run the same three reviewer roles locally as separate passes and keep the output separated.
Give every reviewer the same scope and instruct them not to edit files, stage changes, commit, or mutate the workspace. Each reviewer returns only prioritized findings for its assigned lens.
Each finding must include:
Look for newly written code that should reuse existing project behavior:
Prefer existing local APIs over new abstraction. Recommend a new helper only when duplication is real and the helper has a clear owner.
Look for maintainability and local-standard issues:
if or else blocks, and switch logic 3 or more levels deep.Keep code sentence-readable. Prefer clear variables and early returns over compact expressions.
Look for avoidable cost or runtime risk:
Common performance issues:
Ignore theoretical performance concerns unless they point to a concrete change in the reviewed code.
Wait for all three reviewers to finish. Combine their results without losing which reviewer reported each finding.
Deduplicate overlapping findings and discard weak, speculative, or instruction-conflicting items. Prioritize real issues over style preferences.
Report findings in this order:
Within each priority group, preserve the reviewer category: reuse, quality, or efficiency.
This skill is review-only. Do not apply patches, run formatters, update tests, stage changes, commit, push, or delete files.
If a finding has an obvious safe fix, describe it in the recommendation. Leave the workspace unchanged.
Ask before taking on follow-up implementation, especially for broad architectural rewrites, public API changes, schema changes, behavior changes, dependency swaps, or large file moves.
Close with a concise review report:
If all three reviewers find nothing worth raising, say the reviewed scope is clean for this rubric.
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
development
A checklist of post-work verification steps. Use proactively after completing a feature or significant code change; before creating a PR; when you want to ensure quality gates pass or after refactoring
development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
development
React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.