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

principle-attack-the-premise

O que ela faz

Dá ao assistente um método para sair de um ciclo de falhas repetidas. É para engenheiros cujas correções continuam falhando pelo mesmo motivo.

Quando usar

  • ✓Quando duas ou mais correções que compartilham uma suposição falharam na mesma verificação.
  • ✓Quando você está prestes a escrever mais uma correção baseada na mesma crença.
  • ✓Quando correções repetidas continuam falhando e a causa não está clara.

Link da skill

https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-attack-the-premise/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/harness/pstack/claude-code/skills/principle-attack-the-premise/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

“Três correções falharam no mesmo teste. Antes de tentar outra, verifique se nossa suposição básica está errada.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O assistente escreve por escrito a suposição compartilhada, roda um teste que teria um resultado diferente se ela fosse falsa e segue as evidências. Ele remove a condição subjacente em vez de adicionar código compensatório.

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

Texto original do autor, em inglês, direto do GitHub.

Attack the Premise

When two or more fixes that share one premise have failed the same gate, suspect the premise, not the fixes.

Why: Each failed fix is evidence against the belief it assumed. A third fix on the same premise spends effort where the evidence already says the cause is not.

Pattern:

  • Write the premise down. The premise is the one sentence that every failed fix assumed.
  • Test the premise before the next fix. Find an observation that would come out differently if the premise were false, and make it. Look at how the failures are distributed, not only at how large they are. Make the check rerunnable per Build the Lever.
  • Follow the evidence. If it contradicts the premise, the cause is elsewhere. Look for what the failures have in common that the premise did not predict. If it confirms the premise, ask the next "why" per Fix Root Causes. The earlier fixes may have treated a consequence instead of the cause.
  • Remove the condition instead of compensating for it, per the Laziness Protocol. If the evidence shows that one part always lands on the losing side, change what puts it there. A mechanism that cleans up after it leaves the cause in place and adds work on every run.

Stop: Do not start the next fix before the premise is written down and tested.

This principle is distinct from Redesign from First Principles, which rebuilds a design around a new requirement. It questions a fact the current design assumes.

Perguntas frequentes

Por que não tentar outra correção?

Cada correção que falha é uma evidência contra a crença compartilhada, e outra correção construída sobre ela gasta esforço onde as evidências já apontam para outro lado.

E se a suposição estiver correta?

Aí o assistente pergunta de novo por que, para achar a causa real, já que correções anteriores podem ter tratado apenas um sintoma.

O que ele evita?

Camadas de limpeza que contornam uma causa e deixam a causa no lugar.

Detalhes

Descrição original do autor

Apply when two or more fixes that share one premise have failed the same gate. Write the premise down and test it directly before you write another fix that assumes it.

repo: cursor/plugins

Popularidade

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

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas