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.5 | $0.00012 | $0.00148 |
| Sonnet 5.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 3mo 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.
- 3mo 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 4d ago), licensed Apache-2.0. It adds 30 tokens to every session and 371 once invoked, about $0.0001 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-09-04.
write-tests compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| write-testsyu-iskw/llmops-demo-ts | Skill | 6 | 4d ago | Apache-2.0 | A | 30 | Claude Code |
| testing-patternsyonatangross/orchestkit | Skill | 315 | today | MIT | A | 59 | Claude Code |
| knowledge-engineering-quality-and-delivery-unit-integration-and-shared-test-harnessesechoVic/blade-code | Skill | 181 | 19d ago | MIT | A | 184 | Claude Code, Codex |
| reproduce-buggoogleapis/mcp-toolbox | Skill | 17k | today | Apache-2.0 | A | 130 | Claude Code, Codex |
| langbot-testinglangbot-app/LangBot | Skill | 19k | yesterday | Apache-2.0 | A | 61 | Claude Code, Codex |
| penguin-testing-electronPrism-Shadow/penguin-harness | Skill | 3.4k | today | Apache-2.0 | A | 84 | Claude Code, Codex |
| tdd-workflowaffaan-m/ECC | Skill | 317k | 3d ago | MIT | C | 43 | Claude Code, Codex |