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

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

Building Skills: Lint and Trigger-Test Your SKILL.md is a paid AI agent skill on Agensi by Hatim Lk, in Prompt & Skill Engineering. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [Hatim Lk](https://www.agensi.io/creators/hatim-lk)
- Category: [Prompt & Skill Engineering](https://www.agensi.io/skills/prompt-skill-engineering)
- Version: 1.0
- Last updated: 2026-11-30
- Security: scan passed (2026-11-30); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/building-skills-lint-and-trigger-test-your-skill-md
- Tags: prompt-engineering, python, testing, automation, documentation

## 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
- Optional: Claude Code or Codex 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.

## Known limitations

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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Building Skills: Lint and Trigger-Test Your SKILL.md skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill improve a standard AI agent prompt?

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.

### What specific files or outputs will I have once I finish using this skill?

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.

### What software or technical requirements are needed to run the verification scripts?

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.

### How does this skill ensure that complex procedures are actually completed correctly?

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.

### Can this skill help if my current agent tools frequently fail to trigger when asked?

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.

### Are there any known limitations I should be aware of before starting?

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.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
