[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DMFG2ZSG4E38P8ZVZF6PPP":3,"skill-same:01M7DMFG2ZSG4E38P8ZVZF6PPP":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":44},"01M7DMFG2ZSG4E38P8ZVZF6PPP","principle-attack-the-premise",null,"当两个或多个共享同一前提的修复在同一关卡失败时适用。再写下一个基于该前提的修复前，先写下前提并直接检验。","fenfenxu\u002Fpstack-zh","fenfenxu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2194243?v=4","01M7DMDSWBASX3NXC18FPHDJ8G","01M7DMDSWV8ASCZ4PH6YFXHPSJ",3,"MIT","https:\u002F\u002Fgithub.com\u002Ffenfenxu\u002Fpstack-zh\u002Fblob\u002Fmain\u002Fskills\u002Fprinciple-attack-the-premise\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: principle-attack-the-premise\ndescription: \"当两个或多个共享同一前提的修复在同一关卡失败时适用。再写下一个基于该前提的修复前，先写下前提并直接检验。\"\ndisable-model-invocation: true\n---\n\n# 攻击前提\n\n当两个或多个共享同一前提的修复在同一关卡失败时，应怀疑前提，而非修复本身。\n\n**原因：** 每个失败的修复，都是反驳它所依据的信念的证据。第三个基于同一前提的修复，会把精力花在证据已经表明不是原因的地方。\n\n**模式：**\n- **把前提写下来。** 前提就是每个失败修复都假设的那一句话。\n- **在下次修复前检验前提。** 找一种在前提不成立时会得出不同结果的观察，并实际检查。不要只看失败有多大，还要看失败如何分布。按 [Build the Lever](..\u002Fprinciple-build-the-lever\u002FSKILL.md) 把这项检查写成可重复运行的脚本。\n- **顺着证据走。** 如果证据与前提矛盾，原因就在别处。找出失败之间有哪些前提没有预测到的共同点。如果证据证实了前提，就按 [Fix Root Causes](..\u002Fprinciple-fix-root-causes\u002FSKILL.md) 继续问下一个「为什么」。此前的修复也许只处理了后果，没有处理原因。\n- **消除这个条件，而不是补偿它**，见 [Laziness Protocol](..\u002Fprinciple-laziness-protocol\u002FSKILL.md)。如果证据表明某个部分总是处于不利位置，就改变把它置于这一位置的机制。事后清理的机制会保留原因，并在每次运行时增加工作。\n\n**停止：** 在前提写下并经过检验之前，不要开始下一次修复。\n\n本原则不同于 [Redesign from First Principles](..\u002Fprinciple-redesign-from-first-principles\u002FSKILL.md)，后者围绕新需求重建设计。本原则质疑的是当前设计所假设的事实。\n","# 攻击前提\n\n当两个或多个共享同一前提的修复在同一关卡失败时，应怀疑前提，而非修复本身。\n\n**原因：** 每个失败的修复，都是反驳它所依据的信念的证据。第三个基于同一前提的修复，会把精力花在证据已经表明不是原因的地方。\n\n**模式：**\n- **把前提写下来。** 前提就是每个失败修复都假设的那一句话。\n- **在下次修复前检验前提。** 找一种在前提不成立时会得出不同结果的观察，并实际检查。不要只看失败有多大，还要看失败如何分布。按 [Build the Lever](..\u002Fprinciple-build-the-lever\u002FSKILL.md) 把这项检查写成可重复运行的脚本。\n- **顺着证据走。** 如果证据与前提矛盾，原因就在别处。找出失败之间有哪些前提没有预测到的共同点。如果证据证实了前提，就按 [Fix Root Causes](..\u002Fprinciple-fix-root-causes\u002FSKILL.md) 继续问下一个「为什么」。此前的修复也许只处理了后果，没有处理原因。\n- **消除这个条件，而不是补偿它**，见 [Laziness Protocol](..\u002Fprinciple-laziness-protocol\u002FSKILL.md)。如果证据表明某个部分总是处于不利位置，就改变把它置于这一位置的机制。事后清理的机制会保留原因，并在每次运行时增加工作。\n\n**停止：** 在前提写下并经过检验之前，不要开始下一次修复。\n\n本原则不同于 [Redesign from First Principles](..\u002Fprinciple-redesign-from-first-principles\u002FSKILL.md)，后者围绕新需求重建设计。本原则质疑的是当前设计所假设的事实。\n",{"name":5,"description":7,"disable-model-invocation":23},true,"main","e4477188d43269545432a83e4ac5d0733a812d09","skills\u002Fprinciple-attack-the-premise",0,"https:\u002F\u002Fgithub.com\u002Ffenfenxu\u002Fpstack-zh","http:\u002F\u002Fpstack.ganhai.cloud","https:\u002F\u002Fgithub.com\u002Ffenfenxu","2026-10-21 12:14:41",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":23},[34,37,40],{"tool":35,"command":36},"npx","npx skills add fenfenxu\u002Fpstack-zh --skill principle-attack-the-premise",{"tool":38,"command":39},"bunx","bunx skills add fenfenxu\u002Fpstack-zh --skill principle-attack-the-premise",{"tool":41,"command":42},"pnpm","pnpm dlx skills add fenfenxu\u002Fpstack-zh --skill principle-attack-the-premise","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffenfenxu\u002Fpstack-zh\u002Fblob\u002Fmain\u002Fskills\u002Fprinciple-attack-the-premise\u002FSKILL.md",[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M7DMHJV7QMEE1F43FFW98FV8","why","用于「为什么 X 是这样实现的」「为什么选了 Y」、设计理由、回归、事后复盘，或数据支撑的阈值问题。发现可用 MCP 并并行查询各证据类别（源码控制、工单跟踪、长文文档、实时聊天、基础设施可观测性、错误跟踪、产品分析数仓），然后返回带引用的决策与权衡解读。运行时行为请用 how。","https:\u002F\u002Fgithub.com\u002Ffenfenxu\u002Fpstack-zh\u002Fblob\u002Fmain\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M7DMHHRSS2SCZN6HWSANBJ35","unslop","从任意写作中剔除 AI 痕迹。","https:\u002F\u002Fgithub.com\u002Ffenfenxu\u002Fpstack-zh\u002Fblob\u002Fmain\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M7DMHGFGH2YT86WQ6A53693W","typescript-best-practices","TypeScript 最佳实践。读取或编辑任意 .ts 或 .tsx 文件时使用。","https:\u002F\u002Fgithub.com\u002Ffenfenxu\u002Fpstack-zh\u002Fblob\u002Fmain\u002Fskills\u002Ftypescript-best-practices\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7DMHEA1EGG2D9XQ33N66GDS","technical-writing","分层技术写作标准：Diátaxis 结构、Google 开发者风格句子、STE 指令规则、Global English 句法。用于 \u002Ftechnical-writing，或撰写\u002F审查文档、RFC、README、PR 描述、commit message 时。","https:\u002F\u002Fgithub.com\u002Ffenfenxu\u002Fpstack-zh\u002Fblob\u002Fmain\u002Fskills\u002Ftechnical-writing\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M7DMHCEXE1YRDR6XC1RXBG76","teach","用平实语言解释一段工作，让人真正理解。运行 how 与 why skill，把发现织成一份清晰说明。用于「teach me this」「help me really understand X」「explain this change or subsystem to me」。","https:\u002F\u002Fgithub.com\u002Ffenfenxu\u002Fpstack-zh\u002Fblob\u002Fmain\u002Fskills\u002Fteach\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M7DMH9KNBP83SHAW4TGZ4713","tdd","仅当用户明确要求 TDD、失败测试或回归测试时使用，或 bug 有明显且廉价的本地测试目标时使用。测试路径不清、昂贵、偏集成或未要求时跳过。","https:\u002F\u002Fgithub.com\u002Ffenfenxu\u002Fpstack-zh\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002FSKILL.md",[],[]]