claude

refactor

Structured refactoring workflow: analyze, plan, and extract code safely

8 on GitHubby Juan M. Hidalgov1.6.0MITupdated 3 days agodevelopment
/

Plugin refactor from marketplace juanmhidalgo-plugins in juanmhidalgo/claude-plugins. Commands read from the repo's manifest — 2 days ago.

What it installs

Slash commands (3)

  • /refactor:analyze

    Use before starting a refactor to understand what needs attention in a file or directory. Do NOT use to make changes — use /refactor:plan or :extract for that. - Read - Glob - Grep - Workflow - event: Stop once: true command: | echo "" echo "Analysis complete." echo " - /refactor:plan to create a r

  • /refactor:extract

    Use when you know what to extract and want a safe extraction with proper naming and placement. Do NOT use while still discovering what to refactor — use /refactor:analyze first. - Read - Glob - Grep - Agent - Edit - Write - Bash(git *) - Bash(gh pr list *) - Bash(gh pr diff *) - AskUserQuestion - ev

  • /refactor:plan

    Use after /refactor:analyze when you need an ordered plan before executing changes. Do NOT use to make code changes directly — use /refactor:extract for that. - Read - Glob - Grep - Workflow - AskUserQuestion - event: Stop once: true command: | echo "" echo "Plan created." echo " - /refactor:extrac

Subagents (3)

  • conflict-scout

    Maps open PRs, other branches, and uncommitted work against the files a refactor will touch. Reports textual overlaps (git will conflict) and semantic overlaps (a PR that calls a symbol you rename). Spawned by refactor:analyze and refactor:plan.

  • refactor-analyzer

    Analyzes code for refactoring opportunities. Explores similar code, existing abstractions, tests, and consumers to provide context-aware analysis. Spawned by refactor:analyze.

  • refactor-planner

    Explores codebase to plan a safe refactoring sequence. Understands test coverage, dependencies, and similar past refactorings. Spawned by refactor:plan.

View source on GitHub

More from juanmhidalgo/claude-plugins

All 19 plugins →

Comprehensive code review workflow: branch reviews, PR triage, false positive dismissal, and fix tracking

6 skills · 14 commands · 14 agents

8

Feature development workflows: test-driven development with coverage gates and parallel codebase exploration before planning

2 skills · 8 commands · 13 agents

8

discuss

claude

Critical feature discussion and idea refinement with skeptical Staff Engineer perspective, plus adversarial review of technical documents

4 skills · 4 commands · 1 agent

8

handoff

claude

Generate self-contained prompts for use in other repositories, including API handoffs between frontend and backend teams

2 skills · 4 commands

8

Refine, analyze, and validate Product Requirements Documents (PRDs). Publish to GitHub Issues or ClickUp.

1 skill · 3 commands · 2 agents

8

debug

claude

Systematic debugging and incident response: structured triage, root cause analysis, regression guards, error pattern recognition, and blameless postmortem generation

2 skills · 3 commands

8

Similar plugins

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

Build powerful, stateful CLI interfaces for any GUI application using the cli-anything harness methodology.

5 commands

HKUDS/CLI-Anything 58,665

Automates browser interactions for web testing, form filling, screenshots, and data extraction

12 skills

vercel-labs/agent-browser 50,373

Use Alibaba Open Code Review from local Codex.

2 skills

alibaba/open-code-review 50,068

slidev

claude

Claude Code skill for creating and presenting Slidev slidedecks

1 skill

slidevjs/slidev 49,452

Maintain refactor?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins19 plugins