[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M698ZA33DW1Q5VCBYA8SXE94":3,"skill-same:01M698ZA33DW1Q5VCBYA8SXE94":67},{"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":23,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M698ZA33DW1Q5VCBYA8SXE94","sync-contract",null,"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.","google\u002Fax","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M698Z78P96HCHMAYBMMRNFE7",14695,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fax\u002Fblob\u002Fmain\u002Fskills\u002Fsync-contract\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000037","律师与法务","PROFESSION","适用职业",[24,25,26,27,28,29,30,31,32,33,34,35,36,37],"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":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add google\u002Fax --skill sync-contract",{"tool":59,"command":60},"bunx","bunx skills add google\u002Fax --skill sync-contract",{"tool":62,"command":63},"pnpm","pnpm dlx skills add google\u002Fax --skill sync-contract","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fax\u002Fblob\u002Fmain\u002Fskills\u002Fsync-contract\u002FSKILL.md",true,[],[68],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":80,"publishedAt":38},"01M698Z8Q42MEPG1SNQGW6RV3N","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.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fax\u002Fblob\u002Fmain\u002Fskills\u002Fsubstrate\u002FSKILL.md",[74,79],{"categoryNo":75,"categoryName":76,"taxonomyType":77,"taxonomyTypeDesc":78},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[70,81,26,82,36,83,84,85,86,87,88,89,90],"modules","e2e","pin","version","test","ax","how","make","when","mocks"]