[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77N9278B3Z967DRAGA8T6DA":3,"skill-same:01M77N9278B3Z967DRAGA8T6DA":46},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M77N9278B3Z967DRAGA8T6DA","typescript-go-sync",null,"Keeps ttsc's compiler-target shims synchronized with TypeScript-Go and complete for plugin authors. Use before adding a shim re-export, bumping a target's compiler, changing the shim audit or generators, or chasing a missing compiler API.","systemfsoftware\u002Fsystemfsoftware","systemfsoftware","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F172220390?v=4","01M77N4P2T87WAH2KS0GYARYP3","System F Software","01M77N4P3GJRWQAQZ6JNRF99ZB",21,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fsystemfsoftware\u002Fblob\u002Fmain\u002Frepos\u002Fttsc\u002F.agents\u002Fskills\u002Ftypescript-go-sync\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: typescript-go-sync\ndescription: Keeps ttsc's compiler-target shims synchronized with TypeScript-Go and complete for plugin authors. Use before adding a shim re-export, bumping a target's compiler, changing the shim audit or generators, or chasing a missing compiler API.\n---\n\n# TypeScript-Go Shim\n\nThe shims are the only compiler surface plugins can use, one tree per compiler target. A missing re-export of an API in unmodified upstream is a ttsc bug.\n\n| Target | Shims | Compiler module | Generator and audit flags |\n| --- | --- | --- | --- |\n| 7.0 | `packages\u002Fttsc\u002Fshim\u002F\u003Cname>`, modules `github.com\u002Fmicrosoft\u002Ftypescript-go\u002Fshim\u002F\u003Cname>` | `github.com\u002Fmicrosoft\u002Ftypescript-go` | defaults; `tools\u002Fshim_audit\u002Fbaseline.json` |\n| 7.1 | bridges `packages\u002Fttsc\u002Ftargets\u002F7.1\u002Fbridge\u002F\u003Cname>`, modules `github.com\u002Fmicrosoft\u002FTypeScript\u002Ftsc\u002Fshim\u002F\u003Cname>`, and generated facades `targets\u002F7.1\u002Ffacade\u002F\u003Cname>` at the 7.0 module paths | `github.com\u002Fmicrosoft\u002FTypeScript\u002Ftsc` | `-shim .\u002Ftargets\u002F7.1\u002Fbridge -internal github.com\u002Fmicrosoft\u002FTypeScript\u002Ftsc\u002Finternal\u002F`; `baseline-7.1.json` |\n\nGo admits an import of a module's `internal\u002F` tree only from a path rooted at that module, so 7.1 code that reaches the compiler lives in the bridges, and the facades only alias them. The 7.1 modules are standalone: run their Go commands with `GOWORK=off`.\n\n## Adding An API\n\n1. Find the symbol under the target's compiler module in `$(go env GOMODCACHE)`.\n2. If the generator derives it, run `go run '-modfile=tools\u002Fgen_shims\u002Fgo.mod' .\u002Ftools\u002Fgen_shims\u002Fmain.go` in `packages\u002Fttsc` with the target's flags; generated files are never edited, and `-check` reports drift. Otherwise list it in the directory's `extra-shim.json`, or write it in a file marked `\u002F\u002F gen_shims:hand-maintained`, where an unexported symbol takes a bodiless `\u002F\u002Fgo:linkname` declaration with `import _ \"unsafe\"`.\n3. After a 7.1 bridge changes, regenerate its facades with `pnpm --filter ttsc shim:facade`.\n\n## Bumping A Compiler\n\n1. Update the identical compiler `require` line in every shim or bridge of the target and in each consumer that pins it, and refresh sums through the real module or workspace resolution. Never add permanent absolute replacements. `go work sync` can succeed while leaving a module stale; then set its requirements with `go mod edit -require` and run `go mod download`.\n2. Run the generator with `GOWORK=off`, then `pnpm --filter ttsc shim:audit -fix`, and regenerate 7.1 facades.\n3. For the 7.1 target, set the version in `tests\u002Ftest-e2e\u002Ffixtures\u002Fttsc\u002Fcompiler-target-probe\u002Ftypescript-7.1.json` to the `typescript` nightly whose `gitHead` is the new commit. The installation E2E and the 7.1 E2E lane install it.\n4. Fix hand-maintained files and `extra-shim.json` for upstream renames, signature changes, and export flips, keep previously exported enum families, and document public migrations in the [AST and Checker guide](..\u002F..\u002F..\u002Fwebsite\u002Fsrc\u002Fcontent\u002Fdocs\u002Fdevelopment\u002Fconcepts\u002Ftsgo.mdx).\n\n## Audit\n\nCI runs `pnpm --filter ttsc shim:audit`, which audits every target and checks each bodiless `go:linkname` declaration against its target's signature. It also runs the first-party Go suites on each target, through `pnpm run test:go` for 7.0 and `pnpm run test:go:7.1` for 7.1, plus an E2E lane on the pinned 7.1 nightly. Accept a new gap into the target's baseline with `-write-baseline` only on purpose, and give every `producer_exemptions` entry a rationale. The audit proves only that code compiles, so add a runtime probe in `packages\u002Flint\u002Flinthost\u002F` that walks a Checker loaded through `loadProgram` for each new graph-walk operation.\n\n## Consumer Validation\n\nA shim change is proven only by a downstream plugin passing against it. Build and pack with your platform package, install the tarballs into `..\u002Ftypia` or another consumer, and run a test that uses the API:\n\n```bash\npnpm --filter ttsc --filter @ttsc\u002Funplugin --filter .\u002Fpackages\u002Fttsc-linux-x64 -r --workspace-concurrency=1 build\npnpm --filter ttsc --filter @ttsc\u002Funplugin --filter .\u002Fpackages\u002Fttsc-linux-x64 exec pnpm pack --out \"..\u002F..\u002Fexperimental\u002Ftarballs\u002F%s.tgz\"\n```\n","# TypeScript-Go Shim\n\nThe shims are the only compiler surface plugins can use, one tree per compiler target. A missing re-export of an API in unmodified upstream is a ttsc bug.\n\n| Target | Shims | Compiler module | Generator and audit flags |\n| --- | --- | --- | --- |\n| 7.0 | `packages\u002Fttsc\u002Fshim\u002F\u003Cname>`, modules `github.com\u002Fmicrosoft\u002Ftypescript-go\u002Fshim\u002F\u003Cname>` | `github.com\u002Fmicrosoft\u002Ftypescript-go` | defaults; `tools\u002Fshim_audit\u002Fbaseline.json` |\n| 7.1 | bridges `packages\u002Fttsc\u002Ftargets\u002F7.1\u002Fbridge\u002F\u003Cname>`, modules `github.com\u002Fmicrosoft\u002FTypeScript\u002Ftsc\u002Fshim\u002F\u003Cname>`, and generated facades `targets\u002F7.1\u002Ffacade\u002F\u003Cname>` at the 7.0 module paths | `github.com\u002Fmicrosoft\u002FTypeScript\u002Ftsc` | `-shim .\u002Ftargets\u002F7.1\u002Fbridge -internal github.com\u002Fmicrosoft\u002FTypeScript\u002Ftsc\u002Finternal\u002F`; `baseline-7.1.json` |\n\nGo admits an import of a module's `internal\u002F` tree only from a path rooted at that module, so 7.1 code that reaches the compiler lives in the bridges, and the facades only alias them. The 7.1 modules are standalone: run their Go commands with `GOWORK=off`.\n\n## Adding An API\n\n1. Find the symbol under the target's compiler module in `$(go env GOMODCACHE)`.\n2. If the generator derives it, run `go run '-modfile=tools\u002Fgen_shims\u002Fgo.mod' .\u002Ftools\u002Fgen_shims\u002Fmain.go` in `packages\u002Fttsc` with the target's flags; generated files are never edited, and `-check` reports drift. Otherwise list it in the directory's `extra-shim.json`, or write it in a file marked `\u002F\u002F gen_shims:hand-maintained`, where an unexported symbol takes a bodiless `\u002F\u002Fgo:linkname` declaration with `import _ \"unsafe\"`.\n3. After a 7.1 bridge changes, regenerate its facades with `pnpm --filter ttsc shim:facade`.\n\n## Bumping A Compiler\n\n1. Update the identical compiler `require` line in every shim or bridge of the target and in each consumer that pins it, and refresh sums through the real module or workspace resolution. Never add permanent absolute replacements. `go work sync` can succeed while leaving a module stale; then set its requirements with `go mod edit -require` and run `go mod download`.\n2. Run the generator with `GOWORK=off`, then `pnpm --filter ttsc shim:audit -fix`, and regenerate 7.1 facades.\n3. For the 7.1 target, set the version in `tests\u002Ftest-e2e\u002Ffixtures\u002Fttsc\u002Fcompiler-target-probe\u002Ftypescript-7.1.json` to the `typescript` nightly whose `gitHead` is the new commit. The installation E2E and the 7.1 E2E lane install it.\n4. Fix hand-maintained files and `extra-shim.json` for upstream renames, signature changes, and export flips, keep previously exported enum families, and document public migrations in the [AST and Checker guide](..\u002F..\u002F..\u002Fwebsite\u002Fsrc\u002Fcontent\u002Fdocs\u002Fdevelopment\u002Fconcepts\u002Ftsgo.mdx).\n\n## Audit\n\nCI runs `pnpm --filter ttsc shim:audit`, which audits every target and checks each bodiless `go:linkname` declaration against its target's signature. It also runs the first-party Go suites on each target, through `pnpm run test:go` for 7.0 and `pnpm run test:go:7.1` for 7.1, plus an E2E lane on the pinned 7.1 nightly. Accept a new gap into the target's baseline with `-write-baseline` only on purpose, and give every `producer_exemptions` entry a rationale. The audit proves only that code compiles, so add a runtime probe in `packages\u002Flint\u002Flinthost\u002F` that walks a Checker loaded through `loadProgram` for each new graph-walk operation.\n\n## Consumer Validation\n\nA shim change is proven only by a downstream plugin passing against it. Build and pack with your platform package, install the tarballs into `..\u002Ftypia` or another consumer, and run a test that uses the API:\n\n```bash\npnpm --filter ttsc --filter @ttsc\u002Funplugin --filter .\u002Fpackages\u002Fttsc-linux-x64 -r --workspace-concurrency=1 build\npnpm --filter ttsc --filter @ttsc\u002Funplugin --filter .\u002Fpackages\u002Fttsc-linux-x64 exec pnpm pack --out \"..\u002F..\u002Fexperimental\u002Ftarballs\u002F%s.tgz\"\n```\n",{"name":5,"description":7},"main","8a038d9ca9c3f2e7ba7af9ee0ec024e388a46751","repos\u002Fttsc\u002F.agents\u002Fskills\u002Ftypescript-go-sync",2,"https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fsystemfsoftware","https:\u002F\u002Fgithub.com\u002Fsystemfsoftware","https:\u002F\u002Fsystemfsoftware.com\u002F","2026-11-14 09:13:19",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add systemfsoftware\u002Fsystemfsoftware --skill typescript-go-sync",{"tool":38,"command":39},"bunx","bunx skills add systemfsoftware\u002Fsystemfsoftware --skill typescript-go-sync",{"tool":41,"command":42},"pnpm","pnpm dlx skills add systemfsoftware\u002Fsystemfsoftware --skill typescript-go-sync","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fsystemfsoftware\u002Fblob\u002Fmain\u002Frepos\u002Fttsc\u002F.agents\u002Fskills\u002Ftypescript-go-sync\u002FSKILL.md",true,[],[47,54,61,67,74,80],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7BD2282BZGW5BQQD94CQ6W4","contracts","Defines self-acknowledgments for production declarations and tests. Use when implementing or reviewing maintained source, unit tests or E2E tests, or selecting Evidence checklists.","https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fsystemfsoftware\u002Fblob\u002Fmain\u002Frepos\u002Ftypia\u002F.agents\u002Fskills\u002Fcontracts\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7BD1NWTFK6Q3S2HSK2AWFFA","prompting","Writes and trims ttsc's prompts for agents, namely AGENTS.md, CLAUDE.md, and the skills under .agents\u002Fskills. Use before changing any of them, together with the documentation skill's writing rules.","https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fsystemfsoftware\u002Fblob\u002Fmain\u002Frepos\u002Fttsc\u002F.agents\u002Fskills\u002Fprompting\u002FSKILL.md",[],[],{"skillNo":62,"name":49,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7BD1C16RTYT3R4HD7T32V8R","Defines the @evidence checklists every maintained ttsc declaration and test answers, and their evidence.config.json wiring. Use when writing or reviewing maintained source or tests, or changing Evidence selection.","https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fsystemfsoftware\u002Fblob\u002Fmain\u002Frepos\u002Fttsc\u002F.agents\u002Fskills\u002Fcontracts\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7BD13ZMCXA6CSYYM8BKZ7JE","alchemy-domain","Build backends with @alchemy.run\u002Fdomain (domain-driven design on Effect) - turn requirements into aggregates, commands, events, rejections, views, policies, sagas, projections, streams, queries, external systems and Apis; lay them out in a monorepo (domain \u002F server \u002F web packages, kind-suffixed files); test them with stories; host them on Durable Objects (Cloudflare, Rivet or Effect Cluster) with alchemy; and drive them from a foldkit frontend. Use when designing or changing an @alchemy.run\u002Fdomain model, adding a building block, wiring hosting or a frontend, or reviewing such code.","https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fsystemfsoftware\u002Fblob\u002Fmain\u002Frepos\u002Falchemy\u002Fpackages\u002Fdomain\u002Fskills\u002Falchemy-domain\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7BD131HNMPMBKNZWMS3M58Z","alchemy-provider","https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fsystemfsoftware\u002Fblob\u002Fmain\u002Frepos\u002Falchemy\u002F.grok\u002Fskills\u002Falchemy-provider\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7BD1231ZSETXNJV4V5SN0MK","write-docs","https:\u002F\u002Fgithub.com\u002Fsystemfsoftware\u002Fsystemfsoftware\u002Fblob\u002Fmain\u002Frepos\u002Falchemy\u002F.claude\u002Fskills\u002Fwrite-docs\u002FSKILL.md",[],[]]