From plugin-creator
Orchestrates plugin refactoring workflow: assesses structure, generates design specs and task plans, guides agent execution. Use for complete Claude Code plugin refactors.
npx claudepluginhub jamie-bitflight/claude_skills --plugin plugin-creatorThis skill uses the workspace's default tool permissions.
<plugin_path>$ARGUMENTS</plugin_path>
Executes refactoring tasks from /assessor: reads task files, resolves dependencies, delegates to specialist agents (SKILL_SPLIT, AGENT_OPTIMIZE, DOC_IMPROVE), orchestrates parallel execution and tracks completion.
Refactors Claude Code plugins to official best practices via health checks, structural analysis, refactoring plans, execution, and verification. Triggers on refactor/audit requests or drift detection.
Validates Claude Code plugin structure and manifest, launches agent to fix issues with user confirmation, increments version, re-validates, and reports. For plugin quality optimization.
Share bugs, ideas, or general feedback.
<plugin_path>$ARGUMENTS</plugin_path>
Start a comprehensive plugin refactoring workflow for the specified plugin.
<plugin_path/>: 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="<plugin_path/>")
This generates:
.claude/plan/refactor-design-{slug}.md.claude/plan/tasks-refactor-{slug}.mdAfter assessment completes, display:
================================================================================
REFACTORING PLAN READY FOR REVIEW
================================================================================
Plugin: <plugin_path/>
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 .