Agent skill

Vibecoding Refactor

by GCWing in GCWing/vibecoding-refactor-skill

Vibe Coding Engineering Refactoring Methodology. An agent skill from GCWing/vibecoding-refactor-skill.

No licenceAuto-check passedDevelopment

Install Vibecoding Refactor

skills CLI
$ npx skills add GCWing/vibecoding-refactor-skill --skill vibecoding-refactor -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install GCWing/vibecoding-refactor-skill vibecoding-refactor --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
vibecoding-refactor
GitHub stars
221
Token cost
~6k tokens
SKILL.md length
1,011 words
Files
24
Skills in repo
1
Repo updated
First seen
Licence
None found

At a glance

Vibe Coding Engineering Refactoring Methodology. An agent skill from GCWing/vibecoding-refactor-skill.

  • Works in 6 steps: Project Partition (Required) → Key Identification (Required) → Architecture Layer Analysis (Required) → …
  • Asked to refactor code
  • SKILL.md covers ⚠️ Core Principle: Deep…, ⚡ Quick Recovery Entry (New…, Constitutional Principles and Workflow (Six Phases), plus 5 more sections
  • Calls rg, cargo and npm

What it does

Vibecoding Refactor is an agent skill from GCWing/vibecoding-refactor-skill. Vibe Coding Engineering Refactoring Methodology. Systematically refactor AI-generated code through architecture-layer and module-layer deep analysis, discovering duplicate implementations, unused resources, inconsistent patterns, and other typical problems. Supports persistent task management for incremental execution. Use when asked to refactor code, clean up patches, improve code quality, analyze architecture, or optimize codebase.

Its SKILL.md is about 6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 27 other files (for example `README.md`, `README.zh-CN.md` and `analysis/architecture-analysis.md`).

It sits in Development, covering Refactoring.

When your agent uses it

  • Asked to refactor code
  • Clean up patches
  • Improve code quality
  • Analyze architecture

Example prompts

  • “/vibecoding-refactor”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Project Partition (Required)
  2. Key Identification (Required)
  3. Architecture Layer Analysis (Required)
  4. Module Layer Analysis (Core!)
  5. Execute Refactoring
  6. Finalize and Verify

What it can do on your machine

Read from SKILL.md and the folder at commit ccc15c5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • rg
    • cargo
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Vibecoding Refactor loads about 6k tokens when it runs. Until then it costs about 114 tokens; SKILL.md has 1,011 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~114
When it runs · the whole SKILL.md, loaded when a task matches
~6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,011 words (~5,978 tokens).

“A complete methodology for systematically refactoring AI-generated code, supporting task splitting, persistence, and incremental execution for large refactoring projects.”

— opening of SKILL.md by GCWing
name
vibecoding-refactor

Read the full SKILL.md on GitHub

Files

SKILL.md and 23 other files in the repository root of GCWing/vibecoding-refactor-skill.

  • SKILL.md
  • README.md
  • README.zh-CN.md
  • analysis/architecture-analysis.md
  • analysis/code-analysis.md
  • analysis/deep-analysis.md
  • analysis/quality-assessment.md
  • patterns/refactor-patterns.md
  • patterns/vibe-coding-problems.md
  • strategies/dependency-sorting.md
  • strategies/parallel-execution.md
  • strategies/partition-strategies.md
  • workspace/diagram-conventions.md
  • workspace/recovery-guide.md
  • workspace/session-management.md
  • workspace/task-lifecycle.md
  • workspace/templates
  • … and 7 more

Open the folder on GitHubat commit ccc15c5

Compare with similar skills

Vibecoding Refactor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Vibecoding Refactor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Vibecoding Refactor this skillGCWing/vibecoding-refactor-skill221—~6kAutomated safety check: PassNone
Guidelinesakash-network/node1.1k22 repos~577Automated safety check: PassMIT
Component Refactoringlangflow-ai/langflow156k—~3.5kAutomated safety check: PassMIT
Migrate Core Code to Submodulestinyhumansai/openhuman42k—~2.6kAutomated safety check: PassGPL-3.0
Systematic Code Refactoringluongnv89/claude-howto42k—~3kAutomated safety check: PassMIT
Codexskills-directory/skill-codex1.5k3 repos~1.8kAutomated safety check: PassMIT

Similar skills

  • Guidelines

    akash-network/node

    Behavioral guidelines to reduce common LLM coding mistakes. An agent skill from akash-network/node.

    1.1k GitHub starsUsed in 22 repos~577 tokens
    DevelopmentAuto-check passed
  • Component Refactoring

    langflow-ai/langflow

    Refactor high-complexity React components in Langflow frontend.

    156k GitHub stars~3.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Migrate Core Code to Submodules

    tinyhumansai/openhuman

    Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.

    42k GitHub stars~2.6k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Systematic Code Refactoring

    luongnv89/claude-howto

    Guides refactoring in phases based on Martin Fowler's method: research, test coverage check, planning and small tested steps, with your approval at each phase.

    42k GitHub stars~3k tokensUpdated 8 days ago
    DevelopmentAuto-check passed
  • Codex

    skills-directory/skill-codex

    A skill your agent uses when the user asks to run Codex CLI (codex exec, codex resume) or references OpenAI Codex for code analysis, refactoring, or automated editing

    1.5k GitHub starsUsed in 3 repos~1.8k tokens
    DevelopmentAuto-check passed
  • Ponytail

    DavidObando/gsharp

    Forces the laziest solution that actually works, simplest, shortest, most minimal.

    565 GitHub starsUsed in 8 repos~1.7k tokens
    DevelopmentAuto-check passed

Categories

Questions about Vibecoding Refactor

What does Vibecoding Refactor do?

Vibe Coding Engineering Refactoring Methodology. An agent skill from GCWing/vibecoding-refactor-skill. Vibecoding Refactor is an agent skill from GCWing/vibecoding-refactor-skill. Vibe Coding Engineering Refactoring Methodology.

When should I use Vibecoding Refactor?

Vibecoding Refactor fits situations like: asked to refactor code; clean up patches; improve code quality; analyze architecture.

How do I install Vibecoding Refactor in Claude Code?

Run `npx skills add GCWing/vibecoding-refactor-skill --skill vibecoding-refactor -a claude-code`. Or copy the skill folder (the GCWing/vibecoding-refactor-skill repository) into .claude/skills/vibecoding-refactor in your project. Claude Code loads it when a task matches its description.

How do I install Vibecoding Refactor in Codex?

Run `npx skills add GCWing/vibecoding-refactor-skill --skill vibecoding-refactor -a codex`. Or copy the skill folder (the GCWing/vibecoding-refactor-skill repository) into .agents/skills/vibecoding-refactor in your project. Codex loads it when a task matches its description.

Can I use Vibecoding Refactor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add GCWing/vibecoding-refactor-skill --skill vibecoding-refactor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/vibecoding-refactor, .gemini/skills/vibecoding-refactor, .github/skills/vibecoding-refactor and .opencode/skills/vibecoding-refactor in your project.

What does Vibecoding Refactor need to run?

Going by SKILL.md and its folder, Vibecoding Refactor needs the command-line tools its instructions call (rg, cargo and npm).

Does Vibecoding Refactor access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Vibecoding Refactor safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Vibecoding Refactor use?

No licence was found for Vibecoding Refactor or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Vibecoding Refactor use?

About 6k tokens (SKILL.md is roughly 24k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Vibecoding Refactor?

Skills that share tags, products or a category with Vibecoding Refactor: Guidelines (akash-network/node, 1.1k stars), Component Refactoring (langflow-ai/langflow, 156k stars), Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars) and Systematic Code Refactoring (luongnv89/claude-howto, 42k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Vibecoding Refactor?

GCWing (a GitHub user) maintains it in GCWing/vibecoding-refactor-skill, which has 221 GitHub stars. The repository was last updated on January 24, 2026.

Source: GCWing/vibecoding-refactor-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.