agentleFS
thecoderpandathecoderpanda/fde-starter-kit/skills/agent-eval/SKILL.md

agent-eval

Skill2 starsChanged 3 months agoMITView on GitHub

Run the golden-case eval suite against the current branch,

  • Reads credentials

16 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use agentic-engineering and backend-patterns.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • InfopibeSkill

    agentic-engineering

    Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing.

    Also in 3 projects that use this

  • devsforgeSkill

    backend-patterns

    Expert knowledge in API design, authentication, caching, and backend best practices. Use for backend development tasks.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before running the suite, verify:

    line 23
  2. Distinctive:

    If any precondition fails, stop and report — do not run the suite.

    line 30
  3. Distinctive:

    If the user is already on main, skip this step and note that no comparison baseline is available.

    line 50
  4. Distinctive:

    Report: Write a short summary in this shape:

    line 61
  5. Distinctive:

    Do NOT paste the full JSON.

    line 76

“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “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

agent-eval

Purpose: turn "does this change break the agent?" from a vibe check into a diffable report in under 90 seconds.

When to fire

  • The user says any of: "run evals", "check evals", "did I break anything", "eval my change", "compare against main".
  • The user just edited a prompt, a tool schema, a tool's execute body, the system prompt, ./agent/config.ts, or added / changed a case in ./evals/cases/.

Preconditions

Before running the suite, verify:

  1. OPENAI_API_KEY is set (printenv OPENAI_API_KEY | head -c 8).
  2. node_modules/ exists — run npm install if not.
  3. npm run typecheck passes. A type error in a tool schema will make every case fail with a confusing message; catch it upfront.

If any precondition fails, stop and report — do not run the suite.

Steps

  1. Snapshot the current branch's results.
    npm run eval:ci
    The runner writes eval-results/summary.json. Keep this file's path handy for step 4.
  2. Snapshot main's results for comparison.
    git stash push -u -m "agent-eval:pre-main"
    git checkout main -- .
    npm run eval:ci
    cp eval-results/summary.json eval-results/summary.main.json
    git checkout HEAD -- .   # restore working tree
    git stash pop
    If the user is already on main, skip this step and note that no comparison baseline is available.
  3. Diff the two runs. For each case ID present in both files, compare passed. Bucket into:
    • New failures — passed on main, failed on branch. These are regressions you should call out first.
    • New passes — failed on main, passed on branch. Improvements.
    • Consistent failures — failed on both. Pre-existing debt.
    • Consistent passes — the boring majority.
  4. Report. Write a short summary in this shape:
    Eval delta vs main
      Branch:  <passed>/<total>
      Main:    <passed>/<total>
    
    New failures (N):
      - <case.id>  <one-line why, quoting the first failure message>
    
    New passes (N):
      - <case.id>
    
    Consistent failures still open (N):
      - <case.id>
    Do NOT paste the full JSON. Do NOT include cases that didn't change.
  5. Hypothesize. For each new failure, read the case in ./evals/cases/*.jsonl, then read the file(s) the user just changed, and offer one specific hypothesis for the regression. Do not guess if the case is unfamiliar — say so.

Definition of done

  • Both runs completed (or you explicitly reported the missing baseline).
  • The report exists and lists new failures first.
  • Each new failure has a hypothesis or an explicit "unknown, needs investigation" note.
  • You did NOT commit anything, edit prompts, or "fix" failures without asking the user first.

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.