[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C4M9AJTGEJN0Q68WXDV4DG":3,"skill-same:01M6C4M9AJTGEJN0Q68WXDV4DG":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":15,"repositoryHtmlUrl":49,"repositoryHomepageUrl":17,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":17,"updatedAt":52,"install":53,"resources":66},"01M6C4M9AJTGEJN0Q68WXDV4DG","elixir-idioms","Elixir 与 Phoenix 惯用法","Write idiomatic Elixir and Phoenix code with pattern matching, small composable functions, OTP-friendly boundaries, and BEAM-aware error handling. Use when creating or reviewing Elixir code, APIs, GenServers, Phoenix apps, Ecto code, or tests.","编写地道的 Elixir 和 Phoenix 代码，运用模式匹配、可组合的小型函数、OTP 友好的边界设计以及 BEAM 感知的错误处理。在创建或审查 Elixir 代码、API、GenServer、Phoenix 应用、Ecto 代码或测试时使用。","JonasThowsen\u002F.dotfiles","JonasThowsen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F116713750?v=4","01M6C4M1ZT6HTT1X5TH96Q48AQ","Jonas Thowsen","01M6C4M247M99A8EX3SS04F8RT",0,"MIT",null,"https:\u002F\u002Fgithub.com\u002FJonasThowsen\u002F.dotfiles\u002Fblob\u002Fmain\u002Fopencode\u002F.config\u002Fopencode\u002Fskills\u002Felixir-idioms\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40],"elixir","elixir idioms","beam","composable","code","error handling","Phoenix","write","use","opencode","2026-11-10 10:12:30",false,"---\nname: elixir-idioms\ndescription: Write idiomatic Elixir and Phoenix code with pattern matching, small composable functions, OTP-friendly boundaries, and BEAM-aware error handling. Use when creating or reviewing Elixir code, APIs, GenServers, Phoenix apps, Ecto code, or tests.\ncompatibility: opencode\n---\n\nUse this skill to keep Elixir code assertive, readable, and aligned with core language and OTP conventions.\n\n## Mindset\n\nPrefer:\n- Data transformation over object-style mutation\n- Pattern matching over manual branching\n- Small focused functions over large control-flow blocks\n- Explicit return shapes over implicit conventions\n- Supervision and process isolation over defensive over-catching\n\nWrite code that feels natural to experienced Elixir developers, not translated from Ruby, JavaScript, or OO languages.\n\n## Core style rules\n\n- Use descriptive module and function names so comments are rarely needed.\n- Keep public APIs small and intention-revealing.\n- Use pipelines when each step clearly transforms the previous value.\n- Do not force everything into a pipeline; break out named variables when branching or meaning improves.\n- Prefer multi-clause functions when clauses represent genuinely different shapes or cases.\n- Keep clauses related; do not use multi-clause functions as a grab bag.\n\n## Pattern matching and control flow\n\nPrefer assertive code:\n- Match on expected shapes directly.\n- Let invalid shapes fail early unless the caller truly needs an error tuple.\n- Use guards for real invariants, not as a substitute for better data modeling.\n\nPrefer:\n- `case` for branching on a value\n- `with` for linear happy-path flows that short-circuit on failure\n- multiple function clauses for input shape dispatch\n\nAvoid:\n- giant `cond` or `case` blocks where private helper functions would clarify intent\n- complex `with ... else` blocks that normalize many unrelated error shapes in one place\n\nIf `with` needs a complicated `else`, push normalization closer to the source via small private helpers.\n\nIf `with` needs a lot of different error handlers, use private helpers to handle the error handling, keeping the `with` tidy.\n\n## Data shapes and APIs\n\n- Use structs when data has a stable shape shared across modules.\n- Use maps for ad hoc or boundary-shaped data.\n- Use keyword lists mainly for optional arguments and configuration.\n- Prefer tagged tuples like `{:ok, value}` \u002F `{:error, reason}` for expected operational failures.\n- Raise for programmer errors, impossible states, or misuse of internal APIs.\n\nFor maps and structs:\n- Use `map.key` when the key must exist.\n- Use `map[:key]` only when the key is optional or dynamic.\n\n## Elixir-specific anti-patterns to avoid\n\n- Do not create atoms from untrusted input with `String.to_atom\u002F1`.\n- Do not over-comment self-explanatory code.\n- Do not hide invalid data with non-assertive pattern matching.\n- Do not return vague catch-all values when the failure mode matters.\n- Do not pass long unrelated parameter lists when a map\u002Fstruct would clarify the API.\n\n## OTP and process boundaries\n\nWhen working with processes:\n- Put stateful behavior behind a clear process boundary.\n- Keep GenServers thin; move domain logic into plain modules when possible.\n- Store minimal necessary state.\n- Model sync vs async calls intentionally.\n- Let supervisors own lifecycle and recovery concerns.\n\nAvoid turning GenServers into generic service objects or dumping all business logic into callbacks.\n\n## Phoenix and Ecto conventions\n\nIn Phoenix code:\n- Keep controllers, LiveViews, and channels thin.\n- Push domain logic into contexts or dedicated modules.\n- Validate and cast external input explicitly.\n- Prefer explicit assigns and event names.\n\nIn Ecto code:\n- Use changesets for external data validation and casting.\n- Keep schema modules focused on schema and changeset concerns.\n- Prefer composable query helpers over giant inline queries.\n- Make preload behavior intentional.\n\n## Naming and documentation\n\n- Use `!` only for the raising variant of an existing safe operation.\n- Name predicates with `?`.\n- Name bangless versions as the default safe API when both forms exist.\n- Use `@moduledoc` and `@doc` for public modules and public functions when it helps users of the API.\n\n## Testing\n\n- Prefer ExUnit tests that read like executable examples.\n- Test public behavior first, private helpers indirectly.\n- Pattern match in assertions when shape matters.\n- Use factories\u002Fbuilders that keep test data explicit enough to read.\n\n## Review checklist\n\nWhen writing or reviewing Elixir code, check:\n- Is the data shape clear?\n- Are expected failures modeled explicitly?\n- Is pattern matching doing the heavy lifting?\n- Are functions short and well named?\n- Is OTP used only where state\u002Fconcurrency\u002Flifecycle actually matter?\n- Does this look like idiomatic Elixir instead of another language wearing Elixir syntax?\n","Use this skill to keep Elixir code assertive, readable, and aligned with core language and OTP conventions.\n\n## Mindset\n\nPrefer:\n- Data transformation over object-style mutation\n- Pattern matching over manual branching\n- Small focused functions over large control-flow blocks\n- Explicit return shapes over implicit conventions\n- Supervision and process isolation over defensive over-catching\n\nWrite code that feels natural to experienced Elixir developers, not translated from Ruby, JavaScript, or OO languages.\n\n## Core style rules\n\n- Use descriptive module and function names so comments are rarely needed.\n- Keep public APIs small and intention-revealing.\n- Use pipelines when each step clearly transforms the previous value.\n- Do not force everything into a pipeline; break out named variables when branching or meaning improves.\n- Prefer multi-clause functions when clauses represent genuinely different shapes or cases.\n- Keep clauses related; do not use multi-clause functions as a grab bag.\n\n## Pattern matching and control flow\n\nPrefer assertive code:\n- Match on expected shapes directly.\n- Let invalid shapes fail early unless the caller truly needs an error tuple.\n- Use guards for real invariants, not as a substitute for better data modeling.\n\nPrefer:\n- `case` for branching on a value\n- `with` for linear happy-path flows that short-circuit on failure\n- multiple function clauses for input shape dispatch\n\nAvoid:\n- giant `cond` or `case` blocks where private helper functions would clarify intent\n- complex `with ... else` blocks that normalize many unrelated error shapes in one place\n\nIf `with` needs a complicated `else`, push normalization closer to the source via small private helpers.\n\nIf `with` needs a lot of different error handlers, use private helpers to handle the error handling, keeping the `with` tidy.\n\n## Data shapes and APIs\n\n- Use structs when data has a stable shape shared across modules.\n- Use maps for ad hoc or boundary-shaped data.\n- Use keyword lists mainly for optional arguments and configuration.\n- Prefer tagged tuples like `{:ok, value}` \u002F `{:error, reason}` for expected operational failures.\n- Raise for programmer errors, impossible states, or misuse of internal APIs.\n\nFor maps and structs:\n- Use `map.key` when the key must exist.\n- Use `map[:key]` only when the key is optional or dynamic.\n\n## Elixir-specific anti-patterns to avoid\n\n- Do not create atoms from untrusted input with `String.to_atom\u002F1`.\n- Do not over-comment self-explanatory code.\n- Do not hide invalid data with non-assertive pattern matching.\n- Do not return vague catch-all values when the failure mode matters.\n- Do not pass long unrelated parameter lists when a map\u002Fstruct would clarify the API.\n\n## OTP and process boundaries\n\nWhen working with processes:\n- Put stateful behavior behind a clear process boundary.\n- Keep GenServers thin; move domain logic into plain modules when possible.\n- Store minimal necessary state.\n- Model sync vs async calls intentionally.\n- Let supervisors own lifecycle and recovery concerns.\n\nAvoid turning GenServers into generic service objects or dumping all business logic into callbacks.\n\n## Phoenix and Ecto conventions\n\nIn Phoenix code:\n- Keep controllers, LiveViews, and channels thin.\n- Push domain logic into contexts or dedicated modules.\n- Validate and cast external input explicitly.\n- Prefer explicit assigns and event names.\n\nIn Ecto code:\n- Use changesets for external data validation and casting.\n- Keep schema modules focused on schema and changeset concerns.\n- Prefer composable query helpers over giant inline queries.\n- Make preload behavior intentional.\n\n## Naming and documentation\n\n- Use `!` only for the raising variant of an existing safe operation.\n- Name predicates with `?`.\n- Name bangless versions as the default safe API when both forms exist.\n- Use `@moduledoc` and `@doc` for public modules and public functions when it helps users of the API.\n\n## Testing\n\n- Prefer ExUnit tests that read like executable examples.\n- Test public behavior first, private helpers indirectly.\n- Pattern match in assertions when shape matters.\n- Use factories\u002Fbuilders that keep test data explicit enough to read.\n\n## Review checklist\n\nWhen writing or reviewing Elixir code, check:\n- Is the data shape clear?\n- Are expected failures modeled explicitly?\n- Is pattern matching doing the heavy lifting?\n- Are functions short and well named?\n- Is OTP used only where state\u002Fconcurrency\u002Flifecycle actually matter?\n- Does this look like idiomatic Elixir instead of another language wearing Elixir syntax?\n",{"name":5,"description":7,"compatibility":40},"main","f5b4e1172fd18558c9071d150a1ffe797be04ca7","opencode\u002F.config\u002Fopencode\u002Fskills\u002Felixir-idioms","https:\u002F\u002Fgithub.com\u002FJonasThowsen\u002F.dotfiles","https:\u002F\u002Fgithub.com\u002FJonasThowsen","invaron.no","2026-11-11 04:03:33",{"source":9,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add JonasThowsen\u002F.dotfiles --skill elixir-idioms",{"tool":59,"command":60},"bunx","bunx skills add JonasThowsen\u002F.dotfiles --skill elixir-idioms",{"tool":62,"command":63},"pnpm","pnpm dlx skills add JonasThowsen\u002F.dotfiles --skill elixir-idioms","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJonasThowsen\u002F.dotfiles\u002Fblob\u002Fmain\u002Fopencode\u002F.config\u002Fopencode\u002Fskills\u002Felixir-idioms\u002FSKILL.md",true,[],[68,94,118,146,164],{"skillNo":69,"name":70,"nameZh":71,"description":72,"descriptionZh":73,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":74,"categories":75,"keywords":82,"publishedAt":41},"01M6C4MHG9NKR5WM5PQ3Z1TE0C","skill-creator","技能创建与优化评估","Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.","创建新技能、修改并改进现有技能，以及衡量技能性能。当用户想要从头创建技能、编辑或优化现有技能、运行评估（eval）来测试技能、通过方差分析对技能性能做基准测试，或优化技能描述以提高触发准确率时使用。","https:\u002F\u002Fgithub.com\u002FJonasThowsen\u002F.dotfiles\u002Fblob\u002Fmain\u002Fopencode\u002F.config\u002Fopencode\u002Fskills\u002Fskill-creator\u002FSKILL.md",[76,79],{"categoryNo":77,"categoryName":78,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",{"categoryNo":80,"categoryName":81,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",[83,39,84,85,86,87,88,89,90,91,92,93],"skill creator","performance","run evals","test","variance analysis","create","run","benchmark","analysis","improve","edit",{"skillNo":95,"name":96,"nameZh":97,"description":98,"descriptionZh":99,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":100,"categories":101,"keywords":106,"publishedAt":41},"01M6C4METZ2H1R94DPVFBM6EEX","modern-astro-v6","Astro v6 应用开发","Build idiomatic Astro v6 applications with server-first rendering, islands, content collections, actions, and current v6-safe APIs. Use when creating, reviewing, or migrating Astro projects, pages, components, content layers, or integrations.","使用服务端优先渲染、islands、content collections（内容集合）、actions 以及当前 v6 安全兼容的 API，构建地道的 Astro v6 应用。在创建、审查或迁移 Astro 项目、页面、组件、内容层或集成时使用该技能。","https:\u002F\u002Fgithub.com\u002FJonasThowsen\u002F.dotfiles\u002Fblob\u002Fmain\u002Fopencode\u002F.config\u002Fopencode\u002Fskills\u002Fmodern-astro-v6\u002FSKILL.md",[102,103],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":104,"categoryName":105,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现",[107,108,109,110,111,112,113,114,115,116,117,39,40],"astro","modern astro v6","server","actions","applications","content","components","safe","first","projects","integrations",{"skillNo":119,"name":120,"nameZh":121,"description":122,"descriptionZh":123,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":124,"categories":125,"keywords":130,"publishedAt":41},"01M6C4MC12H795H32MWYRA9JQM","frontend-design","前端界面设计与实现","Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML\u002FCSS layouts, or when styling\u002Fbeautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.","创建富有特色、达到生产级且设计精良的前端界面。当用户要求构建 Web 组件、页面、工件、海报或应用时使用此技能（例如网站、落地页、仪表板、React 组件、HTML\u002FCSS 布局，或为任意 Web UI 提供样式美化）。生成富有创意、精致的代码和 UI 设计，避免千篇一律的 AI 风格。","https:\u002F\u002Fgithub.com\u002FJonasThowsen\u002F.dotfiles\u002Fblob\u002Fmain\u002Fopencode\u002F.config\u002Fopencode\u002Fskills\u002Ffrontend-design\u002FSKILL.md",[126,129],{"categoryNo":127,"categoryName":128,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQMKHSMFVQHR2KYAEVN","界面设计师",{"categoryNo":104,"categoryName":105,"taxonomyType":28,"taxonomyTypeDesc":29},[131,132,133,134,135,39,136,137,111,138,139,113,140,141,142,88,35,143,144,145],"frontend","design","frontend design","creative","styling","landing","quality","css","web","react","react components","web components","artifacts","examples","Production",{"skillNo":147,"name":148,"nameZh":149,"description":150,"descriptionZh":151,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":152,"categories":153,"keywords":156,"publishedAt":41},"01M6C4M6K4NVF6XDRCC1SPP2BX","effect-ts-idioms","Effect TypeScript 惯用法","Write idiomatic modern Effect TypeScript using Effect.gen or clear pipelines, typed error channels, Context and Layer services, and resource-safe runtime boundaries. Use when building or reviewing code with Effect, @effect\u002Fplatform, Schema, Layers, or Effect-based applications.","编写地道的现代 Effect TypeScript 代码，使用 Effect.gen 或清晰的 pipeline（管道）、类型化错误通道、Context 与 Layer 服务，以及资源安全的运行时边界。在使用 Effect、@effect\u002Fplatform、Schema、Layers 构建或审查代码，或开发基于 Effect 的应用程序时使用。","https:\u002F\u002Fgithub.com\u002FJonasThowsen\u002F.dotfiles\u002Fblob\u002Fmain\u002Fopencode\u002F.config\u002Fopencode\u002Fskills\u002Feffect-ts-idioms\u002FSKILL.md",[154,155],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[157,158,159,160,114,161,35,162,111,38,39,163,40],"effect ts idioms","effect ts","effect","context","typescript","services","schema",{"skillNo":165,"name":166,"nameZh":167,"description":168,"descriptionZh":169,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":170,"categories":171,"keywords":174,"publishedAt":41},"01M6C4M42EEAKE6VBVQKTN11MK","ash-framework-idioms","Ash 框架惯用法","Write idiomatic Ash framework code using intentful actions, code interfaces, relationship management, DSL-first modeling, and framework-native changes\u002Fpreparations instead of ad hoc helper layers. Use when creating or reviewing Ash resources, domains, actions, queries, or Phoenix integrations.","编写地道的 Ash 框架代码，使用意图明确的 action（动作）、代码接口、关系管理、DSL 优先的建模，以及框架原生的 change\u002Fpreparation（变更\u002F准备），而非临时的辅助层。在创建或审查 Ash resource（资源）、domain（域）、action（动作）、query（查询）或 Phoenix 集成时使用。","https:\u002F\u002Fgithub.com\u002FJonasThowsen\u002F.dotfiles\u002Fblob\u002Fmain\u002Fopencode\u002F.config\u002Fopencode\u002Fskills\u002Fash-framework-idioms\u002FSKILL.md",[172,173],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[175,176,35,110,37,115,117,38,177,39,40],"framework","ash framework idioms","management"]