[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M698ZA33DW1Q5VCBYA8SXE94":3,"skill-same:01M698ZA33DW1Q5VCBYA8SXE94":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":45,"linkOnly":46,"markdownContent":47,"markdownBody":48,"frontMatter":49,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M698ZA33DW1Q5VCBYA8SXE94","sync-contract","AGENTS.md 与技能文档同步","End-of-change pass that brings AGENTS.md and skills\u002F back in step with the code. Load after any code change, before declaring done; it is the last step of the Definition of done.","变更收尾检查，使 AGENTS.md 和 skills\u002F 与代码保持同步。在任何代码变更之后、宣告完成之前加载使用；它是“完成定义”（Definition of done）的最后一步。","google\u002Fax","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M698Z78P96HCHMAYBMMRNFE7",14695,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fax\u002Fblob\u002Fmain\u002Fskills\u002Fsync-contract\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44],"sync contract","sync","contract","definition of done","change","code","back","done","end","it","with","last","load","definition","2026-11-10 10:12:30",false,"---\nname: sync-contract\ndescription: >\n  End-of-change pass that brings AGENTS.md and skills\u002F back in step with the code.\n  Load after any code change, before declaring done; it is the last step of the Definition of done.\n---\n\n# Sync the agent contract with the code\n\n`AGENTS.md` and `skills\u002F*\u002FSKILL.md` quote facts about the tree: file paths,\nfunction names, versions, flag defaults, CI steps. Code changes silently\ninvalidate them. Run this diff-driven procedure before declaring a task done.\n\n## 1. Inspect what changed\n\n```bash\ngit diff --name-only origin\u002Fmain...HEAD      # or: git status --short for uncommitted work\n```\n\n## 2. Find which contract docs mention what you changed\n\n1. **Search `AGENTS.md` and `skills\u002F`** for the file paths, package names, CLI\n   flags, or exported symbols touched in your diff.\n2. **Check by area**:\n   - Package layout, CLI subcommands, CI steps (`.github\u002Fworkflows\u002Fgo.yml`),\n     `Makefile`, `go.mod`, or `CONTRIBUTING.md` → check `AGENTS.md`.\n   - Any domain listed in the `AGENTS.md` **Skills** table (for example,\n     `internal\u002Fsubstrate`, `internal\u002Fguest`, `internal\u002Fmetadata`,\n     `ate-system` \u002F `atenet-router` addresses, or E2E setup →\n     `skills\u002Fsubstrate\u002FSKILL.md`) → check that skill's `SKILL.md`.\n\n## 3. Per-document checklist\n\nFor each document you opened:\n\n- Every path it names exists (`ls` it).\n- Every function\u002Fconst\u002Fflag it names still exists under that name.\n- Every number it states (file counts, package counts, versions) is re-derived,\n  not trusted.\n- Every \"only place that…\" \u002F \"no X exists\" statement is re-checked across the\n  tree, not just in the changed file.\n- Removed behaviour is removed from the doc; renamed behaviour is renamed.\n- New behaviour that a future agent would get wrong without being told is\n  added — as a fact with its location, not as advice.\n- Prefer a pointer (\"see `go.mod`\") over copying a value that changes often.\n\n## 4. Quick structural check\n\nRun this one-liner whenever `AGENTS.md` or `skills\u002F` was touched:\n\n```bash\n# Verify symlinks and that every skills\u002F\u003Cname>\u002FSKILL.md is indexed in AGENTS.md\ntest -L CLAUDE.md && test -L GEMINI.md && \\\nfor d in skills\u002F*\u002F; do\n  s=$(basename \"$d\")\n  test -f \"$d\u002FSKILL.md\" && grep -q \"\\`\u002F$s\\`\" AGENTS.md || echo \"MISSING: $s\"\ndone\n```\n","# Sync the agent contract with the code\n\n`AGENTS.md` and `skills\u002F*\u002FSKILL.md` quote facts about the tree: file paths,\nfunction names, versions, flag defaults, CI steps. Code changes silently\ninvalidate them. Run this diff-driven procedure before declaring a task done.\n\n## 1. Inspect what changed\n\n```bash\ngit diff --name-only origin\u002Fmain...HEAD      # or: git status --short for uncommitted work\n```\n\n## 2. Find which contract docs mention what you changed\n\n1. **Search `AGENTS.md` and `skills\u002F`** for the file paths, package names, CLI\n   flags, or exported symbols touched in your diff.\n2. **Check by area**:\n   - Package layout, CLI subcommands, CI steps (`.github\u002Fworkflows\u002Fgo.yml`),\n     `Makefile`, `go.mod`, or `CONTRIBUTING.md` → check `AGENTS.md`.\n   - Any domain listed in the `AGENTS.md` **Skills** table (for example,\n     `internal\u002Fsubstrate`, `internal\u002Fguest`, `internal\u002Fmetadata`,\n     `ate-system` \u002F `atenet-router` addresses, or E2E setup →\n     `skills\u002Fsubstrate\u002FSKILL.md`) → check that skill's `SKILL.md`.\n\n## 3. Per-document checklist\n\nFor each document you opened:\n\n- Every path it names exists (`ls` it).\n- Every function\u002Fconst\u002Fflag it names still exists under that name.\n- Every number it states (file counts, package counts, versions) is re-derived,\n  not trusted.\n- Every \"only place that…\" \u002F \"no X exists\" statement is re-checked across the\n  tree, not just in the changed file.\n- Removed behaviour is removed from the doc; renamed behaviour is renamed.\n- New behaviour that a future agent would get wrong without being told is\n  added — as a fact with its location, not as advice.\n- Prefer a pointer (\"see `go.mod`\") over copying a value that changes often.\n\n## 4. Quick structural check\n\nRun this one-liner whenever `AGENTS.md` or `skills\u002F` was touched:\n\n```bash\n# Verify symlinks and that every skills\u002F\u003Cname>\u002FSKILL.md is indexed in AGENTS.md\ntest -L CLAUDE.md && test -L GEMINI.md && \\\nfor d in skills\u002F*\u002F; do\n  s=$(basename \"$d\")\n  test -f \"$d\u002FSKILL.md\" && grep -q \"\\`\u002F$s\\`\" AGENTS.md || echo \"MISSING: $s\"\ndone\n```\n",{"name":5,"description":7},"main","f0228f13cd1c8ef14c9d871a0691141f9fd6bd7b","skills\u002Fsync-contract",793,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fax","https:\u002F\u002Fagentexecutor.io","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-15 01:49:41",{"source":9,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add google\u002Fax --skill sync-contract",{"tool":66,"command":67},"bunx","bunx skills add google\u002Fax --skill sync-contract",{"tool":69,"command":70},"pnpm","pnpm dlx skills add google\u002Fax --skill sync-contract","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fax\u002Fblob\u002Fmain\u002Fskills\u002Fsync-contract\u002FSKILL.md",true,[],[75],{"skillNo":76,"name":77,"nameZh":78,"description":79,"descriptionZh":80,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":81,"categories":82,"keywords":87,"publishedAt":45},"01M698Z8Q42MEPG1SNQGW6RV3N","substrate","Agent Substrate 依赖管理","How AX depends on Agent Substrate (modules, address contract, mocks, version bumps, E2E pin). Load when touching internal\u002Fsubstrate, bumping Substrate, or triaging make test-e2e.","AX 如何依赖 Agent Substrate（模块、地址契约、mocks、版本升级、E2E 版本锁定）。当触及 internal\u002Fsubstrate、升级 Substrate 版本或排查 make test-e2e 问题时加载。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fax\u002Fblob\u002Fmain\u002Fskills\u002Fsubstrate\u002FSKILL.md",[83,86],{"categoryNo":84,"categoryName":85,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TKQDF2K4KQS863Q79P4","开发参考",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[77,88,33,89,43,90,91,92,93,94,95,96,97],"modules","e2e","pin","version","test","ax","how","make","when","mocks"]