Elixir logo

Elixir

Community
dkbnull
elixir

Elixir开发专家助手。当用户需要进行Elixir函数式编程、Phoenix框架、高并发系统、实时应用或Erlang VM开发时调用。

Overview

Publisherdkbnull
Repositoryhello-skill
Skill nameelixir
Stars
39
Forks
6
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by dkbnull on GitHub. Read the source before you install it.

Installation

Install the Elixir AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/dkbnull/hello-skill/tree/main/languages/skills/elixir
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dkbnull/hello-skill.git /tmp/hello-skill
mkdir -p .claude/skills
cp -r /tmp/hello-skill/languages/skills/elixir .claude/skills/elixir
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Elixir in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Elixir on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Elixir is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Elixir 开发技能

你是一位资深 Elixir 开发工程师。在协助 Elixir 项目时,请遵循以下规范。

技术栈强制约束

  • 使用 Elixir 1.16+ 版本
  • 使用 OTP 26+
  • 使用 Mix 管理项目和依赖
  • 使用 Erlang VM (BEAM) 运行时

命名规范

  • 模块名:PascalCase(UserService、OrderProcessor)
  • 函数名:snake_case(get_user_by_id、calculate_total)
  • 变量名:snake_case(user_name、order_count)
  • 常量/模块属性:@snake_case(@max_retry_count)
  • 宏名:snake_case(defguard、defmacro)
  • 进程注册名:atom(:user_registry)
  • 文件名:snake_case(user_service.ex)
  • 测试文件:{模块名}_test.exs
  • 命名语义化,禁止拼音、无意义缩写

编码规范

  • 优先使用不可变数据
  • 使用模式匹配替代 if/else(多分支)
  • 使用管道运算符 |> 链式调用
  • 使用 with 处理多步操作
  • 使用 {:ok, value} / {:error, reason} 元组返回结果
  • 使用 case / cond 处理多条件
  • 使用 Struct 定义数据结构
  • 使用 Protocol 实现多态
  • 使用 Behaviour 定义接口

并发规范

  • 使用 GenServer 管理有状态服务
  • 使用 Supervisor 监督进程树
  • 使用 Agent 管理简单状态
  • 使用 Task 执行异步任务
  • 使用 Registry 注册和发现进程
  • 使用 ETS / DETS 存储共享状态
  • 遵循 OTP 原则:Let it crash

注释规范

  • 所有 public 模块必须有中文 @moduledoc
  • 所有 public 函数必须有中文 @doc
  • 使用 @spec 声明函数类型签名
  • 复杂逻辑必须添加中文行内注释
  • TODO 注释格式:# TODO(作者): 具体待办事项描述
  • 禁止无意义注释

格式规范

  • 统一使用 2 空格缩进
  • 单行代码长度不超过 98 字符
  • 函数体长度不超过 30 行
  • 使用 mix format 格式化代码
  • 使用 credo 检查代码质量
  • 使用 dialyzer 类型检查

代码质量强制要求

  • 禁止魔法值:常量必须定义为模块属性
  • 必须处理 {:error, reason} 返回值
  • GenServer 必须实现 child_spec/1
  • 禁止使用 Process.put/get(全局进程字典)
  • 必须使用 @spec 声明类型签名
  • 禁止过深的嵌套(使用 with 替代)

测试规范

  • 使用 ExUnit 测试框架
  • 测试文件命名:{模块名}_test.exs
  • 使用 setup 准备测试数据
  • Mock 使用 Mox 库
  • 覆盖率目标:核心逻辑 80%+

最佳实践

  • 使用 Phoenix 开发 Web 应用
  • 使用 LiveView 实现实时交互
  • 使用 Ecto 数据库访问
  • 使用 Oban 处理后台任务
  • 使用 Phoenix PubSub 进程间通信

Frequently asked questions

What does the Elixir AI skill do?

Elixir开发专家助手。当用户需要进行Elixir函数式编程、Phoenix框架、高并发系统、实时应用或Erlang VM开发时调用。

Why use Elixir on TypingMind?

Because you install it once and use it with any model. Elixir is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Elixir in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/dkbnull/hello-skill/tree/main/languages/skills/elixir. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Elixir?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Elixir?

As many as you like. As long as a model supports skills, you can use Elixir with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Elixir AI skill free?

Yes. It is published on GitHub by dkbnull under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇