agentleFS
kellykampenkellykampen/agent-skills/skills/workflow/evidence-driven-testing/SKILL.md

evidence-driven-testing

Skill2 starsChanged 4 months agoMITView on GitHub

Records visual proof while testing UI behavior — screen recording with structured test/assertion annotations — then posts the video and a results summary to the PR and tracker issue. Use whenever a UI change needs verifiable evidence that it works, instead of prose claims.

3 other projects use a version of this, 3 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. 4 are common, 2 are distinctive, and 4 are very specific to this project.

  • 4

    Common

    Most of the 3 edited versions we read keep these.

  • 2

    Distinctive

    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:

    Add a setup annotation describing the starting context, e.g.

    line 32
  2. Very specific:

    After each check, add an assertion annotation with result passed, failed, or untested.

    line 37
  3. Common:

    Use "Precondition: ..." assertions to establish starting state.

    line 40
  4. Distinctive:

    Keep under ~80 characters, high-signal.

    line 41
  5. Very specific:

    If a test cannot run (missing prerequisite, expired auth window), mark it untested with the reason — never skip silently.

    line 42
  6. Common:

    Stop recording after the final assertion.

    line 46
  7. Distinctive:

    Write a short report: what was tested, environment + exact commit, pass/fail per test, caveats.

    line 51
  8. Common:

    Never record a half-covered or tiled window — maximize first.

    line 58
  9. Common:

    When verifying a fix, show or reference the old failure alongside the new success.

    line 59
  10. Very specific:

    Always state the exact commit/branch/deployment tested against.

    line 60

“Common” is measured: kept by at least 6 in 10 of the 3 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

Evidence-Driven Testing

Record annotated screen-recording proof of UI behavior, then attach it to the PR and tracker issue.

Inputs

  • Test targets (required): The behaviors/flows to verify, phrased as testable statements.
  • PR / issue (optional): Where to post the evidence. If omitted, deliver to the requester only.

Instructions

1. Prepare the screen

  • Maximize the browser/app window; close popups, notifications, and extra panels.
  • Navigate to the starting state (logged in, correct page) BEFORE recording, unless setup itself is under test.

2. Start recording

  • Begin the screen recording before the first meaningful action.
  • Add a setup annotation describing the starting context, e.g. "Logged in, navigating to connectors page".

3. Annotate as you test

  • At each named test's start, add a test_start annotation in Jest style: It should execute the tool directly when permission is 'always'.
  • After each check, add an assertion annotation with result passed, failed, or untested.
  • Rules for assertions:
    • One assertion per meaningful state change — consolidate, don't annotate per UI label.
    • Use "Precondition: ..." assertions to establish starting state.
    • Keep under ~80 characters, high-signal.
    • If a test cannot run (missing prerequisite, expired auth window), mark it untested with the reason — never skip silently.

4. Stop and review

  • Stop recording after the final assertion.
  • Confirm the recording captured the key moments before sharing.

5. Post the evidence

  • Write a short report: what was tested, environment + exact commit, pass/fail per test, caveats.
  • Post the video + summary as a PR comment (embed in the PR description if it's your PR).
  • Attach the same video to the tracker issue (Linear/Jira) with a one-line result.
  • Send the report + recording to the requester.

Guardrails

  • Never record a half-covered or tiled window — maximize first.
  • When verifying a fix, show or reference the old failure alongside the new success.
  • Always state the exact commit/branch/deployment tested against.

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.