[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GK545MTTE5X1Q4NF92PNRN":3,"skill-same:01M6GK545MTTE5X1Q4NF92PNRN":83},{"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":22,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":13,"repositoryHtmlUrl":66,"repositoryHomepageUrl":6,"ownerHtmlUrl":67,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":68,"install":69,"resources":82},"01M6GK545MTTE5X1Q4NF92PNRN","字段守卫",null,"当新增、删除、重命名或跨层传递结构化字段，以及修改 DTO、mapper、schema、API\u002FRPC、事件、配置、store、序列化或前后端契约时自动使用；追踪生产源到全部消费端并建立 fail-fast 字段守卫。","lihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit","lihah111222333-cloud","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F254297992?v=4","01M6GJZ7ZK31PVRBS5XQWS56ET","01M6GJZ84Q0ANFYMPVK56PYSNW",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002F字段守卫\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",[5,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"config","rpc","fast","api","guard","消费","schema","payload","drift","contract","mapping","store","event","后端","2026-11-10 10:12:30",false,"---\nname: 字段守卫\ndescription: 当新增、删除、重命名或跨层传递结构化字段，以及修改 DTO、mapper、schema、API\u002FRPC、事件、配置、store、序列化或前后端契约时自动使用；追踪生产源到全部消费端并建立 fail-fast 字段守卫。\ntrigger_words: [字段变更, 新增字段, 删除字段, 重命名字段, 字段映射, DTO 变更, mapper, schema 变更, contract drift, RPC 字段, API 字段, event payload, store DTO, config schema]\nforce_words: [字段守卫, 自守卫, field guard, field mapping, 字段映射, 字段透传, 契约漂移]\n---\n\n# 字段守卫\n\n以本次变更符号为根，对“生产字段 -> 转换\u002F传输 -> 消费字段”逐层发现到明确终止边界。生产字段改变后，只要已发现的任一消费端未同步登记，至少一个自动化检查必须失败；未完成边界扩展时不得声称全仓覆盖。\n\n## 当前仓库事实\n\n- canonical skill 位于 `\u003Ccwd>\u002F.agents\u002Fskills`；provider mirror 是派生物。\n- `trigger_words` \u002F `force_words` 由 parser 读取，但当前 `MatchPreview` 只把它们作为 UI 预览辅助信号。\n- Go 现有范式见 `internal\u002Farchtest\u002Fmetric_registry_test.go`、`wire_dto_field_registry_test.go` 和 taskdag store 测试：反射派生生产集合，显式 registry 登记消费，并检查 missing、stale 与豁免原因。\n- 前端入口是 `frontend-app\u002Fscripts\u002Ffrontend-contract-store-guard.mjs`、`tsconfig.contracts.json`、RPC audit 与 Vitest；不得引用不存在的旧 `scripts\u002Ffrontend_code_guard.mjs`。\n- 仓库当前没有一个能自动证明全仓全部字段链路完整的 scanner。\n\n## 必做闭环\n\n1. **确认生产真值源**：语言类型、协议、schema、配置或 manifest。生产集合必须由反射、AST、类型系统、schema parser 或生成器动态枚举；禁止把字段名复制成手工数组。\n2. **发现消费链**：用 LSP 定义、引用、调用层级和序列化边界追踪 mapper、DTO、SQL、store、RPC\u002FAPI\u002Fevent、生成类型与 UI。不得仅搜索同名字段。\n3. **计算差集**：\n\n```text\nmissing = dynamically_enumerated_producer_fields\n          - dynamically_derived_consumer_coverage\n          - reasoned_exemptions\n```\n\n消费侧允许显式 registry，但 registry 不是实现真值；必须用 mapper AST、类型约束、roundtrip\u002Fone-hot 测试、schema、snapshot 或调用链验证 mapped 条目，并反查 stale。若只能证明登记，结论必须写“登记覆盖已验证、实现覆盖未验证”。\n\n4. **建立守卫**：未知字段、解析失败、无法枚举、missing、stale 或无效豁免必须报错阻断，禁止返回空集合或跳过。双向 mapper 分方向验证；map\u002Fslice\u002Fpointer 按需验证深拷贝。\n5. **管理豁免**：每项包含 `Field | Direction | Reason | Evidence\u002FOwner`；空原因、“暂时不用”“以后再加”均无效。\n6. **fail-first**：临时移除真实登记或 mapper 分支，记录失败命令和准确缺口；恢复后记录通过命令。没有 fail-first 证据不得声称守卫有效。\n7. **接入门禁**：守卫进入对应测试、CI 或 pre-push。前端 contract 变更至少运行 `cd frontend-app && npm run lint && npm test && npm run build`。\n\n## 输出\n\n输出链路、动态差集、守卫\u002F豁免设计、fail-first 与恢复后的证据。导航中断、生成 owner 不明或 diagnostics 不可得时记录 blocker，不得写成 PASS。禁止用默认值、空结构、吞错、旧字段兼容、降低 baseline、重录 snapshot、删测试或缩小扫描范围掩盖漂移。\n","# 字段守卫\n\n以本次变更符号为根，对“生产字段 -> 转换\u002F传输 -> 消费字段”逐层发现到明确终止边界。生产字段改变后，只要已发现的任一消费端未同步登记，至少一个自动化检查必须失败；未完成边界扩展时不得声称全仓覆盖。\n\n## 当前仓库事实\n\n- canonical skill 位于 `\u003Ccwd>\u002F.agents\u002Fskills`；provider mirror 是派生物。\n- `trigger_words` \u002F `force_words` 由 parser 读取，但当前 `MatchPreview` 只把它们作为 UI 预览辅助信号。\n- Go 现有范式见 `internal\u002Farchtest\u002Fmetric_registry_test.go`、`wire_dto_field_registry_test.go` 和 taskdag store 测试：反射派生生产集合，显式 registry 登记消费，并检查 missing、stale 与豁免原因。\n- 前端入口是 `frontend-app\u002Fscripts\u002Ffrontend-contract-store-guard.mjs`、`tsconfig.contracts.json`、RPC audit 与 Vitest；不得引用不存在的旧 `scripts\u002Ffrontend_code_guard.mjs`。\n- 仓库当前没有一个能自动证明全仓全部字段链路完整的 scanner。\n\n## 必做闭环\n\n1. **确认生产真值源**：语言类型、协议、schema、配置或 manifest。生产集合必须由反射、AST、类型系统、schema parser 或生成器动态枚举；禁止把字段名复制成手工数组。\n2. **发现消费链**：用 LSP 定义、引用、调用层级和序列化边界追踪 mapper、DTO、SQL、store、RPC\u002FAPI\u002Fevent、生成类型与 UI。不得仅搜索同名字段。\n3. **计算差集**：\n\n```text\nmissing = dynamically_enumerated_producer_fields\n          - dynamically_derived_consumer_coverage\n          - reasoned_exemptions\n```\n\n消费侧允许显式 registry，但 registry 不是实现真值；必须用 mapper AST、类型约束、roundtrip\u002Fone-hot 测试、schema、snapshot 或调用链验证 mapped 条目，并反查 stale。若只能证明登记，结论必须写“登记覆盖已验证、实现覆盖未验证”。\n\n4. **建立守卫**：未知字段、解析失败、无法枚举、missing、stale 或无效豁免必须报错阻断，禁止返回空集合或跳过。双向 mapper 分方向验证；map\u002Fslice\u002Fpointer 按需验证深拷贝。\n5. **管理豁免**：每项包含 `Field | Direction | Reason | Evidence\u002FOwner`；空原因、“暂时不用”“以后再加”均无效。\n6. **fail-first**：临时移除真实登记或 mapper 分支，记录失败命令和准确缺口；恢复后记录通过命令。没有 fail-first 证据不得声称守卫有效。\n7. **接入门禁**：守卫进入对应测试、CI 或 pre-push。前端 contract 变更至少运行 `cd frontend-app && npm run lint && npm test && npm run build`。\n\n## 输出\n\n输出链路、动态差集、守卫\u002F豁免设计、fail-first 与恢复后的证据。导航中断、生成 owner 不明或 diagnostics 不可得时记录 blocker，不得写成 PASS。禁止用默认值、空结构、吞错、旧字段兼容、降低 baseline、重录 snapshot、删测试或缩小扫描范围掩盖漂移。\n",{"name":5,"description":7,"force_words":42,"trigger_words":49},[5,43,44,45,46,47,48],"自守卫","field guard","field mapping","字段映射","字段透传","契约漂移",[50,51,52,53,46,54,55,56,57,58,59,60,61,62],"字段变更","新增字段","删除字段","重命名字段","DTO 变更","mapper","schema 变更","contract drift","RPC 字段","API 字段","event payload","store DTO","config schema","main","287849f4ce06aaaa7e8f517126f73b016043d332",".agents\u002Fskills\u002F字段守卫","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud","2026-10-11 02:13:17",{"source":8,"skillName":5,"commands":70,"prompt":80,"zipAvailable":81},[71,74,77],{"tool":72,"command":73},"npx","npx skills add lihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit --skill \"字段守卫\"",{"tool":75,"command":76},"bunx","bunx skills add lihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit --skill \"字段守卫\"",{"tool":78,"command":79},"pnpm","pnpm dlx skills add lihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit --skill \"字段守卫\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002F字段守卫\u002FSKILL.md",true,[],[84,111,127,143,157,171],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":93,"publishedAt":37},"01M6GK59PDCBRZQ6D03BGXM8XM","mcp-lsp-project-config","配置、安装、检查、修复或迁移项目级 mcp-lsp stdio MCP，覆盖 Codex、Claude Code 和 Google Antigravity，以及 Windows 原生、WSL 原生和 Windows 宿主通过 wsl.exe 桥接 Linux sidecar 的自动选型。用户提到项目 MCP、LSP MCP、.codex\u002Fconfig.toml、.mcp.json、.agents\u002Fmcp_config.json、Codex 中 LSP 工具有时直接暴露有时只在延迟工具目录、ALL_TOOLS 过滤为空、工具已显示但调用报 client is closing、EOF、Transport closed，或希望三个客户端共用仓库内 mcp-lsp 时使用。","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit\u002Fblob\u002Fmain\u002Fbin\u002FLSP\u002Fmcp-lsp-project-config-skill\u002FSKILL.md",[90],{"categoryNo":91,"categoryName":92,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",[94,95,23,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110],"mcp lsp project config","MCP","lsp","project","mcp lsp","google","linux","antigravity","codex","windows","code","Tools","json","toml","client","工具","closing",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":37},"01M6GK57H2A7XK3QZ00HCV9XM0","注释规范","当在 super-agent-v3 中编写或审查 Go 函数级中文注释、React hooks\u002Fservice\u002Fcontroller 注释，或处理注释守卫失败时使用。","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002F注释规范\u002FSKILL.md",[],[113,118,119,120,121,122,123,124,125,126],"hooks","中文","service","v3","react hooks","comments","controller","react","go",{"skillNo":128,"name":36,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":134,"publishedAt":37},"01M6GK50VVC89B3MMSTKBG76ZS","在 super-agent-v3 中编写、审查或重构 Go 后端代码时使用。","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002F后端\u002FSKILL.md",[132,133],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":91,"categoryName":92,"taxonomyType":20,"taxonomyTypeDesc":21},[36,135,95,126,136,137,138,139,140,141,142,121,34],"fx","golang","cmd","backend","sqlc","runner","platform","module",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":152,"publishedAt":37},"01M6GK4YP5DTSBD02AF8YSRNME","前端","当在 super-agent-v3 中开发、审查或修复当前 React\u002FVite 前端 UI 时使用；前端源码只在 frontend-app。","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002F前端\u002FSKILL.md",[149],{"categoryNo":150,"categoryName":151,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000009","前端开发",[153,154,125,155,156,121],"frontend","app","ui","vite",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":37},"01M6GK4WWB9A6N51VPCZHC3NB1","全量项目地图生成","当在 super-agent-v3 中生成、更新或校验 docs\u002Fdoc\u002Fcodemap 项目地图、AI index 或能力清单时使用。","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002F全量项目地图生成\u002FSKILL.md",[],[159,164,165,166,167,168,169,170,121],"地图","生成","docs","index","doc","校验","codemap",{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":180,"publishedAt":37},"01M6GK4S2RNXHA2FXXM0WXHP4S","代码审查维度","当在 super-agent-v3 仓库做代码审查、生产风险审计、裁决子代理发现或编排修复任务时使用。","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002F代码审查维度\u002FSKILL.md",[177],{"categoryNo":178,"categoryName":179,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000007","代码审查",[181,173,182,183,121],"code review","review","dimensions"]