
gcwing/vibecoding-refactor-skill
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
gcwing / vibecoding-refactor-skill - кандидат на агентский навык, импортированный из https://github.com/gcwing/vibecoding-refactor-skill.
Обзор
gcwing / vibecoding-refactor-skill - кандидат на агентский навык, импортированный из https://github.com/gcwing/vibecoding-refactor-skill.
Обзор (машинный перевод)
Английский | 中
Систематическая методология рефакторинга кода, генерируемого ИИ (Vibe Coding). Помогает обнаружить дублирующие реализации, неиспользуемые ресурсы и непоследовательные шаблоны.
Особенности
Шестифазный рабочий процесс** Структурированный подход от анализа к проверке
** Методы глубокого анализа** - Обнаружение проблем архитектурного и модульного уровней
Инвентаризация ресурсов - Комплексное обнаружение многоразовых компонентов и инфраструктуры
Task Persistence - Все результаты анализа и прогресс сохранены в каталоге .refactor/
- Session Recovery - Поддерживает постепенное выполнение через сеансы; новые агенты могут возобновить работу именно там, где остановлено
##Проблема
В режиме Vibe Coding ИИ ограничен контекстными окнами и пытается увидеть общую картину крупных проектов. Межсессионная разработка приводит к фрагментированному контексту, а код развивается через инкрементные патчи. Со временем в проектах накапливаются проблемы: дублирование реализаций, неиспользуемые библиотеки компонентов, хаос шаблонов и стремительно растущие расходы на техническое обслуживание.
Как использовать
в Курсор
Способ 1: Как навык (рекомендуется)
- Копировать эту папку
~/.cursor/skills/vibecoding-refactor/
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Vibe Coding Refactor
A systematic methodology for refactoring AI-generated code (Vibe Coding). Helps you discover duplicate implementations, unused resources, and inconsistent patterns.
Features
- Six-Phase Workflow - Structured approach from analysis to verification
- Deep Analysis Methods - Architecture-layer and module-layer problem detection
- Resource Inventory - Comprehensive discovery of reusable components and infrastructure
- Task Persistence - All analysis results and progress saved to
.refactor/directory - Session Recovery - Supports incremental execution across sessions; new agents can resume exactly where left off
The Problem
In Vibe Coding mode, AI is limited by context windows and struggles to see the big picture of large projects. Cross-session development leads to fragmented context, and code evolves through incremental patches. Over time, projects accumulate problems: duplicate implementations, unused component libraries, pattern chaos, and skyrocketing maintenance costs.
How to Use
In Cursor
Method 1: As a Skill (Recommended)
- Copy this folder to
~/.cursor/skills/vibecoding-refactor/ - Cursor will automatically detect and use the skill when you ask to:
- “Refactor this codebase”
- “Clean up the code”
- “Analyze the architecture”
- “Improve code quality”
Method 2: Reference Directly
Simply reference SKILL.md in your prompt:
@SKILL.md Please analyze and refactor this project
In Claude Code (claude-code CLI)
Method 1: As AGENTS.md
- Copy the content from
SKILL.mdto your project’sAGENTS.mdfile - Claude Code will automatically follow the methodology
Method 2: Reference in Prompt
# Reference the skill file directly
claude "Read @SKILL.md and refactor this project following the methodology"
Method 3: Using /read Command
claude
> /read /path/to/vibecoding-refactor/SKILL.md
> Please refactor this codebase following the methodology
Quick Commands
| Goal | Prompt |
|---|---|
| Full refactor | “Refactor this codebase following the Vibe Coding methodology” |
| Continue work | “Continue refactoring” (if .refactor/ exists) |
| Architecture only | “Analyze the architecture layer only” |
| Specific module | “Analyze the [module-name] module” |
Core Workflow
Phase 0 Phase 1 Phase 2 Phase 3 Phase 4 Phase 5
Partition → Key Identify → Architecture → Module Layer → Execute → Finalize
Analysis Analysis Refactor Verify
- Phase 0: Project Partition - Inventory all reusable resources
- Phase 1: Key Identification - Identify core features to analyze
Рекомендуемые инструменты
Попробуйте другой запрос или уберите фильтр.
Установка
npx skillfish add gcwing/vibecoding-refactor-skill