Saltar al contenido
Skillpedia
Programación general15 mil · #10949

principle-the-algorithm

Qué hace

Ofrece al asistente un método de cinco pasos para cambios grandes: cuestionar el requisito, eliminar, optimizar, acelerar y automatizar. Está pensada para ingenieros que quieren diseños más simples y bien razonados.

Cuándo usarla

  • ✓Cuando vas a diseñar un cambio más grande que una edición sencilla.
  • ✓Cuando un requisito parece añadir complejidad que quizá no hace falta.
  • ✓Cuando quieres comprobar si una parte se puede eliminar antes de optimizarla.

Link de la skill

https://github.com/cursor/plugins/blob/main/dyl-stack/skills/principle-the-algorithm/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/cursor/plugins/blob/main/dyl-stack/skills/principle-the-algorithm/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

“Antes de diseñar esta función, pon a prueba los requisitos y dime qué podemos eliminar.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El asistente primero cuestiona el requisito, luego intenta eliminar con insistencia partes o pasos, después optimiza lo que queda, lo acelera y automatiza al final. Su respuesta nombra lo que se cuestionó y lo que se eliminó.

Contenido técnico (SKILL.md original)

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

The Algorithm

Five steps, in order, for any change bigger than an edit you can see at a glance. The order is the principle. Each step is cheap only after the one before it, and the common failure is doing a late step on something an early step would have removed. Adapted from Elon Musk's five-step engineering process.

  1. Make the requirements less dumb. Assume the requirement is wrong and make it less wrong. It comes from a person, not a department. "The ticket", "the linter", "the reviewer", or "the old code did it" is a source, not a reason; find the person and their reasoning. If you do not agree with the reasoning, do not accept the requirement, however smart the person who gave it, the human included. No is a valid outcome.
  2. Delete the part or process step. Try hardest to delete the part, flag, layer, retry, or step entirely before touching step 3. Optimizing something that should not exist is the biggest mistake smart people make. If you never add anything back, you did not delete enough. Leaf: pstack principle-subtract-before-you-add.
  3. Optimize what survived. Third step, not first. Have one part do many things instead of a parallel copy per caller. Look hardest at boundaries between owners and layers, where a wrapper wraps a wrapper. Leaves: pstack principle-laziness-protocol, principle-minimize-reader-load.
  4. Accelerate. Be the part: walk one change through edit, build, check, and review yourself and note where you wait, crawl, or bounce. Tighten that. Leaf: pstack principle-sequence-verifiable-units.
  5. Automate last, or you automate something that should not exist. Volume alone does not justify it; precision and reviewability do. pstack principle-build-the-lever still applies. It runs on what survived.

Run it again. This is not a one-time gate. Rerun it on the result before you ship; the second pass deletes more.

The tell. A citation of this principle names the requirement you made less dumb, who owned it, and what you deleted. A citation with neither means you skipped it.

Preguntas frecuentes

¿Por qué importa el orden?

Cada paso solo resulta barato después del anterior, así que optimizar algo que no debería existir es un esfuerzo desperdiciado.

¿Puede el asistente rechazar un requisito?

Sí. Si el razonamiento detrás de un requisito no se sostiene, la skill indica que el no es un resultado válido.

¿De dónde viene el método?

La skill indica que está adaptado del proceso de ingeniería de cinco pasos de Elon Musk.

Detalles

Descripción original del autor

Apply to any non-trivial change before designing it. Make the requirement less dumb, delete, optimize, accelerate, automate, in that order, then run it again on the result. The reply names the requirement you questioned and what you deleted.

repo: cursor/plugins

Popularidad

Estrellas en GitHub
15 mil
Posición en el ranking
#10949
Licencia
—
Actualizada
31/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas