Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Write Tests?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/schubergphilis-write-tests)
---
name: write-tests
description: Write unit tests for code that has none. Use when the user asks for tests or for better test coverage.
license: Apache-2.0
---
# Write tests
1. Run `python3 scripts/find_untested.py` from this skill's directory,
with the project's source directory as its argument. It prints the
functions that no test file names.
2. Pick the first three and write one test for each, next to the tests
that already exist.
3. Run the tests and fix the tests, not the code, until they pass.