agentleFS
robium-airobium-ai/robium/skills/testing/SKILL.md

testing

Skill21 starsChanged 4 months agoMITView on GitHub

Choose proportional evidence for robotics software before claiming it works.

123 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use oss-pr, pr-automation 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.
  • CES-LtdSkill

    oss-pr

    Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.

    Also in 3 projects that use this

  • CES-LtdSkill

    pr-automation

    PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".

    Also in 3 projects that use this

  • ffsshhttiikkSkill

    cicd

    Continuous integration and delivery pipelines

    Also in 4 projects that use this

  • ffsshhttiikkSkill

    networking

    Practical application and coding skills for Networking

    Also in 3 projects that use this

  • JohnJBorenSkill

    ci-cd

    CI/CD pipeline design, GitHub Actions, testing automation, and deployment strategies

    Also in 9 projects that use this

  • Cogni-AI-OUSkill

    dotfiles

    Reference for repository dotfiles, including their purposes, standard configurations, and usage guidelines. You MUST load this skill when configuring, troubleshooting, or understanding repository dotfiles.

    Also in 3 projects that use this

  • +2 more from CES-Ltd
  • +1 more from ffsshhttiikk

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. 0 are common, 14 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 105 edited versions we read keep these.

  • 14

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Test the claim at the cheapest layer that can falsify it.

    line 8
  2. Distinctive:

    Write a new automated test when it protects a reproduced bug, a risky durable contract, or behavior worth repeatedly checking, or when the …

    line 18
  3. Distinctive:

    Stop when evidence supports the requested claim.

    line 21
  4. Distinctive:

    When automation is warranted, test pure logic without ROS or a simulator.

    line 26
  5. Distinctive:

    Add costlier layers only when the risk or claim requires them.

    line 34
  6. Distinctive:

    Read ROS2-AND-SIM.md for ROS launch, simulator, map, and headless-CI concerns.

    line 38
  7. Distinctive:

    Use browser/computer interaction only when the relevant visual or interaction behavior cannot be established more cheaply, a suspected UI …

    line 45
  8. Distinctive:

    Do not defer safety-critical evidence needed before physical motion, destructive actions, security-sensitive changes, or paid resource use …

    line 52
  9. Distinctive:

    When checking camera/render correctness or a suspected blank viewer, inspect a frame for meaningful content.

    line 63
  10. Distinctive:

    Keep benchmarks and long evaluations outside the default suite unless their cost is justified on every change.

    line 69
  11. Very specific:

    Use test-assets when fixtures, worlds, datasets, recordings, or goldens need provenance and maintenance rules.

    line 71
  12. Distinctive:

    If a suite is flaky, slow, green without useful evidence, or fails only on a particular runner, read FAILURES.md.

    line 74
  13. Distinctive:

    Run the same pipeline locally at tiny scale before any paid remote test.

    line 79
  14. Distinctive:

    Before deploying or spending on changed allocation, isolation, cancellation, or cleanup behavior, verify the affected lifecycle boundaries …

    line 80
  15. Distinctive:

    Keep GPU- or hardware-dependent tests explicit and schedulable.

    line 84

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

Testing

Test the claim at the cheapest layer that can falsify it.

Decide whether a test is needed

  • Batch coherent changes, then run the smallest relevant existing check. Do not test after every edit or repeat passing checks without a relevant change, failure, or unresolved uncertainty. A full suite is not the default.
  • Inspection can suffice for low-risk prose or straightforward edits. For uncertain API usage, inspect installed source, help, or current official docs first; use one isolated probe if uncertainty remains, not a new test suite.
  • Write a new automated test when it protects a reproduced bug, a risky durable contract, or behavior worth repeatedly checking, or when the user requests it. A one-off demo does not automatically need a test harness.
  • Stop when evidence supports the requested claim. Do not add platform matrices, benchmarks, repeated trials, or qualification work to a simple tryout.

Match evidence to the claim

  • When automation is warranted, test pure logic without ROS or a simulator.
  • A node or launch claim needs the expected processes and interfaces to appear, not merely a successful build.
  • Behavior that depends on physics, sensors, timing, or closed-loop control needs a deterministic scenario in simulation or on the target robot.
  • A learned-policy pipeline smoke proves that data, training, evaluation, and metrics connect. A regression claim needs a known checkpoint and a stated performance bar.
  • Add costlier layers only when the risk or claim requires them. Claim a demo worked only after observing its actual behavior; a launch or manual handoff alone must be labeled as behavior not yet verified.

Read ROS2-AND-SIM.md for ROS launch, simulator, map, and headless-CI concerns. Read POLICY-EVAL.md for learned-policy smokes and regression gates. Tool-specific syntax remains in official docs and the owning ros2, simulator, or lerobot skill.

Keep interaction and handoff lightweight

  • Use browser/computer interaction only when the relevant visual or interaction behavior cannot be established more cheaply, a suspected UI bug needs it, or the user asks you to look. Prefer existing CLI, API, logs, and focused checks for nonvisual claims; do not tour every screen after each change.
  • For low-risk visual acceptance or checks requiring the user's environment or access, hand off one short manual check: exact command or URL, expected result, and what remains unverified. Do not claim that the user has run it.
  • Do not defer safety-critical evidence needed before physical motion, destructive actions, security-sensitive changes, or paid resource use merely to save testing time. Verify the affected boundary or stop before that action; testing never substitutes for authorization.

Make the result trustworthy

  • Seed controllable randomness, use simulation time consistently, bound the run, and record the fixture and environment that produced the result.
  • Assert observable behavior and interfaces, not duplicated configuration literals or log wording.
  • When checking camera/render correctness or a suspected blank viewer, inspect a frame for meaningful content. Non-black mean and non-flat variance are cheap blank-frame guards, not proof of the correct scene. HTTP success and a “camera ready” status can both pass while the viewer is blank.
  • Guard measurement tools against an empty run. Exiting successfully after measuring zero devices or episodes is a test-harness failure.
  • Keep benchmarks and long evaluations outside the default suite unless their cost is justified on every change.
  • Use test-assets when fixtures, worlds, datasets, recordings, or goldens need provenance and maintenance rules.

If a suite is flaky, slow, green without useful evidence, or fails only on a particular runner, read FAILURES.md.

Keep remote cost proportional

  • Run the same pipeline locally at tiny scale before any paid remote test.
  • Before deploying or spending on changed allocation, isolation, cancellation, or cleanup behavior, verify the affected lifecycle boundaries in the local fake deployment first. Rebuild its image when its inputs change; a stale digest does not test the change. Do not rerun this for unrelated edits.
  • Keep GPU- or hardware-dependent tests explicit and schedulable; do not make a default CI job depend on unavailable hardware.
  • A remote success should preserve the exact image, model, data, seed, hardware, result, and cost window needed to understand the claim.

Done

  • Report the evidence obtained and any explicitly deferred manual checks.
  • A robotics app's smoke exercises the behavior it exists to demonstrate, not only process health.
  • CI runs the stable, affordable evidence by default and clearly separates slow, paid, hardware, and manual checks.

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.