Claude-skill-registry hive-refactor
Perform a large-scale refactor with staged work and validation; use when changes span many files or modules.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/hive-refactor" ~/.claude/skills/majiayu000-claude-skill-registry-hive-refactor && rm -rf "$T"
manifest:
skills/data/hive-refactor/SKILL.mdsource content
Hive Refactor
Overview
Use mprocs to coordinate a staged refactor across multiple workers.
Inputs
- Refactor goal and scope
Workflow
- Verify
andgit
are available.mprocs - Create
..hive/sessions/<session-id> - Write
with staged refactor tasks.tasks.json - Write queen and worker prompts (analysis, implementation, tests, docs).
- Launch mprocs.
tasks.json Template
{ "session": "{SESSION_ID}", "created": "{ISO_TIMESTAMP}", "status": "active", "thread_type": "Hive", "task_type": "hive-refactor", "tasks": [ {"id": "analysis", "owner": "queen", "status": "pending"}, {"id": "impl-1", "owner": "worker-1", "status": "pending"}, {"id": "impl-2", "owner": "worker-2", "status": "pending"}, {"id": "tests", "owner": "worker-3", "status": "pending"} ] }
mprocs Launch
mprocs --config .hive/mprocs.yaml
Output
- Refactor plan, changes, and validation status