vue-refactor

Community

Your companion for safe Vue refactors.

Authorliuzhengdongfortest
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill acts as a diagnostic and coaching assistant for refactoring Vue code. It analyzes a given Vue component or SFC, identifies common pain points like a too-fat main branch, UI/IO entanglement, or reactive-business entanglement, and prescribes one of three safe decoupling strategies. It guides through compiler-driven steps to keep behavior equivalent and to return the codebase to a green state, always prioritizing incremental, auditable moves with rollbacks.

Core Features & Use Cases

  • Diagnostic decision tree: detects fat trunk, UI/IO entanglement, and reactive-business coupling.
  • Prescription-driven refactor: chooses one of three safe recipes (outward move, humble/controller split, thin composable) and guides step-by-step.
  • Compiler-guided execution: ensures each micro-move preserves external behavior with green compilations and clear rollback points.
  • Collaboration rhythm: presents a paused, decision-point workflow for incremental, auditable changes.

Quick Start

Paste a Vue component path or code snippet; the Skill will diagnose the fat trunk and IO/reactivity entanglements and propose a prescription with incremental steps.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: vue-refactor
Download link: https://github.com/liuzhengdongfortest/skills-plus/archive/main.zip#vue-refactor

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.