Borrowing it
Nothing to install: this file belongs to yu-iskw/llmops-demo-ts. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/yu-iskw/llmops-demo-ts/main/.claude/skills/write-tests/SKILL.mdgit clone --depth 1 https://github.com/yu-iskw/llmops-demo-tsWrote 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/yu-iskw/llmops-demo-ts/write-tests)<a href="https://agentmods.dev/skills/yu-iskw/llmops-demo-ts/write-tests"><img src="https://agentmods.dev/badge/skills/yu-iskw/llmops-demo-ts/write-tests/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/yu-iskw/llmops-demo-ts/write-tests"><img src="https://agentmods.dev/badge/skills/yu-iskw/llmops-demo-ts/write-tests.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.00030 | $0.00371 |
| Opus 5 | $0.00015 | $0.00186 |
| Sonnet 5 | $0.00006 | $0.00074 |
| Haiku 4.5 | $0.00003 | $0.00037 |
Grade A, and why
write-tests 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 3d 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.
What it actually says
Write Tests
Write tests for the following:
$ARGUMENTS
Testing Strategy
- Identify what to test: Read the source code to understand behavior
- Choose test type:
- Unit tests (Jest): Individual functions/classes —
*.test.tsalongside source - E2E tests (Playwright): Full user flows —
packages/frontend/src/tests/ - Evaluation (LangSmith): AI agent quality —
eval/langsmith/directories
- Unit tests (Jest): Individual functions/classes —
- Write tests following project patterns:
Jest Test Template
import { describe, it, expect, jest, beforeEach } from "@jest/globals";
describe("FunctionName", () => {
it("should handle normal input", () => {
// Arrange → Act → Assert
});
it("should handle edge cases", () => {
// Empty, null, boundary values
});
it("should handle errors", () => {
// Error paths and exceptions
});
});
- Run tests to verify they pass:
pnpm test:agents— Agent testspnpm test:backend— Backend testspnpm test:common— Common package testspnpm test:frontend— E2E tests
Test Coverage Goals
- Utility functions: 90%+
- Agent nodes: 80%+
- API endpoints: 80%+
- Vue components: 70%+
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.
- 3d ago First seen · 54 lines · 30 tokens per session scan A 8387dd3ee02c
write-tests is a skill published in the GitHub repository yu-iskw/llmops-demo-ts (6 stars, last pushed 7d ago), licensed Apache-2.0. It adds 30 tokens to every session and 371 once invoked, about $0.0002 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-09-04.
Other skills, from other repositories
testing-patterns
Redirect — testing-patterns was split into 5 focused sub-skills. Use when looking for testing-patterns, writing tests, or test automation. Redirects to testing-unit, testing-e2e, testing-integration, testing-llm, or testing-perf.
langbot-testing
Test LangBot WebUI and core product flows with an automated browser and backend logs. Use when validating the configured LangBot frontend, pipeline Debug Chat, model provider setup and test buttons, bot and knowledge-base UI flows, or troubleshooting failed LangBot end-to-end tests.
local-test
Build, run, and test IronClaw locally using Docker containers and Chrome MCP browser automation.
app_verification
Verify a newly created or newly installed Rome app after coding:appcreation or coding:workflowcreation finishes installing it. Use only as a second-pass verifier: receive the app id, source root, expected behavior, and local dashboard/API base URL from the creator, then visit the installed app, exercise its safe…
testing
Use when writing or reviewing Flutter/Dart tests (unit, widget, golden), fixing flaky tests, adding coverage, or choosing between unit and widget tests.
testing-e2e
End-to-end testing patterns with Playwright — page objects, AI agent testing, visual regression, accessibility testing with axe-core, and CI integration. Use when writing E2E tests, setting up Playwright, implementing visual regression, or testing accessibility.