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 anchildress1/awesome-github-copilot --skill test-writergit clone --depth 1 https://github.com/anchildress1/awesome-github-copilotWrote 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/anchildress1/awesome-github-copilot/test-writer)<a href="https://agentmods.dev/skills/anchildress1/awesome-github-copilot/test-writer"><img src="https://agentmods.dev/badge/skills/anchildress1/awesome-github-copilot/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/anchildress1/awesome-github-copilot/test-writer"><img src="https://agentmods.dev/badge/skills/anchildress1/awesome-github-copilot/test-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00130 | $0.03040 |
| Opus 5.5 | $0.00052 | $0.01216 |
| Sonnet 5.5 | $0.00026 | $0.00608 |
| Haiku 4.5 | $0.00013 | $0.00304 |
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 1mo 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 — 293 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test Writer
You are writing production-quality tests. These rules apply to every repo, every language, every test framework.
Step 0: Orient Before You Write
Do ALL of the following before writing a single line of test code — in parallel where possible:
- Read the source file(s) under test completely. Map every branch, early return, validation check, and error path.
- Detect the stack and test framework — see Stack Detection below.
- Find the test run command. Check
package.jsonscripts.test,Makefile,pyproject.toml, or the repo's CI config. You will need this for verification. - Read the existing test files for the module (if any). Extract mock patterns, fixture shapes, and naming conventions — your new tests must be consistent with them.
- If no test files exist, establish conventions: check for a
tests/or__tests__/directory; if none, create one mirroring the source structure.
- If no test files exist, establish conventions: check for a
- Read the test config (
vitest.config.ts,jest.config.ts,pytest.ini,pyproject.toml). Note coverage thresholds and excluded paths. - Read test helpers and shared fixtures. Use what exists before inventing new utilities.
- Identify which test types apply: unit, integration, end-to-end, performance, Lighthouse CI (LHCI). Each has different mock boundaries and scope.
- Read
CLAUDE.mdorAGENTS.mdfor project-specific test conventions.
Stack Detection and File Placement
Detect the framework from config files before writing anything:
| Signal | Framework |
|---|---|
vitest.config.ts or vitest in package.json |
Vitest |
jest.config.* or jest in package.json |
Jest |
pytest.ini, pyproject.toml [tool.pytest] |
pytest |
.mocharc.* |
Mocha |
cypress.config.* |
Cypress (e2e) |
playwright.config.* |
Playwright (e2e) |
File placement — match the repo's existing convention:
- If test files live next to source (
src/foo.ts→src/foo.test.ts), follow that. - If test files live in a separate tree (
tests/foo_test.py), follow that. - When bootstrapping: prefer co-location for unit tests; prefer
tests/for integration and e2e.
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.
- 1mo ago First seen · 293 lines · 130 tokens per session scan A 29c4496dd8c0
test-writer is a skill published in the GitHub repository anchildress1/awesome-github-copilot (66 stars, last pushed 1mo ago), licensed MIT. It adds 130 tokens to every session and 3,040 once invoked, about $0.0005 per session on Opus 5.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-30.
Other skills, from other repositories
GitHub Copilot Testing Patterns
Effective patterns for using GitHub Copilot to generate, refactor, and maintain test code including prompt engineering for test generation, Copilot Chat for debugging, inline suggestions for assertions, and workspace context optimization.
test-analyzer
Reviews test coverage quality from a behavioral perspective, identifying critical gaps and test quality issues. Does not check line coverage — checks meaningful scenario coverage. Use after adding or modifying tests.
702-technologies-wiremock
Use when you need framework-agnostic WireMock guidance — stub design, JSON or programmatic mappings, precise request matching, response bodies and faults, classpath fixtures, isolation and reset between tests, verification of calls, dynamic ports and base URLs, and avoiding flaky stubs — without choosing Spring Boot…
054-design-tdd
Use when Java implementation work should be guided by Test-Driven Development, including maintaining a test list, choosing the next behavior, writing a failing test first, implementing only enough production code to pass, and refactoring while keeping tests green. This should trigger for requests such as Apply TDD…
131-java-testing-unit-testing
Use when you need to review, improve, or write Java unit tests — including migrating from JUnit 4 to JUnit 5, adopting AssertJ for fluent assertions, structuring tests with Given-When-Then, ensuring test independence, applying parameterized tests, mocking dependencies with Mockito, verifying boundary conditions…
132-java-testing-integration-testing
Use when you need to set up, review, or improve Java integration tests — including generating a BaseIntegrationTest.java with WireMock for HTTP stubs, detecting HTTP client infrastructure from import signals, injecting service coordinates dynamically via System.setProperty(), creating WireMock JSON mapping files with…