LineaUI.Skill (linea_ui v0.3.0)

Copy Markdown View Source

Builds the Claude Code skill that teaches an agent to write LineaUI markup.

Everything comes from the compiled components (__components__/0 and their docs), so the skill describes exactly the installed version: SKILL.md is a short index with the rules that hold for every component, and references/<component>.md holds the attrs, slots and examples of one component, read only when that component is used.

mix linea_ui.install writes it when it sets the app up and mix linea_ui.gen.skill refreshes it after an upgrade.

Summary

Functions

The files of the skill, as {relative_path, contents}.

The comment that marks the pointer block in AGENTS.md and CLAUDE.md.

The block AGENTS.md and CLAUDE.md carry to send an agent to the skill.

Functions

files()

@spec files() :: [{String.t(), String.t()}]

The files of the skill, as {relative_path, contents}.

marker()

@spec marker() :: String.t()

The comment that marks the pointer block in AGENTS.md and CLAUDE.md.

pointer()

@spec pointer() :: String.t()

The block AGENTS.md and CLAUDE.md carry to send an agent to the skill.