Skip to content
Back to skills

Test

ASecurity

Writes and runs tests for a file or function with the project's test tool. Use when the user asks to add tests, test a function, or check that code works.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentsjavascripttypescriptpythonjavabashnode

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add BrandeisPatrick/silo-harness --skill test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test?

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

Security grade badge for Test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/brandeispatrick-test/badge)](https://www.skillsdirectory.com/skills/brandeispatrick-test)

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: test
description: Writes and runs tests for a file or function with the project's test tool. Use when the user asks to add tests, test a function, or check that code works.
argument-hint: <file or function>
---
Write tests for the code the user named.

1. Read the target file first so the tests match the real function names and signatures.
2. Detect the language and pick the native test tool: Python → a `test_<name>.py` file using `unittest` run with `python3 -m unittest -v`; JavaScript/TypeScript → a `<name>.test.js` file using `node --test`; otherwise use the project's existing test runner.
3. Cover the normal case, an edge case and an invalid input.
4. Run the tests with bash and show the output. If they fail because of a bug in the code under test, say so instead of weakening the test.
5. Finish with a one-paragraph summary: what was tested and the result.

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.