/skills:code-refactor-reviewfrom skills
Reviews code diffs for reuse, composition, codebase consistency, and slop. Useful for PR review or checking how well new code fits an existing codebase.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Review code changes the way Sahaj usually asks for review: go deep on reuse, composition, codebase consistency, and anything that reads like slop.
git diff for unstaged changes.git diff HEAD if there are staged changes.lib dumps.Flag and, when asked, remove:
useMemo / useCallback added without a measured or structural reason.Start with a verdict:
clean — no meaningful concerns.mostly clean — minor cleanup only.needs cleanup — important reuse/composition/consistency issues.Then list findings by priority. For each finding include:
If the user asked for review only, do not edit files. If the user asked to fix it, make the changes directly and summarize what changed.
utils, helpers, shared, or implementation-specific names.index.ts without a reason.if statements over ternaries when suggesting code changes in v0.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-review, pr-review, code-quality, refactoring, codebase-consistency
Generated from the plugin's indexed repository (nbbaier/agent-skills) — no native marketplace selected
npx claudepluginhub p/nbbaier-skills16 skills in this plugin
/blueprintTurn a working session — the docs, issues, and half-formed ideas you've fed in, plus anything you point it at — into a spec and then a set of self-contained, executable implementation plans for OTHER models/agents to build. A senior architect that plans but never implements. Use when you have that context in hand and want it distilled into a PRD-style spec and broken into dependency-ordered, verifiable work items. Publishes to the repo's configured issue tracker or to markdown files./goal-refinerUse when the user gives a rough idea, broad objective, unfinished `/goal`, plan, issue, visual target, optimization target, or research task and wants it refined into a concise Codex Goal contract with one durable objective, clear boundaries, realistic environment, measurable progress, evidence-based completion, checkpoints, cleanup, blockers, and an output strictly under the hard cap of 4,000 characters./html-toolsBuild single-file HTML tools — self-contained HTML+JS+CSS applications that solve a specific problem without a build step. Use this skill whenever the user asks to build a utility, converter, viewer, debugger, or any small interactive web tool. Also trigger when the user says "build me a tool that...", "make a quick app for...", "I need a single-file HTML page that...", or wants to create something that could be hosted as a static file. This skill is specifically for practical, utility-focused tools (not landing pages, portfolios, or marketing sites — use frontend-design for those)./ideationGuides structured ideation through Socratic questioning to explore problems, opportunities, and solutions. Use when brainstorming features, exploring use cases, or thinking through new ideas./implementation-guideGenerate comprehensive implementation guides for coding tasks instead of writing code directly. Use when the user requests detailed implementation documentation, step-by-step development guides, or when they want to implement features themselves using tools like Cursor. Creates exhaustive guides with background context, architecture decisions, milestones with verification points, and rationale for a "build-it-yourself" workflow./knipRun knip to find and remove unused files, dependencies, and exports. Use for cleaning up dead code and unused dependencies.Other plugins' skills for the same job