[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79GQCMAND7QXM1W18P4DJ9Y":3,"skill-same:01M79GQCMAND7QXM1W18P4DJ9Y":44},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M79GQCMAND7QXM1W18P4DJ9Y","knowledge-sync",null,"Synchronize knowledge after code, test, build, or architecture changes.","alan-chen-dongsheng\u002Fai-tricks-hub","alan-chen-dongsheng","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F34329738?v=4","01M79GQ81W9HGYZ7MJW0HDVTEH","AlanChen","01M79GQ82MKG7RQ4X0A13Y3MTW",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Falan-chen-dongsheng\u002Fai-tricks-hub\u002Fblob\u002Fmain\u002Fcommon\u002Fskills\u002Fknowledge-sync\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: knowledge-sync\ndescription: Synchronize knowledge after code, test, build, or architecture changes.\n---\n\n# Knowledge Sync\n\nUse this skill whenever code or project behavior changes.\n\n## Steps\n\n1. Run:\n   ```\n   aih knowledge prepare\n   ```\n\n2. Read the generated context file: `.aih\u002Fruntime\u002Fknowledge-sync-context.md`\n\n3. Analyze:\n   - Git log\n   - Committed diff\n   - Staged diff\n   - Unstaged diff\n   - Relevant untracked files\n   - Changed source files\n   - Existing architecture docs\n   - Existing module docs\n   - Existing pitfalls\n   - Existing decisions\n   - Relevant tests\n\n4. Update knowledge files:\n   - Only update docs supported by actual changes\n   - Do not invent or guess behavior\n   - Update `architecture.md` if architecture actually changed\n   - Update `pitfalls.md` if you found reproducible, non-obvious issues\n   - Update or create module docs if interfaces changed\n\n5. Create a Session:\n   ```\n   aih session new --agent codex --title \"brief description\"\n   ```\n\n   Fill in:\n   - Goal: What was this session trying to achieve?\n   - Changes Made: List actual changes\n   - Validation: What was tested\n   - Knowledge Updates: Which docs were changed\n   - Decisions Created: Any ADRs\n   - Remaining Work: Unfinished items\n   - Uncertainties: Open questions\n\n6. Create Decision (ADR) ONLY if:\n   - Module boundaries changed\n   - Public interfaces changed\n   - Data formats changed\n   - Compiler pipeline or pass order changed\n   - Long-term dependencies introduced\n   - Performance or memory strategy chosen\n   - Clear tradeoffs made with alternatives\n\n   ```\n   aih decision new --title \"decision title\"\n   ```\n\n7. Finalize:\n   ```\n   aih knowledge finalize --agent codex\n   ```\n\n8. Report:\n   - Session created\n   - Decisions created\n   - Documents updated\n   - Documents intentionally NOT updated\n   - Validation performed\n   - Remaining uncertainty\n\n## Rules\n\n- Session is mandatory for significant code changes\n- Decisions are rare and only for long-term architectural choices\n- All updates must be supported by actual diff evidence\n- Do not complete task until finalize succeeds\n","# Knowledge Sync\n\nUse this skill whenever code or project behavior changes.\n\n## Steps\n\n1. Run:\n   ```\n   aih knowledge prepare\n   ```\n\n2. Read the generated context file: `.aih\u002Fruntime\u002Fknowledge-sync-context.md`\n\n3. Analyze:\n   - Git log\n   - Committed diff\n   - Staged diff\n   - Unstaged diff\n   - Relevant untracked files\n   - Changed source files\n   - Existing architecture docs\n   - Existing module docs\n   - Existing pitfalls\n   - Existing decisions\n   - Relevant tests\n\n4. Update knowledge files:\n   - Only update docs supported by actual changes\n   - Do not invent or guess behavior\n   - Update `architecture.md` if architecture actually changed\n   - Update `pitfalls.md` if you found reproducible, non-obvious issues\n   - Update or create module docs if interfaces changed\n\n5. Create a Session:\n   ```\n   aih session new --agent codex --title \"brief description\"\n   ```\n\n   Fill in:\n   - Goal: What was this session trying to achieve?\n   - Changes Made: List actual changes\n   - Validation: What was tested\n   - Knowledge Updates: Which docs were changed\n   - Decisions Created: Any ADRs\n   - Remaining Work: Unfinished items\n   - Uncertainties: Open questions\n\n6. Create Decision (ADR) ONLY if:\n   - Module boundaries changed\n   - Public interfaces changed\n   - Data formats changed\n   - Compiler pipeline or pass order changed\n   - Long-term dependencies introduced\n   - Performance or memory strategy chosen\n   - Clear tradeoffs made with alternatives\n\n   ```\n   aih decision new --title \"decision title\"\n   ```\n\n7. Finalize:\n   ```\n   aih knowledge finalize --agent codex\n   ```\n\n8. Report:\n   - Session created\n   - Decisions created\n   - Documents updated\n   - Documents intentionally NOT updated\n   - Validation performed\n   - Remaining uncertainty\n\n## Rules\n\n- Session is mandatory for significant code changes\n- Decisions are rare and only for long-term architectural choices\n- All updates must be supported by actual diff evidence\n- Do not complete task until finalize succeeds\n",{"name":5,"description":7},"main","51161c2955a0c7e65d8719921f06b4e452a40aeb","common\u002Fskills\u002Fknowledge-sync","https:\u002F\u002Fgithub.com\u002Falan-chen-dongsheng\u002Fai-tricks-hub","https:\u002F\u002Fgithub.com\u002Falan-chen-dongsheng","2026-07-21 22:05:25",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add alan-chen-dongsheng\u002Fai-tricks-hub --skill knowledge-sync",{"tool":36,"command":37},"bunx","bunx skills add alan-chen-dongsheng\u002Fai-tricks-hub --skill knowledge-sync",{"tool":39,"command":40},"pnpm","pnpm dlx skills add alan-chen-dongsheng\u002Fai-tricks-hub --skill knowledge-sync","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Falan-chen-dongsheng\u002Fai-tricks-hub\u002Fblob\u002Fmain\u002Fcommon\u002Fskills\u002Fknowledge-sync\u002FSKILL.md",true,[],[45,52,59,66],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":19},"01M79GQKX46G607VAGGY46YV35","{{SKILL_NAME=null}=null}","Describe when this skill should be used.","https:\u002F\u002Fgithub.com\u002Falan-chen-dongsheng\u002Fai-tricks-hub\u002Fblob\u002Fmain\u002Ftemplates\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M79GQHFJ2M8K6Y9KSE3Q5RVM","record-session","Create a session documenting completed work.","https:\u002F\u002Fgithub.com\u002Falan-chen-dongsheng\u002Fai-tricks-hub\u002Fblob\u002Fmain\u002Fcommon\u002Fskills\u002Frecord-session\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M79GQF71ZBDS42WZ2XWDR70K","record-decision","Create an Architecture Decision Record (ADR).","https:\u002F\u002Fgithub.com\u002Falan-chen-dongsheng\u002Fai-tricks-hub\u002Fblob\u002Fmain\u002Fcommon\u002Fskills\u002Frecord-decision\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M79GQ9MZP96ZJ2N1B6X3XN6F","code-review","Review code changes for quality, correctness, and knowledge impact.","https:\u002F\u002Fgithub.com\u002Falan-chen-dongsheng\u002Fai-tricks-hub\u002Fblob\u002Fmain\u002Fcommon\u002Fskills\u002Fcode-review\u002FSKILL.md",[],[]]