/claude-code-toolkit:refactoring:extractfrom claude-code-toolkit
Extracts a function, component, module, hook, or class method from existing code into a separate unit, preserving behavior and updating all call sites.
Claude never picks this command on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /claude-code-toolkit:refactoring:extract still runs it.
Extract a function, component, or module from existing code into its own unit.
Extracted: <type> <name> from <source-file>
To: <destination-file>
Parameters: <param-list>
Returns: <return-type>
Lines replaced: <start>-<end>
Tests: <pass/fail>
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
42 commands in this plugin
/architecture:adrStepsWrite an Architecture Decision Record documenting a significant technical decision./architecture:design-reviewStepsConduct a structured design review of a module, feature, or system component./architecture:diagramStepsGenerate Mermaid diagrams from codebase analysis or description./architecture:migrateStepsPlan and execute a framework or library migration incrementally./architecture:planStepsCreate a structured implementation plan for the requested feature or change./architecture:refactorStepsPerform a systematic refactoring of the specified code area.Claude Code installs this plugin but refuses to load it
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332. The listing below is what the repository ships; Claude Code doesn't load it as published.
3 plugins ship this exact command · first indexed Feb 7, 2026
Other plugins' commands for the same job