From plugin-creator
Starts or completes refactoring tasks from task files. Updates status, implements acceptance criteria based on issue types like SKILL_SPLIT, and runs verification steps.
npx claudepluginhub jamie-bitflight/claude_skills --plugin plugin-creatorThis skill uses the workspace's default tool permissions.
You are implementing a specific refactoring task from a plugin refactoring plan.
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.
Executes multi-phase refactoring with persistent REFACTOR_PLAN.md checkpoints to survive context limits and resume across sessions. For 10+ files or multi-phase changes.
Creates self-contained task files synthesizing proposal, design, and specs into structured breakdowns for code changes. Use when tasks are the next implementation step.
Share bugs, ideas, or general feedback.
You are implementing a specific refactoring task from a plugin refactoring plan.
<task_input> $ARGUMENTS </task_input>
task_file_path: Path to the task file (required)--task <id>: Task ID to start (optional, defaults to first ready task)--complete <id>: Task ID to mark complete (optional)--complete <task-id> Provided๐ IN PROGRESS to โ
COMPLETETask {ID}: {Name} marked as COMPLETEREAD the task file. It contains everything you need:
The task file header links to the design spec. READ it for refactoring context.
If --task <id> specified: Use that task.
Otherwise, find the first task where:
โ NOT STARTEDโ
COMPLETE or "None"If no ready task: Output "No ready tasks" and EXIT.
EDIT the task file: Change โ NOT STARTED to ๐ IN PROGRESS
Commands, agents, and skills placed in default locations (commands/, agents/, skills/) are auto-discovered. Do NOT add them to plugin.json.
If a component is in a non-default location and must be declared:
plugin.json firstDeclaring any subset overrides auto-discovery for the entire key โ unlisted components become invisible. It is all or nothing.
Use the Task API to track acceptance criteria:
TaskCreate(
subject="AC1: {criterion}",
description="{detailed criterion description}",
activeForm="Implementing {criterion}"
)
TaskCreate(
subject="Verification: Run all verification steps",
description="{verification steps}",
activeForm="Running verification"
)
Work through each acceptance criterion based on the issue type:
Mark todos as you complete them.
Run each verification step from the task. All must pass.
Common verification steps:
Read the created/modified files to confirm contentVerify all internal links resolveCheck frontmatter validates against schemaConfirm file structure matches design specWhen all verification passes:
/plugin-creator:start-refactor-task {task_file_path} --complete {task_id}
Other agents may be working nearby on related tasks. If you notice edits to files you didn't make:
Load these skills for guidance on proper formats:
| Skill | Use For |
|---|---|
| claude-skills-overview-2026 | Skill SKILL.md format |
| claude-plugins-reference-2026 | Plugin structure |
| Command format | |
| hooks-guide | Hooks format |
| prompt-optimization | Agent prompt optimization |
Be bold with research. Be skeptical of built-in knowledge.
Your training data may be outdated. The codebase and reference skills are the source of truth.
Before implementing:
# Good: Verify format before writing
READ ./plugins/example-plugin/skills/example/SKILL.md # Check actual format
Skill(skill="plugin-creator:claude-skills-overview-2026") # Load format reference
uvx skilllint@latest check <skill-path> after writing and follow its guidance on sizing)Blocked by dependency: Report which tasks must complete first.
Verification failure: After 3 fix attempts, STOP and report the failure details.
Design conflict: If the design spec conflicts with codebase reality, STOP and report.
Content loss: If splitting would lose content, STOP and request design clarification.