vibeeval/vibecosystem/refactor
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Code refactoring workflow - analyze → plan → implement → review → validate
Install
npx vskill@latest install vibeeval/vibecosystem/refactorSKILL.md
/refactor - Refactoring Workflow
Safe refactoring with review gates.
When to Use
- "Refactor X"
- "Clean up this code"
- "Extract this into a module"
- "Improve the architecture of Y"
- Large-scale code restructuring
- Technical debt reduction
Workflow Overview
Agent Sequence
| # | Agent | Role | Output | |
|---|---|---|---|---|
| 1 | phoenix | Analyze current code, identify improvement areas | Analysis report | |
| 2 | plan-agent | Create safe refactoring plan | Step-by-step plan | |
| 3 | kraken | Implement the refactoring | Code changes | |
| 4 | plan-reviewer | Review changes for correctness | Review report | |
| 5 | arbiter | Verify all tests still pass | Test report |
Refactoring Principles
- Tests first: Ensure adequate test coverage before refactoring
- Small steps: Each change should be independently verifiable
- Behavior preserved: No functional changes during refactor
- Reviewable: Changes should be easy to review
Execution
Phase 1: Analyze
Phase 2: Plan
Phase 3: Implement
Phase 4: Review
Phase 5: Validate
Refactoring Types
Extract Module
Rename/Restructure
Architecture Change
Example
Safety Flags
--dry-run: Plan but don't implement--step-by-step: Pause after each change for approval--coverage-check: Require >80% coverage before proceeding
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/refactor/SKILL.md
Popularity
- Repository stars
- 534
- Repository forks
- 45
- Repository npm downloads, 7 days
- 6
- 7-day trend score
- 45
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 29 Apr 2026, 6 months ago.
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
[](https://verified-skill.com/skills/vibeeval/vibecosystem/refactor)