Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Jignesh-Ponamwar/skills-mcp --skill test-writergit clone --depth 1 https://github.com/Jignesh-Ponamwar/skills-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/jignesh-ponamwar/skills-mcp/test-writer)<a href="https://agentmods.dev/skills/jignesh-ponamwar/skills-mcp/test-writer"><img src="https://agentmods.dev/badge/skills/jignesh-ponamwar/skills-mcp/test-writer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jignesh-ponamwar/skills-mcp/test-writer"><img src="https://agentmods.dev/badge/skills/jignesh-ponamwar/skills-mcp/test-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00072 | $0.01549 |
| Opus 5 | $0.00036 | $0.00775 |
| Sonnet 5 | $0.00014 | $0.00310 |
| Haiku 4.5 | $0.00007 | $0.00155 |
Grade A, and why
test-writer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test Writer Skill
Overview
Generate comprehensive, maintainable test suites. Focuses on correctness, isolation, and readability - tests that catch real bugs and survive refactoring.
Principles
- One assertion concept per test - each test validates one specific behavior
- Descriptive names -
test_<unit>_<scenario>_<expected>format - Isolation - no shared mutable state between tests; mock external dependencies
- Determinism - no flakiness from time, randomness, or network
- Coverage - happy path + edge cases + error paths
Step-by-Step Process
Step 1: Analyse the Code Under Test
Identify:
- Inputs: parameters, types, valid ranges, optional vs required
- Outputs: return values, side effects (file writes, DB calls, HTTP requests)
- Dependencies: external systems to mock (DB, HTTP, clock, filesystem)
- Behaviors: branching logic, loops, error handling paths
Step 2: Define Test Cases
For each function/method, write test cases for:
| Category | Examples |
|---|---|
| Happy path | Valid inputs → expected output |
| Boundary values | 0, -1, max int, empty string, empty list |
| None / null | Missing optional fields, None arguments |
| Type errors | Wrong types where applicable |
| Domain errors | Negative price, future birth date, invalid email |
| External failure | DB down, HTTP 500, file not found |
Step 3: Python / pytest
import pytest
from myapp.billing import calculate_discount
class TestCalculateDiscount:
def test_gold_tier_applies_20_percent(self):
assert calculate_discount(price=100.0, tier="gold") == 80.0
def test_standard_tier_applies_no_discount(self):
assert calculate_discount(price=100.0, tier="standard") == 100.0
def test_zero_price_returns_zero(self):
assert calculate_discount(price=0.0, tier="gold") == 0.0
def test_negative_price_raises_value_error(self):
with pytest.raises(ValueError, match="Price must be non-negative"):
calculate_discount(price=-10.0, tier="gold")
def test_unknown_tier_raises_value_error(self):
with pytest.raises(ValueError, match="Unknown tier"):
calculate_discount(price=100.0, tier="diamond")
@pytest.mark.parametrize("tier,expected", [
("gold", 80.0),
("silver", 90.0),
("bronze", 95.0),
])
def test_tier_discounts_parametrized(self, tier, expected):
assert calculate_discount(price=100.0, tier=tier) == expected
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 192 lines · 72 tokens per session scan A 51ddf7abe801
test-writer is a skill published in the GitHub repository Jignesh-Ponamwar/skills-mcp (8 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 72 tokens to every session and 1,549 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
javascript-testing-patterns
Implement comprehensive testing strategies using Jest, Vitest, and Testing Library for unit tests, integration tests, and end-to-end testing with mocking, fixtures, and test-driven development. Use when writing JavaScript/TypeScript tests, setting up test infrastructure, or implementing TDD/BDD workflows.
test-pyramid
Decide what type of test to write, structure the suite, measure health, and apply test doubles correctly.
test-orchestrator
QA & testing orchestrator managing unit tests, E2E user scenarios, load testing, and performance benchmarks. / TR: Kapsamlı test stratejileri, birim testleri (unit), uçtan uca testler (E2E), performans ve yük testlerini yöneten ana orkestratör.
testing-master
Automated test strategies, unit testing, and E2E testing guidelines. / TR: Test stratejileri, birim testleri (unit test) ve e2e testler yazmak için yetenek.
android-testing
Android testing for AI agents. Use this skill whenever writing unit tests, integration tests, UI tests, ViewModel tests, Repository tests, DAO tests, Compose UI tests, Hilt testing, @HiltAndroidTest, TestCoroutineDispatcher, runTest, turbine Flow testing, MockK, Mockito, FakeRepository, Robolectric, Espresso, Compose…
javascript-testing-patterns
Implement comprehensive testing strategies using Jest, Vitest, and Testing Library for unit tests, integration tests, and end-to-end testing with mocking, fixtures, and test-driven development. Use when writing JavaScript/TypeScript tests, setting up test infrastructure, or implementing TDD/BDD workflows.