‹ 首页

lang-ex

@dragoscirjan · 收录于 1 周前 · 上游提交 1 个月前

Elixir development standards and tooling.

适合你,如果你在用 Elixir 开发并希望统一代码风格和工具配置。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add dragoscirjan/opencode-config/lang-ex
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- dragoscirjan/opencode-config/lang-ex
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify dragoscirjan/opencode-config/lang-ex
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
0GitHub stars
~116上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 f561928 · 表述以原文为准
它做什么

Claude 会按照 Elixir 官方风格指南编写代码,使用 mix format 格式化、Credo 检查代码质量、Dialyxir 做类型分析、ExUnit 写测试,并推荐管道操作符、模式匹配、{:ok, value} 或 {:error, reason} 元组返回以及“让它崩溃”的容错架构。

什么时候触发

当你询问或编写 Elixir 代码时,Claude 会自动应用这些标准。

装好后可以这样说
Claude 会运行 Credo 检查。
技能原文 SKILL.md作者撰写 · MIT · f561928

EX Standards

  • Style: Elixir Style Guide.
  • Tooling: mix format, Credo, Dialyxir, ExUnit.
  • Idioms: Leverage the pipe operator (|>). Use pattern matching in function heads.
  • Errors: Return {:ok, value} or {:error, reason} tuples.
  • Architecture: "Let it crash" — rely on OTP Supervisors and supervision trees for fault tolerance.

Always load clean-code alongside this skill.

按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。