Pular para o conteúdo
Skillpedia
Código em geral15 mil · #10949

principle-the-algorithm

O que ela faz

Dá ao assistente um método de cinco passos para mudanças maiores: questionar o requisito, eliminar, otimizar, acelerar e automatizar. É para engenheiros que querem projetos mais simples e bem fundamentados.

Quando usar

  • ✓Quando você está prestes a projetar uma mudança maior do que uma edição simples.
  • ✓Quando um requisito parece adicionar complexidade que pode não ser necessária.
  • ✓Quando você quer verificar se uma parte pode ser eliminada antes de otimizá-la.

Link da skill

https://github.com/cursor/plugins/blob/main/dyl-stack/skills/principle-the-algorithm/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/cursor/plugins/blob/main/dyl-stack/skills/principle-the-algorithm/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Antes de projetarmos esta funcionalidade, questione os requisitos e me diga o que podemos eliminar.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O assistente questiona o requisito primeiro, depois tenta com afinco eliminar partes ou etapas, otimiza o que restou, acelera e automatiza por último. A resposta dele diz o que foi questionado e o que foi eliminado.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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.

Perguntas frequentes

Por que a ordem importa?

Cada etapa só é barata depois da anterior, então otimizar algo que não deveria existir desperdiça esforço.

O assistente pode rejeitar um requisito?

Sim. Se o raciocínio por trás de um requisito não se sustentar, a skill diz que o não é um resultado válido.

De onde vem o método?

A skill diz que ele é adaptado do processo de engenharia de cinco passos de Elon Musk.

Detalhes

Descrição original do 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

Popularidade

Estrelas no GitHub
15 mil
Posição no ranking
#10949
Licença
—
Atualizada em
31/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas