Skip to content
Back to skills

Write Tests

ASecurity

Write unit tests for code that has none. Use when the user asks for tests or for better test coverage.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 22, 2026
ai-agentspython

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 22, 2026

npx -y skills add schubergphilis/ai-training --skill write-tests --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Write Tests?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Write Tests
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/schubergphilis-write-tests/badge)](https://www.skillsdirectory.com/skills/schubergphilis-write-tests)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Files in this skill

  • SKILL.md518 B
  • scripts/find_untested.py712 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.