llmops-demo-ts: Skill for Claude Code

.claude/skills/write-tests/SKILL.md

write-tests is a skill for Claude Code from yu-iskw/llmops-demo-ts. It costs 30 tokens per session (371 once invoked), scanned A, original, Apache-2.0.

A testing skill that writes unit, integration, and end-to-end tests for existing code. Unit tests check small pieces of code, while end-to-end tests check complete user flows in the application.

In plain words
What is it for?
Use it to test functions, classes, API endpoints, Vue components, error paths, edge cases, user journeys, and AI-agent evaluations.
Why use it?
It adds coverage after a feature is implemented or when important behavior lacks tests. It also follows the project's test patterns and runs the relevant test commands.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is yu-iskw/llmops-demo-ts's own configuration. It tells Claude Code how to work on llmops-demo-ts itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything llmops-demo-ts configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/yu-iskw/llmops-demo-ts/main/.claude/skills/write-tests/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/yu-iskw/llmops-demo-ts

Made for: Claude Code.

Wrote 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.

agentmods badge for write-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/yu-iskw/llmops-demo-ts/write-tests/github.svg)](https://agentmods.dev/skills/yu-iskw/llmops-demo-ts/write-tests)
Your own site
<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.

agentmods 80×15 button for write-tests

Your own site · 80×15
<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>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 371 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 3d ago against content hash 8387dd3ee02c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

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.

.claude/skills/write-tests/SKILL.md · 54 lines

What it actually says

Write Tests

Write tests for the following:

$ARGUMENTS

Testing Strategy

  1. Identify what to test: Read the source code to understand behavior
  2. Choose test type:
    • Unit tests (Jest): Individual functions/classes — *.test.ts alongside source
    • E2E tests (Playwright): Full user flows — packages/frontend/src/tests/
    • Evaluation (LangSmith): AI agent quality — eval/langsmith/ directories
  3. 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
  });
});
  1. Run tests to verify they pass:
    • pnpm test:agents — Agent tests
    • pnpm test:backend — Backend tests
    • pnpm test:common — Common package tests
    • pnpm test:frontend — E2E tests

Test Coverage Goals

  • Utility functions: 90%+
  • Agent nodes: 80%+
  • API endpoints: 80%+
  • Vue components: 70%+
Changes

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.

  1. 3d ago First seen · 54 lines · 30 tokens per session scan A 8387dd3ee02c

Subscribe to this mod's changes

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.

Related

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.

yonatangross/orchestkit · 59 tokens

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.

langbot-app/LangBot · 58 tokens

local-test

Build, run, and test IronClaw locally using Docker containers and Chrome MCP browser automation.

suyoumo/ClawProBench · 22 tokens

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…

rome-os/rome · 0 tokens

testing

Use when writing or reviewing Flutter/Dart tests (unit, widget, golden), fixing flaky tests, adding coverage, or choosing between unit and widget tests.

evanca/flutter-ai-rules · 33 tokens

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.

yonatangross/orchestkit · 55 tokens