Saltar al contenido
Skillpedia
Programación general20 mil · #10457

Simplify

Qué hace

Revisa un archivo, una herramienta o una base de código, encuentra las partes duplicadas, muertas o innecesarias, y propone recortes. Es para desarrolladores que quieren reducir el desorden sin romper nada que dependa de ello.

Cuándo usarla

  • ✓Cuando un proyecto se ha desordenado y quieres recortarlo con seguridad.
  • ✓Cuando sospechas que parte del código ya no se usa, pero no estás seguro.
  • ✓Cuando quieres saber qué se podría borrar antes de borrar nada.

Link de la skill

https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Simplify/SKILL.md

Có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

Usa esta skill para ayudarme: https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Simplify/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Revisa este módulo y dime qué podemos borrar con seguridad antes de hacer cualquier cambio.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La skill localiza todos los lugares donde se usa el objetivo, como los que lo llaman, las importaciones y la documentación, y clasifica cada elemento con pruebas. Propone recortes para tu aprobación y aplica solo los aprobados, después de que las comprobaciones confirmen que nada que dependa de ellos ha cambiado.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Simplify

Simplify makes a target smaller and clearer without breaking anything that depends on it. A target can be a file, a skill, a tool, a subsystem or a whole repo. The work comes in three intents, each building on the record from the one before: Survey maps the target read-only, Propose ranks the cuts and holds them for a yes, and Apply lands the approved cuts with proven parity. The central rule: a cut never drops a behaviour that a dependent or ISA criterion relies on, and anything the evidence cannot explain stays. Records sit next to the target's ISA when there is one.

Ideal State

  • The target ends smaller and clearer, and every behaviour a dependent or ISA criterion relies on still works, shown by the same baseline checks passing before and after.
  • No element is cut on looks: each cut rests on a survey finding with its searches cited, and anything the evidence cannot explain stays.
  • Nothing changes until the principal approves the specific rows, and a delete of irreplaceable content gets its own yes.
  • Each stage leaves its record under LIFEOS/MEMORY/WORK/{slug}/simplify/, so the next stage builds on evidence rather than on memory.

Intent Routing

Intent Trigger File
Survey "simplify X", "what can we delete", "map this before we cut", "is this dead" Intents/Survey.md
Propose "what would you cut", "propose the simplifications", follows Survey in the same run Intents/Propose.md
Apply "apply them", "y" or approved row numbers after a proposal Intents/Apply.md

A bare "simplify X" runs Survey and then Propose, and stops at the proposal. A Survey-only request, which is how a read-only analysis calls this skill, stops at the survey.

Data & Config

None. This skill reads no config and needs no account or key. Each stage writes its record under LIFEOS/MEMORY/WORK/{slug}/simplify/ next to the target's ISA, if it has one; nothing else is created.

Gotchas

  • Zero code-search hits does not mean dead. LifeOS calls a great deal of code by string: hook registrations in settings.json, launchd plists, workflow YAML, skill routing tables, spawned commands and dynamic imports. ReferenceCheck.ts --shipped-paths exists because plain path scans missed spawn and dynamic-import specifiers.
  • The file can change mid-run. Memory loops and peer sessions write to the same trees. A file edited after its survey is re-read before it is touched (Trim, where a concurrent deploy-command fix was nearly reverted).

Examples

Example 1: Simplify a tool

User: "simplify LIFEOS/TOOLS/ReferenceCheck.ts"
→ Survey intent, then Propose
→ Purpose from its header and DocCheck lineage, every caller, findings per function, test baseline
→ A ranked table of cuts, each with its parity check, held for y

Example 2: Land the approved cuts

User: "y, but skip 4"
→ Apply intent
→ Rows 1–3 and 5 land as separate commits, tests show the same pass count before and after, and the measured reduction sits beside the estimate

Example 3: An always-on context file

User: "simplify CLAUDE.md"
→ Routed to Trim, which owns always-on context files and their directive-coverage gate
Preguntas frecuentes

¿Borrará cosas sin preguntar?

No. No cambia nada hasta que apruebes los elementos concretos.

¿Qué pasa si no puede saber si algo se usa?

Conserva cualquier cosa que las pruebas no puedan explicar.

¿Dónde se guardan sus registros?

Cada etapa escribe un registro en una carpeta de ese proyecto, para que los pasos posteriores se basen en pruebas.

Detalles

Descripción original del autor

Research-first simplification of any file, skill, tool, subsystem or codebase against its ideal state: reads its ISA or derives its purpose, maps every dependent (callers, imports, references, hooks, settings, docs, tests), classifies each element with evidence as load-bearing, duplicate, dead, cruft or over-abstracted, then proposes and applies cuts that keep every behaviour a dependent relies on, proven by before-and-after parity checks. USE WHEN simplify, simplify this, simplify this system, remove cruft, remove duplication, dedupe, dead code, clean this up, this has gotten bloated, too com

repo: danielmiessler/LifeOS

Popularidad

Estrellas en GitHub
20 mil
Posición en el ranking
#10457
Licencia
MIT
Actualizada
28/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas