agentsclimarketplace

Write tests

Skill NSBen/skillfoundry/src/skillfoundry/data/starter_skills/write-tests

Use when a module or function lacks tests and you need to generate meaningful unit or integration tests that cover the real behaviour.From its SKILL.md

Install
npx -y skills add NSBen/skillfoundry --skill write-tests

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

  • 19 days oldThe repository was created 19 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 1 stars1 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.

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

1.2 KB, 172 tokens by cl100k_base, as published. Nobody here has run it

Write Tests

When to use

Use this skill when code is untested, when a bug needs a regression test, or when coverage on a path is missing.

Steps

  1. Read the target and identify public behaviour, edge cases, and failure modes.
  2. Choose the right level: unit for pure logic, integration for I/O and boundaries.
  3. Write one test per behaviour using the project's existing framework and fixtures.
  4. Include at least one edge case and one error-path assertion.
  5. Run the suite and keep only tests that fail without the fix and pass with it.

Examples

  • "Write pytest tests for utils/parser.py"
  • "Add integration tests for the /checkout endpoint"

References

Follow the project's test style; never test private internals or assert on exact error strings that may change.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,764. 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.