Add skill
Skill Paldom/landing-page-builder-skills/.claude/skills/add-skill
Authors or improves an Agent Skill in this repo via the eval-first workflow - scope one purpose, write trigger evals, draft SKILL.md, validate, iterate. Use when the user asks to create, add, write, refine, or fix a skill ("add a skill for X", "improve triggering of Y"). Not for scaffolding a new repository or editing infrastructure (hooks, CI, the validator/scripts, docs).From its SKILL.md
npx -y skills add Paldom/landing-page-builder-skills --skill add-skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 1 command, including `make check`.
SKILL.md
4.5 KB, 997 tokens by cl100k_base, as published. Nobody here has run it
add-skill
Builds one production-quality skill in skills/<name>/, eval-first. Read
docs/skill-authoring.md and docs/evals.md once per session before starting;
they are the rulebook this workflow enforces. If invoked as /add-skill <args>,
treat $ARGUMENTS as the skill name or idea to scope in step 1.
When NOT to use
- Creating a new skills repository → that happens in the workspace above this repo.
- Infrastructure work (hooks, CI, validator, docs) → plain editing, PR-level scrutiny.
- A "skill" that merely restates what the model already does well → don't build it; a skill must fix a specific observed failure.
Workflow
- Scope. State in one sentence what the skill does and the concrete failure it
fixes. If the sentence needs "and", split into multiple skills and do them one at
a time. Check
skills/and the README catalog for overlap — near-neighbor descriptions steal each other's triggers; adjust scope or plan disjoint wording. - Gather. Read
.local/recursively — every subfolder and file is source material (research, examples, constraints). Then research beyond it: web-search the topic for current facts, official docs, and prior art; verify anything load-bearing against primary sources, and cross-validate contested or high-stakes facts (external APIs, schemas, security claims) with /cross when available. Verified facts a skill depends on go intoskills/<name>/references/as cleaned, tracked files — never cite.local/paths from a skill. - Evals first. Create
skills/<name>/evals/evals.jsonperdocs/evals.md: ≥8should_trigger(vary formality, typos, terseness), ≥8should_not_trigger(near-misses sharing keywords), 3–5qualitycases with plain-languageexpected_behaviorassertions. If you can't write these, the scope is unclear — go back to step 1. - Draft SKILL.md. Frontmatter:
name== folder name;descriptionon a single line, third person,[what] + [use when …] + [not for …], 150–400 chars, trigger keywords in the first ~120. Body per the structure indocs/skill-authoring.md: purpose → when/when-not → numbered workflow → output spec → gotchas → pointers. Under 500 lines; deterministic steps asscripts/(non-zero exit on failure); long material asreferences/with a TOC. - Validate.
make checkmust exit 0. The write-time hook already validated the file; fix every error and triage every warning it printed. - Trigger self-test. For at least 3 should-trigger and 2 should-not-trigger prompts, reason explicitly: would the description alone (not the body) route this prompt here, against every other skill in the catalog? Fix the description, not the evals. Recommend the user run 2–3 fresh-session probes for the riskiest cases.
- Register. Add/update the skill's row in the README catalog table, add a
CHANGELOG.mdentry, and put the skill in exactly oneskills.sh.jsongrouping (engaging one-sentence group descriptions — that file is the repo's skills.sh listing copy). Re-check descriptions of sibling skills for new overlap. Do not commit or push — leave all changes for the owner to review.
Output spec (Definition of Done)
skills/<name>/with SKILL.md + evals/evals.json (+ scripts/references as needed)make check→ 0 errors; README catalog + CHANGELOG updated- A 3-line summary: purpose, trigger phrase examples, known limitations
Gotchas
- Keep
descriptionon ONE physical line — multi-line values have failed to load in some runtimes and the validator blocks them; never work around the validator. - Don't paste failed eval prompts verbatim into the description (overfitting); generalize the missing verb/noun instead.
- Over-triggering fix = add targeted "Not for …" noun phrases from the actual false-positive overlap; don't delete positive triggers.
- Model upgrades shift routing — note in your summary that evals should be re-run after the next model release.
What ships with it: 1 file
2.8 KB alongside SKILL.md
evals/
- evals.json2.8 KB