[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C0SF8SR7JY39SN2YNJVKCR":3,"skill-same:01M7C0SF8SR7JY39SN2YNJVKCR":45},{"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":29,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7C0SF8SR7JY39SN2YNJVKCR","effect-v3-to-v4",null,"Use this skill when migrating a codebase from Effect v3 to Effect v4, upgrading `effect` or any `@effect\u002F*` package across the v3\u002Fv4 boundary.","Quick-Release\u002Fworkbench","Quick-Release","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F166938286?v=4","01M7C0NVS4WS59D9JSM5DGR2A1","GETQUICK","01M7C0NVSS1HHCEJ0P3CJX6T8C",0,"MIT","https:\u002F\u002Fgithub.com\u002FQuick-Release\u002Fworkbench\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Feffect-v3-to-v4\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: Use this skill when migrating a codebase from Effect v3 to Effect\n  v4, upgrading `effect` or any `@effect\u002F*` package across the v3\u002Fv4 boundary.\n---\n\n# Effect v3 to v4 Migration\n\nDrive an Effect v3 → v4 migration from the generated migration reference that ships in the Effect repo. Every rename, removal, and signature change is answered by upstream data — do not guess replacements.\n\n## Workflow\n\nWork through these steps in order; each one is detailed in the section named.\n\n1. **Set up and validate the local checkouts** — two shallow clones; verify any pre-existing `.repos\u002Feffect` before trusting it. See **Setup: Local Checkouts**.\n2. **Read `MIGRATION.md`** and `ls .repos\u002Feffect\u002Fmigration\u002F` for the background and guide index. See **Reading Order**.\n3. **Migrate `package.json`** — remove consolidated packages, align every remaining Effect package on one v4 version. Do this before type-checking, or the first run drowns in unresolved-import noise from packages that no longer exist. See **Repo-Level Changes**.\n4. **Run the project's type-check** (e.g. `tsc --noEmit`) to get the initial error inventory.\n5. **Iterate until the type-check is clean.** For each error, resolve the API through the lookup discipline — search `migration\u002Fv3-to-v4.md` for the symbol, escalate per **Reading Order** — then fix the call site, delegating per-file fixes to sub-agents per **Delegating to Sub-Agents**. Never silence an error instead of resolving it; see **Hard Prohibitions**.\n6. **Finish** — type-check clean; run tests and report their outcome honestly (not a gate); write the final summary. See **Done Condition**.\n\n## Setup: Local Checkouts\n\nThe migration is driven from two shallow, single-branch clones of the canonical Effect repo:\n\n```sh\ngit clone --depth 1 --single-branch https:\u002F\u002Fgithub.com\u002FEffect-TS\u002Feffect .repos\u002Feffect\ngit clone --depth 1 --single-branch --branch v3 https:\u002F\u002Fgithub.com\u002FEffect-TS\u002Feffect .repos\u002Feffect-v3\n```\n\n- `.repos\u002Feffect` — v4 (`main`). Contains `MIGRATION.md`, the `migration\u002F` guides, and the v4 source.\n- `.repos\u002Feffect-v3` — v3 (`v3` branch). Escalation-only reference for old semantics.\n\nEach clone is independently re-runnable and separately deletable. Do not use `git worktree` to share one clone between branches.\n\n### Validate an existing checkout before trusting it\n\n`.\u002F.repos\u002Feffect` may already exist, cloned from the archived `Effect-TS\u002Feffect-smol` repo by older setup instructions. That checkout is dead: it is stale and does not contain `migration\u002Fv3-to-v4.md`. Verify before using:\n\n```sh\ngit -C .repos\u002Feffect remote get-url origin   # must be the canonical Effect-TS\u002Feffect repo\nnode -p \"require('.\u002F.repos\u002Feffect\u002Fpackages\u002Feffect\u002Fpackage.json').version\"   # must be 4.x\n```\n\nIf the origin points at `effect-smol`, or the version is not `4.x`, delete the directory and re-clone as above.\n\n## Reading Order\n\n1. **Front-load `MIGRATION.md` once** (`.repos\u002Feffect\u002FMIGRATION.md`).\n2. **`migration\u002Fv3-to-v4.md` — the first stop for every API.** The generated reference covers every removed or changed API. Search it (see below); never read it whole.\n3. **A per-topic guide** (`.repos\u002Feffect\u002Fmigration\u002F*.md`) when the mapping implies a rewrite rather than a rename — e.g. `Context.Tag` → `Context.Service` is a structural change, not a symbol swap. Reach these on demand from the `MIGRATION.md` index, not front-loaded.\n4. **v4 source** (`.repos\u002Feffect\u002Fpackages\u002F*\u002Fsrc\u002F`, including `unstable\u002F`) to confirm a replacement's real signature before writing code against it.\n5. **v3 source** (`.repos\u002Feffect-v3`) as escalation only — for when unsure about the old v3 semantics.\n\n## Never Read the Reference Doc Whole\n\n**This is the single most important rule in this skill.** `migration\u002Fv3-to-v4.md` is ~16,000 lines \u002F ~350k tokens. Reading it in one pass blows the context window and takes the migration with it.\n\nAlways search it and read only matched lines plus surrounding context. The file has four sections — **Import Map**, **No Counterpart Imports**, **Removed Modules**, and **API Reference** (one `` ### `\u003Cv3 module path>` `` heading per module). Entries are grep-able one-liners of the form ``- `Old.symbol` -> `New.symbol`: \u003Crationale>``, and removals are explicit `` -> `none` `` entries with a stated alternative.\n\nConcrete recipes:\n\n```sh\n# Look up a specific v3 symbol\nrg -n 'AnthropicTokenizer\\.layer' .repos\u002Feffect\u002Fmigration\u002Fv3-to-v4.md\n\n# Read a whole module's section via its heading\nrg -n -A 40 '^### `@effect\u002Fplatform\u002FFileSystem`' .repos\u002Feffect\u002Fmigration\u002Fv3-to-v4.md\n\n# Resolve a v3 import path in the Import Map\nrg -n '^@effect\u002Fplatform\u002FFileSystem ' .repos\u002Feffect\u002Fmigration\u002Fv3-to-v4.md\n\n# List every module section for a package\nrg -n '^### `@effect\u002Fcluster\u002F' .repos\u002Feffect\u002Fmigration\u002Fv3-to-v4.md\n```\n\nLook up APIs as you encounter them, one search at a time. A miss in the Import Map is not a dead end — check the **Removed Modules** and **No Counterpart Imports** sections before concluding anything.\n\n## Repo-Level Changes\n\nFaithful per-API lookup alone still yields a broken `package.json`. Handle these once, up front:\n\n- **Package consolidation.** `@effect\u002Fplatform`, `@effect\u002Frpc`, `@effect\u002Fcluster`, and others merged into the core `effect` package — remove them from `package.json` and rewrite their imports per the Import Map. Packages that remain separate (`@effect\u002Fplatform-*`, `@effect\u002Fsql-*`, `@effect\u002Fai-*`, `@effect\u002Fopentelemetry`, `@effect\u002Fvitest`, …) stay as dependencies.\n- **Version alignment.** All Effect ecosystem packages share one version number in v4. Every remaining `effect` \u002F `@effect\u002F*` dependency must be on the same matching version.\n- **Unstable modules.** Some functionality only exists under `effect\u002Funstable\u002F*` import paths (e.g. `effect\u002Funstable\u002Fhttp`, `effect\u002Funstable\u002Frpc`). These are correct v4 imports — use them where the reference maps to them; they may receive breaking changes in minor releases.\n\n## Delegating to Sub-Agents\n\nPer-file migration work is context-hungry; do it in sub-agents so the main session's context survives the whole migration.\n\n- Spawn one sub-agent per file (or per module), giving it the specific v3 symbols to resolve in that file.\n- The sub-agent returns the edit and the mappings it used; the main session keeps the error inventory and the running summary.\n- Sub-agents inherit the same lookup discipline (**Reading Order**, the `rg` recipes) and **Hard Prohibitions**.\n- The reference doc is never read whole in a sub-agent either — a blown sub-agent context still costs the migration that file.\n\n## Hard Prohibitions\n\n- **Never reintroduce a v3-shaped compatibility layer.** Writing a `v3-compat.ts` that re-exports old names makes type errors vanish and permanently freezes the codebase between versions. Migrate call sites to the v4 API.\n- **No `any`, no `as` casts** to silence a post-migration type error. Such an error is usually evidence the replacement has a different shape; casting deletes that information. Go back to the reference or the v4 source.\n- **No invented APIs.** Every replacement must trace to the reference doc, a topic guide, or the v4 source.\n\n## Done Condition\n\n**The project type-checks against v4.** A v4 migration is fundamentally a type-level exercise; unresolved imports and changed signatures surface there and nowhere else. Run the project's type-check (e.g. `tsc --noEmit`) until clean.\n\nRunning the test suite is recommended, and its outcome must be reported honestly — but it is **not** a gate. A repo mid-migration often has tests that cannot run for unrelated reasons; do not weaken tests to make them pass.\n\nThe final summary must state: the type-check result, the test result (or why tests were not run), every constructed replacement, and any gaps that were reported rather than bridged.\n","# Effect v3 to v4 Migration\n\nDrive an Effect v3 → v4 migration from the generated migration reference that ships in the Effect repo. Every rename, removal, and signature change is answered by upstream data — do not guess replacements.\n\n## Workflow\n\nWork through these steps in order; each one is detailed in the section named.\n\n1. **Set up and validate the local checkouts** — two shallow clones; verify any pre-existing `.repos\u002Feffect` before trusting it. See **Setup: Local Checkouts**.\n2. **Read `MIGRATION.md`** and `ls .repos\u002Feffect\u002Fmigration\u002F` for the background and guide index. See **Reading Order**.\n3. **Migrate `package.json`** — remove consolidated packages, align every remaining Effect package on one v4 version. Do this before type-checking, or the first run drowns in unresolved-import noise from packages that no longer exist. See **Repo-Level Changes**.\n4. **Run the project's type-check** (e.g. `tsc --noEmit`) to get the initial error inventory.\n5. **Iterate until the type-check is clean.** For each error, resolve the API through the lookup discipline — search `migration\u002Fv3-to-v4.md` for the symbol, escalate per **Reading Order** — then fix the call site, delegating per-file fixes to sub-agents per **Delegating to Sub-Agents**. Never silence an error instead of resolving it; see **Hard Prohibitions**.\n6. **Finish** — type-check clean; run tests and report their outcome honestly (not a gate); write the final summary. See **Done Condition**.\n\n## Setup: Local Checkouts\n\nThe migration is driven from two shallow, single-branch clones of the canonical Effect repo:\n\n```sh\ngit clone --depth 1 --single-branch https:\u002F\u002Fgithub.com\u002FEffect-TS\u002Feffect .repos\u002Feffect\ngit clone --depth 1 --single-branch --branch v3 https:\u002F\u002Fgithub.com\u002FEffect-TS\u002Feffect .repos\u002Feffect-v3\n```\n\n- `.repos\u002Feffect` — v4 (`main`). Contains `MIGRATION.md`, the `migration\u002F` guides, and the v4 source.\n- `.repos\u002Feffect-v3` — v3 (`v3` branch). Escalation-only reference for old semantics.\n\nEach clone is independently re-runnable and separately deletable. Do not use `git worktree` to share one clone between branches.\n\n### Validate an existing checkout before trusting it\n\n`.\u002F.repos\u002Feffect` may already exist, cloned from the archived `Effect-TS\u002Feffect-smol` repo by older setup instructions. That checkout is dead: it is stale and does not contain `migration\u002Fv3-to-v4.md`. Verify before using:\n\n```sh\ngit -C .repos\u002Feffect remote get-url origin   # must be the canonical Effect-TS\u002Feffect repo\nnode -p \"require('.\u002F.repos\u002Feffect\u002Fpackages\u002Feffect\u002Fpackage.json').version\"   # must be 4.x\n```\n\nIf the origin points at `effect-smol`, or the version is not `4.x`, delete the directory and re-clone as above.\n\n## Reading Order\n\n1. **Front-load `MIGRATION.md` once** (`.repos\u002Feffect\u002FMIGRATION.md`).\n2. **`migration\u002Fv3-to-v4.md` — the first stop for every API.** The generated reference covers every removed or changed API. Search it (see below); never read it whole.\n3. **A per-topic guide** (`.repos\u002Feffect\u002Fmigration\u002F*.md`) when the mapping implies a rewrite rather than a rename — e.g. `Context.Tag` → `Context.Service` is a structural change, not a symbol swap. Reach these on demand from the `MIGRATION.md` index, not front-loaded.\n4. **v4 source** (`.repos\u002Feffect\u002Fpackages\u002F*\u002Fsrc\u002F`, including `unstable\u002F`) to confirm a replacement's real signature before writing code against it.\n5. **v3 source** (`.repos\u002Feffect-v3`) as escalation only — for when unsure about the old v3 semantics.\n\n## Never Read the Reference Doc Whole\n\n**This is the single most important rule in this skill.** `migration\u002Fv3-to-v4.md` is ~16,000 lines \u002F ~350k tokens. Reading it in one pass blows the context window and takes the migration with it.\n\nAlways search it and read only matched lines plus surrounding context. The file has four sections — **Import Map**, **No Counterpart Imports**, **Removed Modules**, and **API Reference** (one `` ### `\u003Cv3 module path>` `` heading per module). Entries are grep-able one-liners of the form ``- `Old.symbol` -> `New.symbol`: \u003Crationale>``, and removals are explicit `` -> `none` `` entries with a stated alternative.\n\nConcrete recipes:\n\n```sh\n# Look up a specific v3 symbol\nrg -n 'AnthropicTokenizer\\.layer' .repos\u002Feffect\u002Fmigration\u002Fv3-to-v4.md\n\n# Read a whole module's section via its heading\nrg -n -A 40 '^### `@effect\u002Fplatform\u002FFileSystem`' .repos\u002Feffect\u002Fmigration\u002Fv3-to-v4.md\n\n# Resolve a v3 import path in the Import Map\nrg -n '^@effect\u002Fplatform\u002FFileSystem ' .repos\u002Feffect\u002Fmigration\u002Fv3-to-v4.md\n\n# List every module section for a package\nrg -n '^### `@effect\u002Fcluster\u002F' .repos\u002Feffect\u002Fmigration\u002Fv3-to-v4.md\n```\n\nLook up APIs as you encounter them, one search at a time. A miss in the Import Map is not a dead end — check the **Removed Modules** and **No Counterpart Imports** sections before concluding anything.\n\n## Repo-Level Changes\n\nFaithful per-API lookup alone still yields a broken `package.json`. Handle these once, up front:\n\n- **Package consolidation.** `@effect\u002Fplatform`, `@effect\u002Frpc`, `@effect\u002Fcluster`, and others merged into the core `effect` package — remove them from `package.json` and rewrite their imports per the Import Map. Packages that remain separate (`@effect\u002Fplatform-*`, `@effect\u002Fsql-*`, `@effect\u002Fai-*`, `@effect\u002Fopentelemetry`, `@effect\u002Fvitest`, …) stay as dependencies.\n- **Version alignment.** All Effect ecosystem packages share one version number in v4. Every remaining `effect` \u002F `@effect\u002F*` dependency must be on the same matching version.\n- **Unstable modules.** Some functionality only exists under `effect\u002Funstable\u002F*` import paths (e.g. `effect\u002Funstable\u002Fhttp`, `effect\u002Funstable\u002Frpc`). These are correct v4 imports — use them where the reference maps to them; they may receive breaking changes in minor releases.\n\n## Delegating to Sub-Agents\n\nPer-file migration work is context-hungry; do it in sub-agents so the main session's context survives the whole migration.\n\n- Spawn one sub-agent per file (or per module), giving it the specific v3 symbols to resolve in that file.\n- The sub-agent returns the edit and the mappings it used; the main session keeps the error inventory and the running summary.\n- Sub-agents inherit the same lookup discipline (**Reading Order**, the `rg` recipes) and **Hard Prohibitions**.\n- The reference doc is never read whole in a sub-agent either — a blown sub-agent context still costs the migration that file.\n\n## Hard Prohibitions\n\n- **Never reintroduce a v3-shaped compatibility layer.** Writing a `v3-compat.ts` that re-exports old names makes type errors vanish and permanently freezes the codebase between versions. Migrate call sites to the v4 API.\n- **No `any`, no `as` casts** to silence a post-migration type error. Such an error is usually evidence the replacement has a different shape; casting deletes that information. Go back to the reference or the v4 source.\n- **No invented APIs.** Every replacement must trace to the reference doc, a topic guide, or the v4 source.\n\n## Done Condition\n\n**The project type-checks against v4.** A v4 migration is fundamentally a type-level exercise; unresolved imports and changed signatures surface there and nowhere else. Run the project's type-check (e.g. `tsc --noEmit`) until clean.\n\nRunning the test suite is recommended, and its outcome must be reported honestly — but it is **not** a gate. A repo mid-migration often has tests that cannot run for unrelated reasons; do not weaken tests to make them pass.\n\nThe final summary must state: the type-check result, the test result (or why tests were not run), every constructed replacement, and any gaps that were reported rather than bridged.\n",{"description":7},"main","fcff5b79d5931532a16ce524fc0de9499ce389f9","agent\u002Fskills\u002Feffect-v3-to-v4","https:\u002F\u002Fgithub.com\u002FQuick-Release\u002Fworkbench","https:\u002F\u002Fgithub.com\u002FQuick-Release","https:\u002F\u002Fgetquick.io","2026-11-12 23:46:47",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Quick-Release\u002Fworkbench --skill effect-v3-to-v4",{"tool":37,"command":38},"bunx","bunx skills add Quick-Release\u002Fworkbench --skill effect-v3-to-v4",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Quick-Release\u002Fworkbench --skill effect-v3-to-v4","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FQuick-Release\u002Fworkbench\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Feffect-v3-to-v4\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7C0VMBTFVGRYVB2E5T0ETGN","writing-shape","Writing, exploit: shape raw material into an article, paragraph by paragraph.","https:\u002F\u002Fgithub.com\u002FQuick-Release\u002Fworkbench\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fwriting-shape\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7C0VK29GTAC7VBDP46K6FCS","writing-fragments","Writing, explore: mine raw fragments, no structure yet.","https:\u002F\u002Fgithub.com\u002FQuick-Release\u002Fworkbench\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fwriting-fragments\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"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},"01M7C0VGKB6WGQRDWSZZTPQW1D","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002FQuick-Release\u002Fworkbench\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fwriting-for-agents\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},"01M7C0VEJSGP4P2HXTAFFP57ZJ","writing-beats","Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.","https:\u002F\u002Fgithub.com\u002FQuick-Release\u002Fworkbench\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fwriting-beats\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7C0VBFBM15KHRGYETTS2JSP","wizard","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","https:\u002F\u002Fgithub.com\u002FQuick-Release\u002Fworkbench\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7C0V937T65ZYXFKEA072JBT","wayfinder","Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002FQuick-Release\u002Fworkbench\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[]]