Start a complete plugin refactoring workflow. Analyzes plugin structure, creates refactoring plan with tasks, and guides through execution.
Orchestrates comprehensive plugin refactoring by analyzing structure, creating a detailed plan, and guiding through execution.
/plugin marketplace add jamie-bitflight/claude_skills/plugin install plugin-creator@jamie-bitflight-skills<plugin-path>refactor-plugin/Start a comprehensive plugin refactoring workflow for the specified plugin.
$ARGUMENTS: Path to the plugin directory to refactor (e.g., ./plugins/python3-development)This command orchestrates the complete refactoring workflow:
If no plugin path provided:
ERROR: No plugin path provided.
Usage: /plugin-creator:refactor <plugin-path>
Example: /plugin-creator:refactor ./plugins/python3-development
Check that the path contains a valid plugin:
.claude-plugin/plugin.json existsskills/ directory existsInvoke the assessor skill to analyze the plugin:
Skill(skill="plugin-creator:assessor", args="$ARGUMENTS")
This generates:
.claude/plan/refactor-design-{slug}.md.claude/plan/tasks-refactor-{slug}.mdAfter assessment completes, display:
================================================================================
REFACTORING PLAN READY FOR REVIEW
================================================================================
Plugin: $ARGUMENTS
Assessment Score: [X/100]
Plan Files Created:
- Design: .claude/plan/refactor-design-{slug}.md
- Tasks: .claude/plan/tasks-refactor-{slug}.md
Tasks Summary:
- Total tasks: [N]
- Skill splits: [N]
- Agent optimizations: [N]
- Documentation improvements: [N]
Next Steps:
1. Review the plan files
2. Run `/plugin-creator:implement-refactor {slug}` to execute
================================================================================
Ask user:
/plugin-creator:implement-refactor - Execute tasks from plan/plugin-creator:ensure-complete - Validate completed refactoring/plugin-creator:count-lines - Quick line count check# Start refactoring a plugin
/plugin-creator:refactor ./plugins/python3-development
# Start refactoring current directory plugin
/plugin-creator:refactor .