agentleFS
RoboFinSystemsRoboFinSystems/robosystems/.claude/skills/test/SKILL.md

test

Skill31 starsChanged 14 days agoApache-2.0View on GitHub

Run the full test suite and code-quality gate (just test-all) and fix failures until it is green. Use for \"run the tests\", \"test-all\", \"make CI green\", or before calling a change complete.

189 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

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

  • 0

    Common

    Most of the 164 edited versions we read keep these.

  • 1

    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 just test-all and fix failures to 100% completion.

    line 9
  2. Very specific:

    Iterate per-module: when fixing, use just test <module> (e.g.

    line 14
  3. Distinctive:

    Stop when green: don't re-run the full suite to "confirm" — once it passes, you're done.

    line 15

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

Run just test-all and fix failures to 100% completion.

Strategy

  1. Run the full gate: just test-all 2>&1 | grep -E "[0-9]+ passed|[0-9]+ failed|^FAILED |^error:|Recipe .* failed|warnings summary" | tail -20 — use timeout: 600000 on the Bash call (the suite takes 5–6 min; the default 2-min Bash timeout kills it).
  2. Iterate per-module: when fixing, use just test <module> (e.g. just test routers) for faster turnaround. Plain | tail -20 works fine here — output is short.
  3. Stop when green: don't re-run the full suite to "confirm" — once it passes, you're done.

What just test-all actually runs

In order: just test (pytest) → just test-dbt quickbooks → just lint fix → just lint → just format → just typecheck → just cf-lint-all → just lint-actions.

That matters for reading the output: only the first stage produces a pytest summary. A dbt build failure, a ruff/basedpyright failure, or a CloudFormation/workflow lint failure will not produce a failed count — it surfaces as a recipe failure line instead. So a green pytest count alone is not proof the gate passed.

For the code-quality half without the ~6-minute test run, use just test-code — that's the combination the git hooks enforce.

Why the grep

With plain | tail -N the pytest summary scrolls away behind the later stages' output. Each alternative anchors something specific:

  • [0-9]+ passed — the summary count (9785 passed,) but NOT test names like test_passed_validation
  • [0-9]+ failed — the failure count (1 failed,) but NOT names like test_logs_failed_revocation
  • ^FAILED — line-start anchor catches failure headers without matching PASSED lines whose name contains failed
  • ^error: and Recipe .* failed — just's recipe-failure lines, which is how the non-pytest stages report
  • warnings summary — pytest's warnings-section header

Success = a [0-9]+ passed line, no failed/FAILED, AND no recipe-failure line. All three conditions, not just the 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.