[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F1CA4DNANA1YRN8BRZB9EY":3,"skill-same:01M7F1CA4DNANA1YRN8BRZB9EY":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},"01M7F1CA4DNANA1YRN8BRZB9EY","effect",null,"Work with Effect v4 TypeScript code in this repo","monti212\u002FCode-agent","monti212","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F111462978?v=4","01M7F1C5MT9PHA2YW0VYZ1SAHR","Monti","01M7F1C5NJZYQE6DJPPXY87WPM",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmonti212\u002FCode-agent\u002Fblob\u002Facp-command-lifecycle\u002F.opencode\u002Fskills\u002Feffect\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: effect\ndescription: Work with Effect v4 TypeScript code in this repo\n---\n\n# Effect\n\nThis codebase uses Effect for typed, composable TypeScript services, schemas, and workflows.\n\n## Source Of Truth\n\nUse the current Effect v4 source, not memory or older Effect v2\u002Fv3 examples.\n\n1. If `.opencode\u002Freferences\u002Feffect` is missing, clone `https:\u002F\u002Fgithub.com\u002FEffect-TS\u002Feffect` there. Do this in the project, not in the skill folder.\n2. Search `.opencode\u002Freferences\u002Feffect` for exact APIs, examples, tests, and naming patterns before answering or implementing Effect-specific code.\n3. Also inspect existing repo code for local house style before introducing new patterns.\n4. Prefer answers and implementations backed by specific source files or nearby repo examples.\n\n## Guidelines\n\n- Prefer current Effect v4 APIs and project-local patterns over old blog posts, examples, or package-memory guesses.\n- Use `Effect.gen(function* () { ... })` for multi-step workflows.\n- Use `Effect.fn(\"Name\")` or `Effect.fnUntraced(...)` for named effects when adding reusable service methods or important workflows.\n- Prefer Effect `Schema` for API and domain data shapes. Use branded schemas for IDs and `Schema.TaggedErrorClass` for typed domain errors when modeling new error surfaces.\n- Keep HTTP handlers thin: decode input, read request context, call services, and map transport errors. Put business rules in services.\n- In Effect service code, prefer Effect-aware platform abstractions and dependencies over ad hoc promises where the surrounding code already does so.\n- Keep layer composition explicit. Avoid broad hidden provisioning that makes missing dependencies hard to see.\n- In tests, prefer the repo's existing Effect test helpers and live tests for filesystem, git, child process, locks, or timing behavior.\n- Do not introduce `any`, non-null assertions, unchecked casts, or older Effect APIs just to satisfy types.\n- Do not answer from memory. Verify against `.opencode\u002Freferences\u002Feffect` or nearby code first.\n\n## Testing Patterns\n\n- Use `testEffect(...)` from `packages\u002Fcore\u002Ftest\u002Flib\u002Feffect.ts` for tests that exercise Effect services, layers, runtime context, scoped resources, or platform integrations.\n- Use `it.live(...)` for filesystem, git repositories, HTTP servers, sockets, child processes, locks, real time, and other live platform behavior.\n- Run tests from package directories such as `packages\u002Fcore`; never run package tests from the repo root.\n- Prefer explicit test layers over ad hoc managed runtimes. Keep dependency provisioning visible in the test file.\n- Use scoped fixtures and finalizers for resources that must be cleaned up, including temporary directories, flags, databases, fibers, servers, and global state.\n","# Effect\n\nThis codebase uses Effect for typed, composable TypeScript services, schemas, and workflows.\n\n## Source Of Truth\n\nUse the current Effect v4 source, not memory or older Effect v2\u002Fv3 examples.\n\n1. If `.opencode\u002Freferences\u002Feffect` is missing, clone `https:\u002F\u002Fgithub.com\u002FEffect-TS\u002Feffect` there. Do this in the project, not in the skill folder.\n2. Search `.opencode\u002Freferences\u002Feffect` for exact APIs, examples, tests, and naming patterns before answering or implementing Effect-specific code.\n3. Also inspect existing repo code for local house style before introducing new patterns.\n4. Prefer answers and implementations backed by specific source files or nearby repo examples.\n\n## Guidelines\n\n- Prefer current Effect v4 APIs and project-local patterns over old blog posts, examples, or package-memory guesses.\n- Use `Effect.gen(function* () { ... })` for multi-step workflows.\n- Use `Effect.fn(\"Name\")` or `Effect.fnUntraced(...)` for named effects when adding reusable service methods or important workflows.\n- Prefer Effect `Schema` for API and domain data shapes. Use branded schemas for IDs and `Schema.TaggedErrorClass` for typed domain errors when modeling new error surfaces.\n- Keep HTTP handlers thin: decode input, read request context, call services, and map transport errors. Put business rules in services.\n- In Effect service code, prefer Effect-aware platform abstractions and dependencies over ad hoc promises where the surrounding code already does so.\n- Keep layer composition explicit. Avoid broad hidden provisioning that makes missing dependencies hard to see.\n- In tests, prefer the repo's existing Effect test helpers and live tests for filesystem, git, child process, locks, or timing behavior.\n- Do not introduce `any`, non-null assertions, unchecked casts, or older Effect APIs just to satisfy types.\n- Do not answer from memory. Verify against `.opencode\u002Freferences\u002Feffect` or nearby code first.\n\n## Testing Patterns\n\n- Use `testEffect(...)` from `packages\u002Fcore\u002Ftest\u002Flib\u002Feffect.ts` for tests that exercise Effect services, layers, runtime context, scoped resources, or platform integrations.\n- Use `it.live(...)` for filesystem, git repositories, HTTP servers, sockets, child processes, locks, real time, and other live platform behavior.\n- Run tests from package directories such as `packages\u002Fcore`; never run package tests from the repo root.\n- Prefer explicit test layers over ad hoc managed runtimes. Keep dependency provisioning visible in the test file.\n- Use scoped fixtures and finalizers for resources that must be cleaned up, including temporary directories, flags, databases, fibers, servers, and global state.\n",{"name":5,"description":7},"acp-command-lifecycle","c6cc98b9798b8156c2a38101c05552d5fb2398bf",".opencode\u002Fskills\u002Feffect","https:\u002F\u002Fgithub.com\u002Fmonti212\u002FCode-agent","https:\u002F\u002Fgithub.com\u002Fmonti212","2026-10-31 08:52:44",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add monti212\u002FCode-agent --skill effect",{"tool":36,"command":37},"bunx","bunx skills add monti212\u002FCode-agent --skill effect",{"tool":39,"command":40},"pnpm","pnpm dlx skills add monti212\u002FCode-agent --skill effect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmonti212\u002FCode-agent\u002Fblob\u002Facp-command-lifecycle\u002F.opencode\u002Fskills\u002Feffect\u002FSKILL.md",true,[],[45,52,59,66,73],{"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},"01M7F1CQ9A6A1FBEZDZCJXC0QC","second","Second skill","https:\u002F\u002Fgithub.com\u002Fmonti212\u002FCode-agent\u002Fblob\u002Facp-command-lifecycle\u002Fpackages\u002Fcore\u002Ftest\u002Fconfig\u002Ffixture\u002Fskills\u002Fsecond-source\u002Fsecond\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},"01M7F1CP6ZV2CHGTCD220776S4","first","First skill","https:\u002F\u002Fgithub.com\u002Fmonti212\u002FCode-agent\u002Fblob\u002Facp-command-lifecycle\u002Fpackages\u002Fcore\u002Ftest\u002Fconfig\u002Ffixture\u002Fskills\u002Ffirst-source\u002Ffirst\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},"01M7F1CKJ0ECK40J785KHE9T1E","sample-skill","Use when the user says sample skill, skill demo, or asks how an opencode SKILL.md should be structured; demonstrates a tiny project-local skill with practical assistant workflow guidance.","https:\u002F\u002Fgithub.com\u002Fmonti212\u002FCode-agent\u002Fblob\u002Facp-command-lifecycle\u002F.opencode\u002Fskills\u002Fsample-skill\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},"01M7F1CGFPDJ7RGXW2C57XRK0M","rtl-aware-development","OpenCode Desktop should be RTL-aware. Use when implementing or reviewing RTL\u002FLTR behavior in the web app, desktop app, CSS, menus, scrolling, resizing, icons, mixed-direction text, or Electron title bars.","https:\u002F\u002Fgithub.com\u002Fmonti212\u002FCode-agent\u002Fblob\u002Facp-command-lifecycle\u002F.opencode\u002Fskills\u002Frtl-aware-development\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"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},"01M7F1CBV0MGB2EBPRABQ1QCF0","opencode-dev","Use when interactively running, debugging, or verifying opencode's own V2 CLI\u002FTUI or server during development in this repo — starting the dev TUI, driving it with termctrl, comparing V2 against the legacy TUI, hitting the V2 server\u002FAPI directly, reading log files, or attaching Bun's inspector.","https:\u002F\u002Fgithub.com\u002Fmonti212\u002FCode-agent\u002Fblob\u002Facp-command-lifecycle\u002F.opencode\u002Fskills\u002Fopencode-dev\u002FSKILL.md",[],[]]