re-create
Qué hace
Esta herramienta borra por completo un archivo o una sección de código y lo vuelve a escribir desde cero. Solo debe usarse cuando el código está tan desordenado que no compensa arreglarlo pieza a pieza.
Cuándo usarla
- ✓Cuando el código está tan desordenado que arreglarlo solo empeora las cosas.
- ✓Cuando el código antiguo ya no funciona y necesita rehacerse por completo.
- ✓Cuando mantener el código actual cuesta demasiado tiempo y esfuerzo.
Link de la skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/re-create/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Borra y reescribe el archivo 'calculator.js' porque tiene problemas estructurales graves y ya no puedo arreglarlo.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Primero, la IA explica por qué arreglarlo ya no es una opción y enumera todo lo que hay que conservar. Después, con tu permiso, borra el código antiguo y escribe código nuevo, asegurándose de que lo importante siga funcionando.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
re-create — Controlled Erasure & Rebuild Protocol
Overview
Hollow Purple is Gojo's most destructive technique — blue and red combined into total erasure of the target. But Gojo doesn't use it carelessly. He knows exactly what he's erasing and why. Same here: this skill is the nuclear option, invoked only when patching is the wrong call, executed with full control over what gets erased and what must survive.
Rewrites are dangerous not because rebuilding is hard, but because it is easy to silently erase behavior that was working and expected. This skill enforces a complete inventory of what must survive before a single line is deleted, and a full verification that everything survived after the rebuild.
When to Use This Skill
- Use when a file, module, or component needs to be completely deleted and rewritten from scratch
- Use when structural rot is so deep that individual fixes would only make it worse
- Use when accumulated technical debt makes the code unmaintainable
- Use when the target is fundamentally broken and beyond saving
- DO NOT use for partial refactors, single-function fixes, or targeted edits
How It Works
PHASE 1 — Justify the Erasure
The AI must prove that a full rewrite is necessary. It must answer all of the following:
- What specifically is broken or unsalvageable?
- Not "it's messy" — specific structural problems that make targeted fixes impossible or counterproductive
- Why would targeted edits make things worse, not better?
- Patching on top of rot, compounding complexity, architectural mismatch
- What is the concrete cost of keeping the current implementation?
- Maintenance burden, bug surface, performance, developer velocity
If the AI cannot clearly answer all three, it must fall back to targeted edits instead of a rewrite. A rewrite is not a reward for messy code — it is a last resort.
The bar is high. "This code is ugly" does not justify hollow purple. "The architecture assumes X but the system now requires Y and every patch makes the mismatch worse" does.
PHASE 2 — Read the Target Completely
Before proposing deletion, the AI must read the entire target (file, module, or component) in full.
The AI must identify and catalog:
- Public interfaces — functions, classes, types, or exports that other parts of the codebase call
- Implicit contracts — behaviors that other files depend on even if not formally typed
- Working behaviors — things the current implementation does correctly that must continue to work
- Non-obvious logic — edge cases, guards, or special handling that looks incidental but is intentional
- Blast radius — every file in the codebase that imports from or depends on the target
The AI cannot skip this phase even if it has read the file before. The purpose is not familiarity — it is building the Preservation List.
PHASE 3 — Erasure Declaration (User Must Confirm)
The AI outputs a complete erasure plan and waits for user confirmation before deleting or writing anything.
HOLLOW PURPLE — ERASURE PLAN
─────────────────────────────────────────
TARGET FOR ERASURE:
[file path or module name]
WHY TARGETED FIXES ARE WRONG:
[specific justification — architectural rot, fundamental mismatch, etc.]
PRESERVATION LIST (must survive the rewrite):
- [public interface / export 1] → [what it does, who depends on it]
- [public interface / export 2] → [what it does, who depends on it]
- [working behavior 1] → [what it does, why it must be kept]
- [non-obvious logic 1] → [what it guards against]
BLAST RADIUS (files that depend on the target):
- [file path] → depends on [what specifically]
- [file path] → depends on [what specifically]
NEW IMPLEMENTATION PLAN:
[Description of what the rebuild will look like — structure, approach, key decisions]
WHAT WILL NOT BE PRESERVED:
[Anything intentionally dropped and why — dead code, deprecated behavior, etc.]
─────────────────────────────────────────
Confirm to proceed with erasure and rebuild.
Nothing is deleted until the user explicitly confirms. A reply of "yes", "confirmed", "do it", or equivalent counts. Silence does not.
PHASE 4 — Controlled Erasure
User confirms → the target is deleted. Rules for this phase:
- Delete cleanly. Not commented out, not renamed to
_old, not archived in place — deleted.
…
Preguntas frecuentes
¿Cuándo NO debo usarla?
No la uses para pequeños arreglos, para cambiar una sola función ni para hacer mejoras sencillas. Úsala solo como último recurso.
¿La IA borrará todo sin preguntar?
No. La IA te mostrará un plan detallado de lo que se borrará y de lo que se conservará, y tendrás que confirmar antes de que pase nada.
¿Qué pasa después de que la IA reescribe el código?
La IA comprueba que todo lo importante siga funcionando y que los demás archivos que usaban el código antiguo puedan seguir usando el nuevo sin problemas.
Detalles
Descripción original del autor
Completely delete and rewrite a file or module from scratch when structural rot makes patching impossible.
Popularidad
- Estrellas en GitHub
- 48 mil
- Posición en el ranking
- #5572
- Licencia
- MIT
- Actualizada
- 15/10/2026
Comentarios
- …
Más skills de este repositorio
00-andruia-consultant
48 milAyuda a tu agente a iniciar o mejorar proyectos de IA. Analiza código, sugiere herramientas y crea planes de acción en español.
007
48 milPermite que tu agente realice auditorías de seguridad y modelado de amenazas. Es útil para proteger proyectos contra ataques y vulnerabilidades.
10-andruia-skill-smith
48 milAyuda a tu agente a crear o mejorar herramientas de IA. Define cómo funcionan, escribe la documentación y valida la estructura.
20-andruia-niche-intelligence
48 milPermite que tu agente cree un resumen de un sector específico. Es útil para entender su contexto, normas, patrones de uso y riesgos, usando fuentes fiables.
Skills parecidas
diffs
394 milPermite que tu agente genere un diff real y compartible de los cambios, como enlace de visualización o archivo de imagen, en lugar de un resumen escrito a mano.
coding-agent
394 milAyuda a tu agente a pasar un trabajo de programación grande a Codex, Claude Code u OpenCode como trabajador en segundo plano, y después revisar su progreso.
gh-issues
394 milAyuda a tu agente a encontrar incidencias de GitHub, elegir cuáles trabajar y abrir pull requests con correcciones, incluido el seguimiento de los comentarios de revisión.