[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74ZXV9WCT4M88F89KMK0RFS":3,"skill-same:01M74ZXV9WCT4M88F89KMK0RFS":83},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M74ZXV9WCT4M88F89KMK0RFS","skill-release-gate",null,"在发布前评估 Agent Skill bundle 的结构完整性、触发质量、产物改进、脚本正确性、安全性、已安装目录树完整性和目标宿主可移植性。","fancyboi999\u002Fai-engineering-from-scratch-zh","fancyboi999","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F135568692?v=4","01M74ZTBHS2BEXKY4NV97JAF67","Xinmin Zeng","01M74ZTBJGQZ3F0983F2F8RS3G",1340,"MIT","https:\u002F\u002Fgithub.com\u002Ffancyboi999\u002Fai-engineering-from-scratch-zh\u002Fblob\u002Fmain\u002Fphases\u002F13-tools-and-protocols\u002F27-skill-evals-packaging-and-portability\u002Foutputs\u002Fskill-release-gate\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: skill-release-gate\ndescription: 在发布前评估 Agent Skill bundle 的结构完整性、触发质量、产物改进、脚本正确性、安全性、已安装目录树完整性和目标宿主可移植性。\nlicense: MIT\nmetadata:\n  lesson: \"27\"\n---\n\n# Skill 发布门禁\n\n在发布或分发 Agent Skill 目录 bundle 前使用此 skill。\n\n## 工作流\n\n1. 将 `SKILL_ROOT` 解析为包含本已安装 `SKILL.md` 的绝对目录。不要假定进程 cwd 就是已安装 bundle。\n2. 从原始工作区工作目录解析 `TARGET_ROOT`，并将用户提供的候选解析为绝对 `TARGET_BUNDLE`。\n3. 从 `SKILL_ROOT` 读取 `references\u002Feval-contract.md`。\n4. 检查 `TARGET_BUNDLE` 下 `evals\u002Fcases.json` 中的正例和近似请求触发案例。\n5. 检查 `TARGET_BUNDLE` 下 `evals\u002Fartifacts.json` 中共享的 baseline 与使用 skill 后断言。\n6. 检查 `TARGET_BUNDLE` 下 `evals\u002Fevidence.json` 中显式的脚本和安全结果。\n7. 检查 `TARGET_BUNDLE` 下 `assets\u002Fhosts.json` 声明的运行时能力，并对照其 `assets\u002Fmanifest.json` 验证目标文件哈希。\n8. 对于生产，用捕获结果替换确定性预测、产物、证据和宿主能力；设置四种捕获模式；并将每个原始触发观察、两份产物、完整证据集和非空宿主矩阵绑定到非空来源及匹配的 SHA-256 溯源摘要。这些本地检查可设置 `localEvidenceReady`，但可在本地重算的哈希不能证明捕获真实性。\n9. 获取一份外部 JSON 证明，其 `evidenceRoot` 与报告相匹配；并从独立受信策略或发布渠道获得其精确字节的 SHA-256。证明必须是目标 bundle 外的常规文件。\n10. 执行前展示精确解析后的 argv。已安装评估器位于 `SKILL_ROOT` 下的 `scripts\u002Fevaluate_skill.py`。对随附课程 fixture，用 `python3`、该绝对评估器路径、`--fixture-demo` 和绝对 `TARGET_BUNDLE` 构建 argv。对生产，使用同一已安装脚本并传入 `--attestation`、`--trusted-attestation-sha256` 和绝对 `TARGET_BUNDLE`，但不传 `--fixture-demo`。\n11. 返回 `checksPassed`、`fixturePassed`、`localEvidenceReady`、`trustAnchorValid`、`productionReady` 和 `passed`，同时给出证据根、评估模式、失败检查、精确率、召回率、每个原始触发观察、每案例重复运行率、产物比较、脚本和安全证据、已安装目录树验证及可移植性矩阵。包含已解析脚本路径、已解析目标路径、cwd、精确 argv 和退出码。将不可用观察标为未验证。\n\n## Output contract\n\n返回完整 JSON 评估报告。保留每项分层检查及其证据，避免一个通过的汇总掩盖路由、产物、脚本、安全、已安装目录树或可移植性失败。`fixturePassed` 表示教学 fixture 成功；`localEvidenceReady` 仅表示本地摘要完整性；只有 `productionReady` 也具有有效的包外信任锚时，`passed` 才为 true。\n\n## Failure behavior\n\n若配置无效、溯源缺失或不匹配、受信证明缺失或无效、文件哈希不同、必需能力缺失，或任一生产门禁失败，均以非零结果停止并报告失败层。显式 `--fixture-demo` 路径仅在 `fixturePassed` 为 true 时才可成功退出，且绝不作出发布声明。绝不自动发布、安装到其他位置、修复证据、创建信任决策或放宽阈值。\n\n不要仅因 SKILL.md 能解析或一个正例 prompt 被激活就发布 bundle。目标宿主丢弃必需伴随文件或忽略必需运行时扩展时，不要将包标为可移植。\n","# Skill 发布门禁\n\n在发布或分发 Agent Skill 目录 bundle 前使用此 skill。\n\n## 工作流\n\n1. 将 `SKILL_ROOT` 解析为包含本已安装 `SKILL.md` 的绝对目录。不要假定进程 cwd 就是已安装 bundle。\n2. 从原始工作区工作目录解析 `TARGET_ROOT`，并将用户提供的候选解析为绝对 `TARGET_BUNDLE`。\n3. 从 `SKILL_ROOT` 读取 `references\u002Feval-contract.md`。\n4. 检查 `TARGET_BUNDLE` 下 `evals\u002Fcases.json` 中的正例和近似请求触发案例。\n5. 检查 `TARGET_BUNDLE` 下 `evals\u002Fartifacts.json` 中共享的 baseline 与使用 skill 后断言。\n6. 检查 `TARGET_BUNDLE` 下 `evals\u002Fevidence.json` 中显式的脚本和安全结果。\n7. 检查 `TARGET_BUNDLE` 下 `assets\u002Fhosts.json` 声明的运行时能力，并对照其 `assets\u002Fmanifest.json` 验证目标文件哈希。\n8. 对于生产，用捕获结果替换确定性预测、产物、证据和宿主能力；设置四种捕获模式；并将每个原始触发观察、两份产物、完整证据集和非空宿主矩阵绑定到非空来源及匹配的 SHA-256 溯源摘要。这些本地检查可设置 `localEvidenceReady`，但可在本地重算的哈希不能证明捕获真实性。\n9. 获取一份外部 JSON 证明，其 `evidenceRoot` 与报告相匹配；并从独立受信策略或发布渠道获得其精确字节的 SHA-256。证明必须是目标 bundle 外的常规文件。\n10. 执行前展示精确解析后的 argv。已安装评估器位于 `SKILL_ROOT` 下的 `scripts\u002Fevaluate_skill.py`。对随附课程 fixture，用 `python3`、该绝对评估器路径、`--fixture-demo` 和绝对 `TARGET_BUNDLE` 构建 argv。对生产，使用同一已安装脚本并传入 `--attestation`、`--trusted-attestation-sha256` 和绝对 `TARGET_BUNDLE`，但不传 `--fixture-demo`。\n11. 返回 `checksPassed`、`fixturePassed`、`localEvidenceReady`、`trustAnchorValid`、`productionReady` 和 `passed`，同时给出证据根、评估模式、失败检查、精确率、召回率、每个原始触发观察、每案例重复运行率、产物比较、脚本和安全证据、已安装目录树验证及可移植性矩阵。包含已解析脚本路径、已解析目标路径、cwd、精确 argv 和退出码。将不可用观察标为未验证。\n\n## Output contract\n\n返回完整 JSON 评估报告。保留每项分层检查及其证据，避免一个通过的汇总掩盖路由、产物、脚本、安全、已安装目录树或可移植性失败。`fixturePassed` 表示教学 fixture 成功；`localEvidenceReady` 仅表示本地摘要完整性；只有 `productionReady` 也具有有效的包外信任锚时，`passed` 才为 true。\n\n## Failure behavior\n\n若配置无效、溯源缺失或不匹配、受信证明缺失或无效、文件哈希不同、必需能力缺失，或任一生产门禁失败，均以非零结果停止并报告失败层。显式 `--fixture-demo` 路径仅在 `fixturePassed` 为 true 时才可成功退出，且绝不作出发布声明。绝不自动发布、安装到其他位置、修复证据、创建信任决策或放宽阈值。\n\n不要仅因 SKILL.md 能解析或一个正例 prompt 被激活就发布 bundle。目标宿主丢弃必需伴随文件或忽略必需运行时扩展时，不要将包标为可移植。\n",{"name":5,"license":15,"metadata":24,"description":7},{"lesson":25},"27","main","2b19499accaa91df3bd41719c872b1f8a7ca8249","phases\u002F13-tools-and-protocols\u002F27-skill-evals-packaging-and-portability\u002Foutputs\u002Fskill-release-gate",195,"https:\u002F\u002Fgithub.com\u002Ffancyboi999\u002Fai-engineering-from-scratch-zh","https:\u002F\u002Faieng-zh.cn","https:\u002F\u002Fgithub.com\u002Ffancyboi999","Building smarter agents, breaking dumb limits.\r\nFocused on AI \u002F AGENTS\u002F RAG\r\n📧 fancyboi999@gmail.com \r\n🧠 fancyboi999 (WeChat)","2026-11-12 11:44:40",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add fancyboi999\u002Fai-engineering-from-scratch-zh --skill skill-release-gate",{"tool":41,"command":42},"bunx","bunx skills add fancyboi999\u002Fai-engineering-from-scratch-zh --skill skill-release-gate",{"tool":44,"command":45},"pnpm","pnpm dlx skills add fancyboi999\u002Fai-engineering-from-scratch-zh --skill skill-release-gate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffancyboi999\u002Fai-engineering-from-scratch-zh\u002Fblob\u002Fmain\u002Fphases\u002F13-tools-and-protocols\u002F27-skill-evals-packaging-and-portability\u002Foutputs\u002Fskill-release-gate\u002FSKILL.md",true,[49,55,59,65,69,73,77],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"assets\u002Fhosts.json","ASSET","资产文件",752,"https:\u002F\u002Fgithub.com\u002Ffancyboi999\u002Fai-engineering-from-scratch-zh\u002Fblob\u002Fmain\u002Fphases\u002F13-tools-and-protocols\u002F27-skill-evals-packaging-and-portability\u002Foutputs\u002Fskill-release-gate\u002Fassets\u002Fhosts.json",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"assets\u002Fmanifest.json",782,"https:\u002F\u002Fgithub.com\u002Ffancyboi999\u002Fai-engineering-from-scratch-zh\u002Fblob\u002Fmain\u002Fphases\u002F13-tools-and-protocols\u002F27-skill-evals-packaging-and-portability\u002Foutputs\u002Fskill-release-gate\u002Fassets\u002Fmanifest.json",{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"evals\u002Fartifacts.json","REFERENCE","参考文档",316,"https:\u002F\u002Fgithub.com\u002Ffancyboi999\u002Fai-engineering-from-scratch-zh\u002Fblob\u002Fmain\u002Fphases\u002F13-tools-and-protocols\u002F27-skill-evals-packaging-and-portability\u002Foutputs\u002Fskill-release-gate\u002Fevals\u002Fartifacts.json",{"path":66,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":67,"sourceHtmlUrl":68},"evals\u002Fcases.json",866,"https:\u002F\u002Fgithub.com\u002Ffancyboi999\u002Fai-engineering-from-scratch-zh\u002Fblob\u002Fmain\u002Fphases\u002F13-tools-and-protocols\u002F27-skill-evals-packaging-and-portability\u002Foutputs\u002Fskill-release-gate\u002Fevals\u002Fcases.json",{"path":70,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":71,"sourceHtmlUrl":72},"evals\u002Fevidence.json",606,"https:\u002F\u002Fgithub.com\u002Ffancyboi999\u002Fai-engineering-from-scratch-zh\u002Fblob\u002Fmain\u002Fphases\u002F13-tools-and-protocols\u002F27-skill-evals-packaging-and-portability\u002Foutputs\u002Fskill-release-gate\u002Fevals\u002Fevidence.json",{"path":74,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Feval-contract.md",3420,"https:\u002F\u002Fgithub.com\u002Ffancyboi999\u002Fai-engineering-from-scratch-zh\u002Fblob\u002Fmain\u002Fphases\u002F13-tools-and-protocols\u002F27-skill-evals-packaging-and-portability\u002Foutputs\u002Fskill-release-gate\u002Freferences\u002Feval-contract.md",{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"scripts\u002Fevaluate_skill.py","SCRIPT","脚本",38473,"https:\u002F\u002Fgithub.com\u002Ffancyboi999\u002Fai-engineering-from-scratch-zh\u002Fblob\u002Fmain\u002Fphases\u002F13-tools-and-protocols\u002F27-skill-evals-packaging-and-portability\u002Foutputs\u002Fskill-release-gate\u002Fscripts\u002Fevaluate_skill.py",[84,91,98,105,112,119],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M74ZZTVYBG8WYVHJ3JT4N071","write-manual","为一个固定版本的技术主题编写长篇手册，从用途讲到每个请求与响应。 每个示例来自离线运行记录，每个断言追溯到按权威排序的来源，审计必须达到 TOTAL 0。 用于“编写手册”“为某主题写入门手册”“manual.json”“增加手册章节” “构建运行记录工具”“审计手册”“固定规范版本并文档化”。","https:\u002F\u002Fgithub.com\u002Ffancyboi999\u002Fai-engineering-from-scratch-zh\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-manual\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M74ZZPJ9E143A95C4FRC64Z1","start-learning","AI Engineering from Scratch 课程的一次性入门流程（523 节课、20 个阶段）。访谈学习者、 运行分级测验，并写入由 learn skill 驱动的持久学习计划 LEARNING.md。触发短语： “开始学习”、“设置课程”、“开始课程”、“带我入门”、“创建学习计划”，或 \"start learning\", \"set up the course\", \"begin the curriculum\", \"onboard me\", \"create my learning plan\"","https:\u002F\u002Fgithub.com\u002Ffancyboi999\u002Fai-engineering-from-scratch-zh\u002Fblob\u002Fmain\u002Fskills\u002Fstart-learning\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M74ZZHQ08AG5ARVQ9FYCBRPD","mcpa-certification","AI Engineering from Scratch 中文版中的 MCPA（Model Context Protocol Associate）AI 原生导师与入门流程。学习者需要备考 MCPA、继续认证路线、 交互式学习下一课、运行并验证实践实验、参加诊断或全真模拟、根据薄弱领域 补弱时使用。适用于 Claude Code、Codex、ChatGPT、Cursor 或其他 agent。","https:\u002F\u002Fgithub.com\u002Ffancyboi999\u002Fai-engineering-from-scratch-zh\u002Fblob\u002Fmain\u002Fskills\u002Fmcpa-certification\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M74ZZDWDK84XPD7VS5KHEHW4","lesson-screen","课程导师在终端教学时，在旁边打开浏览器学习屏幕。展示课程已注册的图表、带真实数值的 代码执行过程和可点击的预测题。也可结合课程与宿主已安装的图表技能，为当前课程制作 蓝图、机制图、等距机器或 3D 模型。点击以事件形式返回导师。 触发短语：“打开学习屏幕”、“用图展示”、“用 3D 展示”、“画出架构”、“为这节课制作图表”， 或 \"open the lesson screen\", \"show me this visually\", \"show this in 3D\", \"draw the architecture\", \"visualize this lesson\", \"build a figure for this lesson\", \"lesson screen\"。","https:\u002F\u002Fgithub.com\u002Ffancyboi999\u002Fai-engineering-from-scratch-zh\u002Fblob\u002Fmain\u002Fskills\u002Flesson-screen\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M74ZZAT9NP76A5KK8DZ8BKNQ","learn","AI Engineering from Scratch 课程的交互式课程 tutor。读取 LEARNING.md，获取下一课， 在终端按章节教学，结尾测验并记录进度。可在克隆仓库中或完全通过 raw.githubusercontent.com 工作—— 无需设置。触发短语：“下一课”、“教我”、“继续课程”、“我们来学习”、“继续学习”，或 \"next lesson\", \"teach me\", \"continue the course\", \"let's learn\", \"resume learning\"","https:\u002F\u002Fgithub.com\u002Ffancyboi999\u002Fai-engineering-from-scratch-zh\u002Fblob\u002Fmain\u002Fskills\u002Flearn\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":19},"01M74ZZ7C7D71RFW2P6FH8FH74","learn-reverse-engineering","从零开始学 AI 工程中逆向工程专项路径的交互导师。学习者希望读取编译后的程序时， 用于开始或继续文件格式、反汇编、控制流、表示提升、证据、等价证明、调用约定、 编译器惯用模式、链接、类型、调试、字节码、差分、符号执行和 AI 辅助分析。 每次调用讲授一课，并将证据记录到 REVERSE-ENGINEERING-LEARNING.md。","https:\u002F\u002Fgithub.com\u002Ffancyboi999\u002Fai-engineering-from-scratch-zh\u002Fblob\u002Fmain\u002Fskills\u002Flearn-reverse-engineering\u002FSKILL.md",[],[]]