Agent skills
In a repository
Section titled “In a repository”Ashlar prints two skills for coding agents, written for the project it runs in. --write puts each where
Claude Code finds it:
$ pnpm exec ashlar skill verify --writeWrote .claude/skills/verify/SKILL.md.$ pnpm exec ashlar skill onboard --writeWrote .claude/skills/onboard/SKILL.md.Each file opens with the skill's name and the description an agent matches its task against:
---name: verifydescription: Check your own work in the running app before you report it finished. Use it when your item or task changes what the developer sees or does. Find the features it changes on the feature map, drive the running work through them, and show what you saw: screens and a short video.---
# Verify your work
Tests say the code does what they check. This says the work does what the developer will see. Drive therunning app the way the developer reaches it, then show what you saw, so the review reads proof, notprose.Why skills
Section titled “Why skills”Rules catch what an agent did wrong after it wrote it. Some work has to be done right before then: checking a change in the running app, or learning what an area needs before changing it. A skill is where an agent reads how.
Ashlar writes each skill from the project's config, so it names commands that work in that repository: the way to run Ashlar, the project's drive command, and the project's own way to attach proof. Writing it again after an upgrade keeps it in step with the Ashlar the project runs.
The verify skill
Section titled “The verify skill”ashlar skill verify tells an agent to check its own work before it reports it finished:
- Find the features your work changes. Run
ashlar map, and say each feature by its name on the map. - Drive the running work. Walk each changed feature's reach with
ashlar drive <feature>, then drive through what the work changed and read the snapshot. If a reach stops, fix the work, not the reach. - Take screens and a short video. A screen of each state the work changed, in the light scheme and the dark one, and a video under a minute of the developer's way through the change.
- Name them in your report. For each file, the feature it shows and one line on what it shows.
When the config names a drive command, or the project has a rehearse.yaml (then the command is
rehearse drive, and the skill adds how Rehearse runs each reach as a flow), step 2 spells out its commands:
The project drives its running app with `pnpm drive`. The first command starts the app on a scratch homewith a seeded scenario, and the app stays up between commands until `pnpm drive stop`:
- `pnpm drive click --name "Save"` clicks the one element with that accessible name. Add `--role button` when more than one element has it.- `pnpm drive type "A first note"` types into what has focus.Without one, it says so, and asks the agent to use the project's own tooling:
This project has no drive command yet, so `pnpm exec ashlar drive` can’t walk its features. Run the work with theproject’s own tooling, and take the screens and the video with it.It also tells the agent how to write a reach script when it adds a feature folder, since ashlar check
counts a feature with none. See The feature map.
Your own attach section
Section titled “Your own attach section”Step 4 is where a project's tools differ: one attaches proof to a pull request, another to a task in its own
app. skills.verify.attach names a Markdown file whose text replaces step 4:
import { defineConfig } from '@kurvball/ashlar';
export default defineConfig({ include: ['desktop'], apps: [{ root: 'desktop', stack: 'tauri' }], drive: 'pnpm drive', skills: { verify: { attach: 'docs/attach.md' } },});## 4. Attach them to the pull request
Attach each screen and the video to the pull request, with one line saying what it shows.The skill then ends with that section, after "Save them in your worktree, and don’t commit them." A path with no file behind it stops the command:
$ pnpm exec ashlar skill verifyskills.verify.attach names docs/attach.md, and there is no such file.An attach section can name the tool an agent hands its screens to, or ask for more when a change touches a state machine.
The onboard skill
Section titled “The onboard skill”ashlar skill onboard tells an agent to learn an area before it changes it, and to keep what people decide:
- Before changing files, run
ashlar briefon them, and follow what it says. - When a person says how something should be done, and it should outlive the task, add one line to
DECISIONS.mdwith the date, their handle, the area and the kind. Only on a person's word, never on a guess. - A rule for one folder can go in
.claude/rules/<folder>.mdinstead, withpaths:in its frontmatter, andgotcha:when it guards against a mistake made before. - Never put a secret, a credential, a token or an account detail in the repository, and never edit the generated guide.
An excerpt:
# Know the area before you change it
Before you change files, run `pnpm exec ashlar brief <the files or folders>`. It prints only what that area needs:the data rules, the rules that apply there, the folder rules and their gotchas, the decisions people madeabout it, the features it touches and the questions still open there. Follow what it says. It never holdsaccess or account details, and you never ask for them.
## When a person decides something
When a person tells you how something should be done, and it should outlive your task, add one line to`DECISIONS.md` with today's date, their handle, the area and the kind:
```markdown- 2026-12-03 @their-handle [src/area] rule: What they decided, in their words.```It names the file onboard.decisions sets, DECISIONS.md unless the config says otherwise. See
Onboarding.
Print, write and replace
Section titled “Print, write and replace”Without --write, ashlar skill verify and ashlar skill onboard print the skill. skill is the one
command that takes no --json.
--write writes .claude/skills/verify/SKILL.md or .claude/skills/onboard/SKILL.md. It writes nothing
when the file already holds Ashlar's skill, and refuses to replace a file that differs unless you give
--force:
$ pnpm exec ashlar skill verify --write.claude/skills/verify/SKILL.md is already Ashlar's skill.$ pnpm exec ashlar skill verify --write.claude/skills/verify/SKILL.md differs from Ashlar's verify skill: give `--force` to replace it with Ashlar's.$ pnpm exec ashlar skill verify --write --forceReplaced .claude/skills/verify/SKILL.md with Ashlar's skill.The refusal exits with 2. Keep a project's own words in the attach file, not in SKILL.md, so writing the
skill again after an upgrade loses nothing. Ashlar writes skills only inside the project, and refuses a path
that leads out of it through a link.
How the skills run Ashlar
Section titled “How the skills run Ashlar”The skills name the way to run Ashlar that fits the project's lockfile, found in the project's folder or the folders above it, up to the repository's root:
| Lockfile | Command |
|---|---|
pnpm-lock.yaml |
pnpm exec ashlar |
yarn.lock |
yarn ashlar |
bun.lock or bun.lockb |
bun run ashlar |
| any other, or none | npx --no-install ashlar |
They never say a bare npx ashlar, which would fetch an unrelated package from npm.
Related
Section titled “Related”- The feature map: what the verify skill drives.
- Onboarding: the brief and the decisions the onboard skill keeps.
- CLI reference