Building Skills: Lint and Trigger-Test Your SKILL.md

    by Hatim Lk

    1

    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

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    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

    FieldBeforeAfter
    namePDF Helperpdf-helper
    descriptionThis 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.py with those prompts to confirm the new description fires.
    PDF files and fill PDF forms. Use when the user shares a .pdf

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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 Code
    orCodex 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

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables
    Listed4 days ago

    What's inside

    Frequently Asked Questions

    This skill replaces vague prompt engineering with a rigorous engineering process involving structural linting, automated trigger scoring, and step-by-step verification to ensure your AI agent actually fires and follows instructions as intended.

    The skill outputs a structured SKILL.md file accompanied by a JSON query set for testing, automated linting logs, and task evaluation results that compare performance with and without the skill enabled.

    You will need Python 3 to run the internal scripts for linting and scoring, and if you are using specific environments like Claude Code, the plugin eval command is required for the evaluation steps.

    This skill identifies professional personas and raw materials to define tasks, then requires every instruction to end with a verifiable condition that another agent could check, eliminating guesswork during execution.

    It requires you to draft should-trigger queries and near-misses before writing the skill, then uses a dual-set query method to score the description so the agent doesn't ignore the skill or trigger it on the wrong topics.

    The documentation notes that for task evaluations, the environment must support the plugin eval command, and external scripts must be written to handle their own errors and explain internal constants.

    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.