agentleFS
maya8237maya8237/MEOW/skills/test/SKILL.md

test

Skill3 starsChanged 34 days agoMITView on GitHub

Use when testing existing or just-built code, especially a frontend, and fixing what the tester finds in a test, fix, review loop. CLI only.

179 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use agent-context-isolation, agentica-infrastructure and 10 more.

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.

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 154 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Run meow native verify --work-dir "<project-path>" --no-lint --preflight.

    line 38
  2. Very specific:

    Add --no-worktree per the rule above.

    line 57

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

test

Runs the shipped test-fix workflow: the AI tester explores the code first, failures are fixed, then review and the tester must both pass in one round (up to 4 rounds). It tests existing code, has no plan step, and never delivers: nothing is pushed. Named workflows execute through CLI mode only. Dependency or install problems: dependencies.

Before starting

  1. Need something to test: the user's request, or a non-empty git diff. If there is neither, ask what to test and stop. Do not ask for routes or flows: the tester discovers pages, edge cases and states from the diff and code. Mention that naming specific pages or flows narrows its focus, but is optional.
  2. Frontend changes need a page to load: run the tester setup below first.
  3. Pick the checkout, and tell the user which you chose:
    • Uncommitted changes exist: add --no-worktree, because a worktree is built from a commit and would miss the code under test and the running dev server. Warn first that fixes edit the checkout in place and stay uncommitted; suggest committing or stashing before starting.
    • Clean tree, or a named committed branch: use the default worktree so fixes are isolated. The tester's base_url points at the main checkout's server, so the tester must start its own; warn about this.
    • An explicit user request for either choice wins.

Tester setup

Shared with /meow:onboard. MEOW infers the dev server, URL and browser from the project's Playwright config and package.json, including an inner frontend/ folder (see the Tester guide in meow ui or the online docs), so most projects need no entry.

  1. Run meow native verify --work-dir "<project-path>" --no-lint --preflight. The JSON has preflight (per check: status, detail, fix, snippet), preflight_ok and inferred (values read from the project, with sources).
  2. All ok: say what was inferred and continue; nothing to configure.
  3. A config fail (target, browser_config): show that check's snippet, ask only for what cannot be detected (the dev-server command, and its port flag when the framework is unknown; never a port number), write it after an explicit yes, then re-run. Machine-specific keys (browser_*) go in .meow/config.local.toml, the rest in .meow/config.toml. Stop after 3 iterations and report what is missing.
  4. An environment fail (runtime, playwright, ports, browser, page): relay detail and fix; do not edit config for it.
  5. While any check fails, do not start the workflow.

Run

meow run "<what to test>" --workflow test-fix --test --work-dir "<project-path>"

Add --no-worktree per the rule above. Add --force-disable-tests only if the user asks to skip testing; the tester step is then skipped, never reported as passing. Stream progress to the user and report each round: tester result (its report starts with a "Test plan" listing discovered targets and edge cases), the fix applied, and the review result. Report the report file paths printed on success.

Outcomes

  • Success: test and review passed in one round, then final checks ran. Say what was fixed and what the tester covered; do not claim delivery or a merged branch.
  • Failure after 4 rounds: report the last tester and review findings and the continuation command. Inspect with meow status ID; continue with meow resume ID --continue. Never claim the code is verified.

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.