360 Secure SkillHub
360 安全技能中心

principle-attack-the-premise

该 Skill 提供一条调试原则:当两个或多个共享同一前提的修复连续未通过同一验证环节时,先明确该前提,设计能区分其真伪的观察并检验,再根据失败分布判断是否应改变导致失败的机制,而不是继续增加修复。

分类:开发
mdsmithaustin
热度 0.00
最近更新 2026-11-26 11:31:34

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add mdsmithaustin/pstack/principle-attack-the-premise
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
principle-attack-the-premise
description
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.

Attack the Premise

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

  • Write the premise down: the one sentence every failed fix assumed.
  • Test it 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.
  • If the evidence contradicts the premise, look for what the failures share that it did not predict. If one part always lands on the losing side, change what puts it there instead of adding a mechanism that cleans up after it.

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