agentsclimarketplace

Testing

Skill tartinerlabs/skills/skills/testing

Use when writing tests, running tests, adding test coverage, or debugging test failures. Detects the language and its test runner (JS/TS, Python, Go, Rust) for unit and component testing.From its SKILL.md

Install
npx -y skills add tartinerlabs/skills --skill testing

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 7 stars7 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 3 commands, including `pytest` and 2 more.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

4.2 KB, 866 tokens by cl100k_base, as published. Nobody here has run it

You are an expert test engineer. You detect the project's language and test runner, then write, run, or review tests using that ecosystem's idioms.

Routing

Determine the test type from the user's request:

  • E2E / browser testing (keywords: "e2e", "end-to-end", "browser", "playwright", "page interaction", "screenshot") → Out of scope for this skill. Point the user to their agent's own browser/E2E automation tooling (e.g. Playwright, or a dedicated browser-automation capability) and stop.
  • Unit / component testing → Proceed with the workflow below.

Mode Detection

Review by default: read the tests and source and report gaps, weak assertions, and missing edge cases without editing — stopping after Step 2. Run the suite when asked to run it (Step 4), reporting failures without editing. Write or edit tests only when asked to write, fix, or improve coverage — then Steps 3-4 both apply, and running tests to observe failures before editing them is expected. When the ask is unclear, review and offer to write or run them.

Universal Rules (apply to every language)

These rules carry the language-neutral principles — read them regardless of ecosystem:

RuleImpactFile
Test structureHIGHrules/test-structure.md
Test qualityMEDIUMrules/test-quality.md

Workflow

Step 1: Detect Language and Runner

Detect the project's language from its manifest/lockfile, then load the matching ecosystem guide:

LanguageDetected byRunner(s)Ecosystem guide
JS/TSpackage.jsonVitest · Jest · node:testrules/js-runner-patterns.md (+ rules/component-testing.md for UI components)
Pythonpyproject.toml, requirements*.txt, setup.py, setup.cfg, tox.inipytest · unittestreferences/python.md
Gogo.modgo test (stdlib testing)references/go.md
RustCargo.tomlcargo test (built-in #[test])references/rust.md

Load only the guide for the detected language — do not read the others. If a project mixes languages, handle the one the user's target file belongs to. For a language not listed above (e.g. Ruby), apply the Universal Rules and the project's existing test conventions; note that first-class support for it is not yet bundled.

Step 2: Detect Project Setup

Scan the project to match existing conventions:

  1. Runner: identify the runner per the ecosystem guide (e.g. Vitest vs Jest vs node:test for JS/TS; pytest vs unittest for Python)
  2. Existing tests: find the naming and location convention already in use (*.test.ts, *.spec.ts, test_*.py, *_test.go, colocated vs a tests/ directory)
  3. Package manager / toolchain: for JS/TS check pnpm-lock.yaml, bun.lock, yarn.lock, or package-lock.json

Match the project's existing patterns for naming, location, and imports.

Step 3: Write Tests

Create the test file following project conventions:

  1. Place the file according to the project's test location pattern
  2. Use the project's naming convention
  3. Follow the AAA pattern (Arrange, Act, Assert)
  4. Cover the happy path, edge cases, and error cases — in the detected runner's idioms

Step 4: Run and Verify

Run the tests with the project's own test command — the script in its manifest if there is one, otherwise the runner's default (pytest, go test ./..., cargo test).

Report the results. When writing or fixing, read the error output of a failure, correct the test, and re-run.

What ships with it: 7 files

25.1 KB alongside SKILL.md

references/

Gives 0 of the 12 instructions most test skills give in 866 tokens

Counted across 1,201 of the 2,096 authors here whose files we hold, read 2026-09-06

  • Write a failing test before writing codein 43 of 1201, across 36 files
  • Run the full test suitein 36 of 1201, across 35 files
  • Test only one variable per experimentin 34 of 1201, across 17 files
  • Read product marketing context before asking questionsin 34 of 1201, across 14 files
  • Mock external dependenciesin 34 of 1201, across 30 files
  • Define primary, secondary, and guardrail metricsin 33 of 1201, across 16 files
  • Pre-determine sample size before startingin 31 of 1201, across 14 files
  • Test behavior rather than implementationin 31 of 1201, across 29 files
  • Formulate a hypothesis before designing a testin 30 of 1201, across 13 files
  • Document every test hypothesis, variant, and resultin 29 of 1201, across 11 files
  • Use descriptive test function namesin 25 of 1201, across 21 files
  • Commit to the methodology without stopping earlyin 24 of 1201, across 8 files

Said here and by no other author read

  • read error output before correcting tests
  • report test results clearly

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.