360 Secure SkillHub
360 安全技能中心

principle-attack-the-premise

该 Skill 提供一种调试方法:当两个或更多共享同一前提的修复都未通过同一检查时,先暂停继续修复,把该前提写成一句话,并设计能直接验证它的观察;若证据反驳前提,再检查失败是否具有此前未预料的共性,并优先改变导致该共性的环节。

分类:开发
michael-denyer
热度 0.00
最近更新 2026-11-25 17:32:55

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add michael-denyer/pstack-claude/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.
user-invocable
false

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.