- Home
- Skills
- Prompt & Skill Engineering
- Building Skills: Lint and Trigger-Test Your SKILL.md
Building Skills: Lint and Trigger-Test Your SKILL.md
by Hatim Lk
Takes a skill idea to a shipped SKILL.md: a linter that must report zero FAILs, a trigger scorer that checks your description fires on the right prompts, and eval scaffolding.
$12
Building Skills: Lint and Trigger-Test Your SKILL.md
Example session with this skill installed
I wrote a skill for working with PDFs but Claude never seems to use it. Check skills/pdf-helper and fix it.
- Read your context and instructions
- Compiled the building
Summary
pdf-helper failed the linter on 1 FAIL and 2 WARNs. The description never said when to use the skill, which is why it never triggered. Fixed; it now lints clean.
Lint before
$ python3 scripts/lint_skill.py skills/pdf-helper
WARN NAME-FOLDER: name 'PDF Helper' differs from folder 'pdf-helper'
WARN DESC-WHEN: the description should say when to use the skill
FAIL NAME-CHARS: 'PDF Helper' must be lowercase letters and digits joined by single hyphens
exit=1
Changes
| Field | Before | After |
|---|---|---|
| name | PDF Helper | pdf-helper |
| description | This skill helps with PDFs. | Extract text and tables from PDF files and fill PDF forms. Use when the user shares a .pdf, asks to pull a table out of a PDF, or says "fill this form". |
Lint after
$ python3 scripts/lint_skill.py skills/pdf-helper
exit=0
Not shippable yet
$ python3 scripts/lint_skill.py --ship skills/pdf-helper
FAIL EVALS: 0 eval cases under evals/; shipping needs 3
Next steps
- Write 3 eval cases under
evals/(a table extraction, a form fill, and one prompt that should not trigger). - Run
score_triggers.pywith those prompts to confirm the new description fires.
Connects securely to your tools. The creator never sees your data.
About this skill
What it does
Most skills fail quietly: the agent never loads them because the description doesn't say when to use them, or the frontmatter breaks the spec. Building Skills takes a skill from idea to shipped with checks you can run, not opinions.
- Linter (
lint_skill.py): checks name format, name/folder match, whether the description says when to use the skill, reference files, body length, and, with--ship, that at least 3 eval cases exist. Exit code 0 = pass, 1 = fail. - Trigger scorer (
score_triggers.py): runs real prompts against your skill corpus with Claude Code or Codex and reports whether your description fires on the prompts it should, and stays quiet on the ones it shouldn't. - Eval scaffolding: a case format (prompt + graders) so every skill ships with tests.
- Workflow: idea, then draft, lint, trigger test, evals, ship. It also fixes an existing skill that never triggers.
Use it when you say
"make a skill", "new SKILL.md", "my skill never triggers", "fix a skill description".
Requirements
Python 3 (standard library only). The trigger scorer needs the Claude Code or Codex CLI.
Used on a real app
Used to build and test the custom skills behind Glood (glood.app), an iPhone cycling app in public beta.
Requires Python 3 for scripts. Evaluation steps assume local CLI access to agent plugin tools. Trigger scoring requires a pre-authored JSON query file.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 days ago
- Software
Python 3
- Optional
- Claude CodeorCodex CLI (trigger scorer)
Optional companions: the deepen-the-task and decide-by-debate skills (sold separately or in the bundle). Not needed for linting or trigger tests.
Permissions
What's inside
Frequently Asked Questions
New in Prompt & Skill Engineering
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Prompt & Skill Engineering.