agentsclimarketplace

Test writer

Skill claudifytech/claude-code-skills-starter/skills/test-writer

Free starter skills for Claude Code: conventional commits, code review, test writing, and README generation, plus a starter CLAUDE.md. From the makers of Claudify.

Install
npx -y skills add claudifytech/claude-code-skills-starter --skill test-writer

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

One thing to look at

  • 0 stars0 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 author says it does

Copied from the file, not written here

Generate tests that match the project's existing test patterns and framework

SKILL.md

1.4 KB, as published. Nobody here has run it

Test Writer

Write tests for a target file or function that fit how the project already tests things.

When to use

When the user asks to add tests, improve coverage, or test a specific module.

Procedure

  1. Find the project's test setup before writing anything:
    • Look for existing test files (*.test.*, *.spec.*, a tests/ or __tests__/ folder).
    • Identify the framework and assertion style from those files, for example Vitest, Jest, Pytest, or Go testing.
    • Note the project's patterns: how it names tests, sets up fixtures, and mocks dependencies.
  2. Read the code under test fully. List the behaviors worth covering: the happy path, each branch, boundary values, and error handling.
  3. Write tests that mirror the existing patterns exactly. Do not introduce a new framework or style.
  4. Cover the cases from step 2. Prefer a few clear, meaningful tests over many shallow ones.
  5. Run the tests. If any fail, decide whether the test or the code is wrong, fix the right one, and re-run until green or until you have a genuine finding to report.

Notes

  • Match the project, do not impose your own preferences.
  • A test that always passes is worse than no test. Each test should be able to fail for a real reason.

Keep looking

Skills are one crate of 328,083. 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.