Add category
.agents/skills/add-category/SKILL.md — 80 lines of instruction that ship inside the starter. This page is generated from it, so it says what the skill does without republishing it.
When an agent picks this up
Section titled “When an agent picks this up”The skill description, verbatim — this is the text an agent matches your request against:
Add a category to a ZeroDirs directory site. Edits site.config.ts, picks a lucide icon, seeds at least one listing so the new category page is not empty, and verifies with pnpm check and a full build. Use when asked to add, rename or reorder a category, or when a category page turns up empty.
What it walks through
Section titled “What it walks through”- Steps
- Add the entry
- Seed at least one listing
- Watch out for orphans
- Verify
- Removing or renaming a category
Commands it runs
Section titled “Commands it runs”pnpm listings:importpnpm check:config # slug shape, duplicates, reserved segments, icon namepnpm check # types + configpnpm build # the real signalFiles it touches
Section titled “Files it touches”site.config.ts · src/config/schema.ts · src/content/listings/ · src/loaders/normalize.ts · src/content/schema.ts
Using it
Section titled “Using it”Skills load themselves — you describe the outcome, not the skill. “Add a Compliance category with an icon and seed it” is enough for an agent that can see .agents/skills/; Claude Code reads .claude/skills/, which pnpm skills:sync mirrors from .agents/ on every install. See Working with an agent.