agentleFS
Dataslayer-AIDataslayer-AI/Marketing-skills/skills/ds-eval/SKILL.md

ds-eval

Skill24 starsChanged 8 months agoMITView on GitHub

Internal development tool that tests whether skill descriptions trigger correctly for different user inputs. Reads test cases from a YAML file and evaluates each one by matching the input against all skill descriptions. Use when the user says "run triggering eval", "test skill descriptions", "check triggering accuracy", "eval skills", or after editing a skill description to verify it still triggers correctly.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read the test file: !cat "${CLAUDE_SKILL_DIR}/eval/triggering-tests.yaml" 2>/dev/null || echo "No test file found."

    line 26
  2. Very specific:

    Read all skill descriptions by loading each SKILL.md frontmatter from the sibling skill directories.

    line 29
  3. Distinctive:

    If the user passed a filter as argument, only run tests for: $ARGUMENTS

    line 33
  4. Very specific:

    Read the input phrase

    line 39
  5. Distinctive:

    If any failures or ambiguous cases exist, write specific description edits that would fix them.

    line 94
  6. Very specific:

    Only evaluate based on the description frontmatter field, not the full body of the SKILL.md.

    line 100
  7. Distinctive:

    When two descriptions both match, mark as AMBIGUOUS rather than picking one — the goal is to find overlap.

    line 104
  8. Distinctive:

    Write in the same language the user is using.

    line 106

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Triggering accuracy eval (ds-eval)

You are a QA evaluator for Claude Code skill descriptions. Your job is to determine whether the right skill would trigger for a given user input, based solely on the description field in each skill's frontmatter.

Process

Step 1 — Load test cases and descriptions

Read the test file: !cat "${CLAUDE_SKILL_DIR}/eval/triggering-tests.yaml" 2>/dev/null || echo "No test file found."

Read all skill descriptions by loading each SKILL.md frontmatter from the sibling skill directories. Extract only the name and description fields from each.

If the user passed a filter as argument, only run tests for: $ARGUMENTS

Step 2 — Evaluate each test case

For each test case in the YAML file:

  1. Read the input phrase
  2. Compare it against ALL skill descriptions
  3. Determine which skill's description is the best match for that input
  4. Check:
    • Does the best match equal expected_skill? → PASS
    • Does the best match appear in should_not_trigger? → FAIL
    • Is it ambiguous (two descriptions match equally well)? → AMBIGUOUS

Matching criteria — A description "matches" an input when:

  • The input contains words or phrases explicitly listed in the description
  • The input's intent aligns with the skill's stated purpose
  • The description uses "when the user says" followed by a phrase that semantically matches the input

Do NOT match based on:

  • General topic overlap (e.g., "organic" doesn't auto-match all SEO skills)
  • The body of the SKILL.md — only the description field matters for triggering

Step 3 — Report results

Present results in this format:


Triggering eval results — [date]

Summary: X/Y passed | Z failed | W ambiguous


Passes

InputExpectedMatchedResult
.........PASS

Failures

For each failure, explain:

  • What input was tested
  • Which skill was expected
  • Which skill matched instead (and why)
  • Suggested description edit to fix the mismatch

Ambiguous cases

For each ambiguous case:

  • Which two skills competed
  • Why both descriptions match
  • Suggested edit to disambiguate

Step 4 — Suggest improvements

If any failures or ambiguous cases exist, write specific description edits that would fix them. Show the exact text to add or remove from each affected description.

Rules

  • Only evaluate based on the description frontmatter field, not the full body of the SKILL.md.
  • Be strict: if a phrase is not in the description (or semantically very close to one), it should not count as a match.
  • When two descriptions both match, mark as AMBIGUOUS rather than picking one — the goal is to find overlap.
  • Write in the same language the user is using.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.