Skip to content
Back to skills

Hive Refactor

ASecurity

Perform a large-scale refactor with staged work and validation; use when changes span many files or modules.

  • 666 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added February 9, 2026
code-qualitygobashgit

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill hive-refactor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hive Refactor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hive Refactor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-hive-refactor/badge)](https://www.skillsdirectory.com/skills/majiayu000-hive-refactor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hive-refactor
description: Perform a large-scale refactor with staged work and validation; use when changes span many files or modules.
---

# Hive Refactor

## Overview

Use mprocs to coordinate a staged refactor across multiple workers.

## Inputs

- Refactor goal and scope

## Workflow

1. Verify `git` and `mprocs` are available.
2. Create `.hive/sessions/<session-id>`.
3. Write `tasks.json` with staged refactor tasks.
4. Write queen and worker prompts (analysis, implementation, tests, docs).
5. Launch mprocs.

## tasks.json Template

```json
{
  "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

```bash
mprocs --config .hive/mprocs.yaml
```

## Output

- Refactor plan, changes, and validation status

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.