Skip to content
Back to skills

Refactor

ASecurity

Restructure specified code while preserving observable behavior and verifying affected callers.

  • 545 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 8, 2026
ai-agentsgocode-review

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add vibeeval/vibecosystem --skill refactor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Refactor?

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

Security grade badge for Refactor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vibeeval-refactor/badge)](https://www.skillsdirectory.com/skills/vibeeval-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: refactor
description: Restructure specified code while preserving observable behavior and verifying affected callers.
---

# Refactor

Inspect the requested area, consumers, public contracts and tests. Identify the maintenance problem and keep unrelated cleanup out of scope.

For a small extraction or rename, check callers and implement directly. For changes across boundaries, state the target structure and staged compatibility plan. Preserve state formats, errors and public interfaces unless the user requested a change.

Establish behavior using existing checks; add characterization coverage for an important untested boundary. Make cohesive edits, update consumers and run focused checks. Broaden verification for shared contracts. Compare the final diff with the goal.

An installed Claude `refactor-cleaner`, `architect` or `code-reviewer` may help with an independent scope. A multi-agent pipeline is optional; Codex keeps parent worker settings.

Report the structural improvement, evidence of preserved behavior, compatibility implications and risks. Do not automatically commit, migrate or publish.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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