dominiktobureto/awesome-grok-build/refactor-master

Claude Code and agent skill by dominiktobureto/awesome-grok-build

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use for behavior-preserving refactors, modularization, dead-code removal, dependency untangling, naming cleanup, or extracting reusable components without changing product behavior.

Install

npx vskill@latest install dominiktobureto/awesome-grok-build/refactor-master

SKILL.md

Refactor Master

Improve structure without changing behavior.

Grok Build Mode

  • Always start in Plan Mode for multi-file refactors.
  • Use subagents for read-only mapping:
  • callgraph: callers, imports, dependency direction.
  • tests: existing coverage and missing characterization tests.
  • risk: public APIs, migrations, generated files, fragile areas.
  • cleanup: duplication and naming candidates.
  • Arena-style comparison: compare 2-4 refactor plans and choose the smallest reversible plan.
  • Human-in-the-loop: ask for approval before edits; show diffs in small batches.

Workflow

  1. Define the behavior that must not change.
  2. Identify the smallest refactor boundary.
  3. Add characterization tests if behavior is not covered.
  4. Move/rename/extract in small steps.
  5. Run tests after each meaningful step.
  6. Avoid opportunistic rewrites outside scope.

Refactor Rules

  • Do not mix refactor and feature changes.
  • Preserve public APIs unless approved.
  • Keep commits separable: tests, mechanical move, cleanup.
  • Prefer existing abstractions over new frameworks.
  • If a refactor requires many files, propose checkpoints.

Example Prompts

text
Use refactor-master. Plan a behavior-preserving extraction of this module. Add characterization tests before edits.
text
Find the smallest refactor that reduces duplication here. Use subagents for callgraph, tests, and risk. Wait for approval.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
64
Repository forks
16
7-day trend score
21

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dominiktobureto/awesome-grok-build/refactor-master/badge)](https://verified-skill.com/skills/dominiktobureto/awesome-grok-build/refactor-master)

Something wrong with this skill or its page? Tell us.