[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77Y2GX8XRKBR7CBZZ3D58D4":3,"skill-same:01M77Y2GX8XRKBR7CBZZ3D58D4":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":13,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M77Y2GX8XRKBR7CBZZ3D58D4","elixir-standards",null,"Use when writing, reviewing, testing, formatting, or configuring any Elixir code (.ex\u002F.exs files, mix.exs, mix.lock) in a touchstone repo — asdf\u002F.tool-versions pin, Hex with committed mix.lock, mix format + Credo, typespecs + Dialyzer, OTP supervision trees, {:ok,_}\u002F{:error,_} idioms, ExUnit + Mox, mix release with runtime.exs. Invoke before adding deps, editing tests, wiring supervisors, or changing error handling. Phoenix-specific concerns (controllers, LiveView, contexts-as-web) → phoenix skill.","hwanngo\u002Ftouchstone","hwanngo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F40811995?v=4","01M77Y071N2D3A6BMB2GVS4F36","01M77Y072AAS1FW736DJ42EP5S",0,"MIT","https:\u002F\u002Fgithub.com\u002Fhwanngo\u002Ftouchstone\u002Fblob\u002Fmain\u002Fskills\u002Felixir-standards\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: elixir-standards\ndescription: Use when writing, reviewing, testing, formatting, or configuring any Elixir code (.ex\u002F.exs files, mix.exs, mix.lock) in a touchstone repo — asdf\u002F.tool-versions pin, Hex with committed mix.lock, mix format + Credo, typespecs + Dialyzer, OTP supervision trees, {:ok,_}\u002F{:error,_} idioms, ExUnit + Mox, mix release with runtime.exs. Invoke before adding deps, editing tests, wiring supervisors, or changing error handling. Phoenix-specific concerns (controllers, LiveView, contexts-as-web) → phoenix skill.\nlicense: MIT\nmetadata:\n  version: 0.2.0\n  author: touchstone\n---\n\n# Elixir Standards\n\nFull standard: **`standards\u002Flanguages\u002Felixir.md`** in the touchstone repo. This skill inlines the\nload-bearing rules so it stays useful even when installed standalone in `~\u002F.claude\u002Fskills\u002F`:\n\n## Always\n- Pin Elixir + OTP in **`.tool-versions`** (1.18+ floor, target 1.20 \u002F OTP 27+) via asdf\u002Fmise — never a system Erlang; same strings CI installs.\n- **Hex deps with committed `mix.lock`** (apps **and** libraries); `mix deps.get` from the lock, `mix deps.unlock --unused` clean.\n- Format with **`mix format`** (CI: `--check-formatted`); compile with **`--warnings-as-errors`**; lint with **`mix credo --strict`**.\n- **`@spec` public functions**; run **`mix dialyzer`** with a cached PLT — new warnings fail the build.\n- Test with **ExUnit `async: true`**; mock **behaviours via Mox**, not modules; `start_supervised!\u002F1` for processes.\n\n## Don't get burned\n- **\"Let it crash\" is for the *unexpected*** — supervise the recovery; don't `rescue`\u002F`try` around expected failures, which return **`{:ok, _}`\u002F`{:error, reason}`** with matchable reasons (not bare strings). Bang functions raise only where a caller can't recover.\n- **Everything under a supervision tree** — explicit `child_spec`, never bare `spawn`; pick `:one_for_one`\u002F`:rest_for_one`\u002F`:one_for_all` deliberately. `Registry`\u002F`:via` for names; never build process names from user input (atoms aren't GC'd). `DynamicSupervisor`\u002F`Task.Supervisor` for runtime children.\n- **`with`\u002F`else` to chain `{:ok, _}` steps** — keep `else` explicit so an error tag isn't swallowed. Pattern-match in function heads.\n- **`Task.async_stream`** (bounded `max_concurrency` + `:timeout`) for parallel I\u002FO; **Broadway\u002FGenStage** for back-pressured pipelines _(scale-up)_. Never share mutable state across processes; ETS for shared read-heavy caches.\n- **Prod runs a `mix release`** — no Mix at runtime; **all runtime config in `config\u002Fruntime.exs`**, fail-fast on missing env (`System.fetch_env!`). Run migrations from a release command, not `mix ecto.migrate`.\n- `mix deps.audit` clean; emit `:telemetry` at boundaries; structured `Logger` metadata, no secrets. Ecto\u002FSQL depth → `standards\u002Fplatform\u002Fdatabase.md`.\n\n## Done\n`mix format --check-formatted` + `compile --warnings-as-errors` clean · `mix credo --strict` clean · `mix dialyzer` clean (specs on public fns) · `mix test` green (async, Mox) · `mix.lock` committed, `mix deps.audit` clean · supervised, no bare `spawn` · `mix release` with `config\u002Fruntime.exs`. See `standards\u002Flanguages\u002Felixir.md`.\n","# Elixir Standards\n\nFull standard: **`standards\u002Flanguages\u002Felixir.md`** in the touchstone repo. This skill inlines the\nload-bearing rules so it stays useful even when installed standalone in `~\u002F.claude\u002Fskills\u002F`:\n\n## Always\n- Pin Elixir + OTP in **`.tool-versions`** (1.18+ floor, target 1.20 \u002F OTP 27+) via asdf\u002Fmise — never a system Erlang; same strings CI installs.\n- **Hex deps with committed `mix.lock`** (apps **and** libraries); `mix deps.get` from the lock, `mix deps.unlock --unused` clean.\n- Format with **`mix format`** (CI: `--check-formatted`); compile with **`--warnings-as-errors`**; lint with **`mix credo --strict`**.\n- **`@spec` public functions**; run **`mix dialyzer`** with a cached PLT — new warnings fail the build.\n- Test with **ExUnit `async: true`**; mock **behaviours via Mox**, not modules; `start_supervised!\u002F1` for processes.\n\n## Don't get burned\n- **\"Let it crash\" is for the *unexpected*** — supervise the recovery; don't `rescue`\u002F`try` around expected failures, which return **`{:ok, _}`\u002F`{:error, reason}`** with matchable reasons (not bare strings). Bang functions raise only where a caller can't recover.\n- **Everything under a supervision tree** — explicit `child_spec`, never bare `spawn`; pick `:one_for_one`\u002F`:rest_for_one`\u002F`:one_for_all` deliberately. `Registry`\u002F`:via` for names; never build process names from user input (atoms aren't GC'd). `DynamicSupervisor`\u002F`Task.Supervisor` for runtime children.\n- **`with`\u002F`else` to chain `{:ok, _}` steps** — keep `else` explicit so an error tag isn't swallowed. Pattern-match in function heads.\n- **`Task.async_stream`** (bounded `max_concurrency` + `:timeout`) for parallel I\u002FO; **Broadway\u002FGenStage** for back-pressured pipelines _(scale-up)_. Never share mutable state across processes; ETS for shared read-heavy caches.\n- **Prod runs a `mix release`** — no Mix at runtime; **all runtime config in `config\u002Fruntime.exs`**, fail-fast on missing env (`System.fetch_env!`). Run migrations from a release command, not `mix ecto.migrate`.\n- `mix deps.audit` clean; emit `:telemetry` at boundaries; structured `Logger` metadata, no secrets. Ecto\u002FSQL depth → `standards\u002Fplatform\u002Fdatabase.md`.\n\n## Done\n`mix format --check-formatted` + `compile --warnings-as-errors` clean · `mix credo --strict` clean · `mix dialyzer` clean (specs on public fns) · `mix test` green (async, Mox) · `mix.lock` committed, `mix deps.audit` clean · supervised, no bare `spawn` · `mix release` with `config\u002Fruntime.exs`. See `standards\u002Flanguages\u002Felixir.md`.\n",{"name":5,"license":14,"metadata":23,"description":7},{"author":24,"version":25},"touchstone","0.2.0","main","d733e177953000560b4cee8f6c01c63aa7a498f0","skills\u002Felixir-standards","https:\u002F\u002Fgithub.com\u002Fhwanngo\u002Ftouchstone","https:\u002F\u002Fgithub.com\u002Fhwanngo","\"There is always one more bug to fix.\"","2026-08-26 01:16:05",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add hwanngo\u002Ftouchstone --skill elixir-standards",{"tool":39,"command":40},"bunx","bunx skills add hwanngo\u002Ftouchstone --skill elixir-standards",{"tool":42,"command":43},"pnpm","pnpm dlx skills add hwanngo\u002Ftouchstone --skill elixir-standards","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhwanngo\u002Ftouchstone\u002Fblob\u002Fmain\u002Fskills\u002Felixir-standards\u002FSKILL.md",true,[],[48,55,62,67,72,77],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":18},"01M77YA15EH4A1SDYPZSPZSE8V","ok-standards","Use when writing shell, per standards\u002Flanguages\u002Fshell.md.","https:\u002F\u002Fgithub.com\u002Fhwanngo\u002Ftouchstone\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fstandards-known-good\u002Fskills\u002Fok-standards\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M77Y9YK8K580BZ6GNZP6N0PW","demo-standards","Use when editing demo code in a touchstone fixture repo, a deliberately ordinary description that is long enough to clear the forty character minimum.","https:\u002F\u002Fgithub.com\u002Fhwanngo\u002Ftouchstone\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills-url-ignored\u002Fskills\u002Fdemo-standards\u002FSKILL.md",[],[],{"skillNo":63,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M77Y9VKRQH1CD8B7Y1BZX0PX","https:\u002F\u002Fgithub.com\u002Fhwanngo\u002Ftouchstone\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills-stray-xml\u002Fskills\u002Fdemo-standards\u002FSKILL.md",[],[],{"skillNo":68,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M77Y9SZBHZJES7014P5W1A33","https:\u002F\u002Fgithub.com\u002Fhwanngo\u002Ftouchstone\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills-pointer-sentence-period\u002Fskills\u002Fdemo-standards\u002FSKILL.md",[],[],{"skillNo":73,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M77Y9Q6PRTYDTPR8EK0TMJC6","https:\u002F\u002Fgithub.com\u002Fhwanngo\u002Ftouchstone\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills-pointer-relative-dead\u002Fskills\u002Fdemo-standards\u002FSKILL.md",[],[],{"skillNo":78,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M77Y9NH1Z2528QQ6VQ45G6RV","https:\u002F\u002Fgithub.com\u002Fhwanngo\u002Ftouchstone\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills-pointer-outside-repo\u002Fskills\u002Fdemo-standards\u002FSKILL.md",[],[]]