Building and installing the AI skill

§ 1Purpose

Render the skill projection and install it where an agent loads it.

§ 2Prerequisites

§ 3Flowchart

1. Render the skill folder2. Install into the hostrepo3. Verify the agent loads it

§ 4Steps

§ 4.11

§ 4.2Render the skill folder

console
$ just skill-build          # → out/skill/  (SKILL.md + references/)

wcl wdoc skill writes SKILL.md, one references/*.md per :ai/:both unit, and any bundled scripts//assets/ files. The build fails loudly on broken links or schema errors — fix and re-run.

§ 4.32

§ 4.4Install into the host repo

console
$ cp -r out/skill <repo>/.claude/skills/<name>

Copy the rendered folder into the target repo's .claude/skills/<name>/. Use the name from the generated SKILL.md frontmatter — that is what the agent invokes. If the render has an agents/ folder (the skill ships subagents), also copy agents/*.md into the repo's .claude/agents/ — subagent files load at session start, so restart after installing. A repo that hosts the wskill source usually wraps this in its own just recipe so the installed copy regenerates with the model.

§ 4.53

§ 4.6Verify the agent loads it

Open an agent session in the target repo and ask something squarely inside the skill's description. The agent should invoke the skill and answer citing its reference pages. If it never triggers, sharpen the description in the skill block — it is the trigger text.

Verification

.claude/skills/<name>/SKILL.md exists with the expected frontmatter, and an agent session in that repo invokes the skill on a matching request.