testing-typescript

testing-typescript is a skill for Claude Code from LandonSchropp/agent-toolkit. It costs 28 tokens per session (206 once invoked), scanned A, original, MIT.

A testing guide for TypeScript and JavaScript code using test frameworks such as Jest, Vitest, or Bun.

In plain words
What is it for?
It is for creating tests for TypeScript or JavaScript projects, including unit tests and other automated checks.
Why use it?
It helps developers write checks that catch code problems and confirm expected behaviour.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ls-typescript plugin — 7 skills, 1 command shipped together

Good fit It is for creating tests for TypeScript or JavaScript projects, including unit tests and other automated checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/landonschropp/agent-toolkit/testing-typescript
Install

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.

Any agent
npx skills add LandonSchropp/agent-toolkit --skill testing-typescript
Clone the repo
git clone --depth 1 https://github.com/LandonSchropp/agent-toolkit

Made for: Claude Code.

Or install ls-typescript, the plugin that ships this one along with the rest of its 7 skills, 1 command.

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 testing-typescript

README.md
[![agentmods](https://agentmods.dev/badge/skills/landonschropp/agent-toolkit/testing-typescript/github.svg)](https://agentmods.dev/skills/landonschropp/agent-toolkit/testing-typescript)
Your own site
<a href="https://agentmods.dev/skills/landonschropp/agent-toolkit/testing-typescript"><img src="https://agentmods.dev/badge/skills/landonschropp/agent-toolkit/testing-typescript/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 testing-typescript

Your own site · 80×15
<a href="https://agentmods.dev/skills/landonschropp/agent-toolkit/testing-typescript"><img src="https://agentmods.dev/badge/skills/landonschropp/agent-toolkit/testing-typescript.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 206 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.00028 $0.00206
Opus 5.5 $0.00011 $0.00082
Sonnet 5.5 $0.00006 $0.00041
Haiku 4.5 $0.00003 $0.00021

Measured 1mo ago against content hash 33aa5780208c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

testing-typescript 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.

plugins/ls-typescript/skills/testing-typescript/SKILL.md · 27 lines

What it actually says

Read:

Framework-Specific Conventions

After reading the references above, invoke the skill matching the project's test framework.

How to detect Skill to invoke
Imports from bun:test, or a bunfig.toml / bun.lock ls-typescript:testing-bun

Renderer-Specific Conventions

These apply on top of the framework skill above, based on what you're testing.

What you're testing Skill to invoke
A React hook ls-typescript:testing-react
An Ink (terminal UI) component ls-typescript:testing-ink
Files

What ships with it

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

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. 1mo ago Changed · +1 lines · +4 tokens per session 33aa5780208c
  2. 1mo ago First seen · 26 lines · 24 tokens per session scan A 5da0adf0e2e4

Subscribe to this mod's changes

testing-typescript is a skill published in the GitHub repository LandonSchropp/agent-toolkit (3 stars, last pushed 2d ago), licensed MIT. It adds 28 tokens to every session and 206 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-03.

Related

Other skills, from other repositories

unit-test-parameterized

Provides parameterized testing patterns with JUnit 5, generates data-driven unit tests using @ParameterizedTest, @ValueSource, @CsvSource, @MethodSource. Creates tests that run the same logic with multiple input values. Use when writing data-driven Java tests, multiple test cases from single method, or boundary value…

giuseppe-trisciuoglio/developer-kit · 71 tokens

unit-test-scheduled-async

Provides patterns for unit testing Spring @Scheduled and @Async methods using JUnit 5, CompletableFuture, Awaitility, and Mockito. Covers mocking task execution and timing, verifying execution counts, testing cron expressions, validating retry behavior, and simulating thread pool behavior. Use when testing background…

giuseppe-trisciuoglio/developer-kit · 84 tokens

unit-test-mapper-converter

Provides patterns for unit testing mappers, converters, and bean mappings. Validates entity-to-DTO and model transformation logic in isolation. Generates executable mapping tests with MapStruct and custom converter test coverage. Use when writing mapping tests, converter tests, entity mapping tests, or ensuring…

giuseppe-trisciuoglio/developer-kit · 72 tokens

unit-test-service-layer

Provides patterns for unit testing service layer with Mockito. Creates isolated tests that mock repository calls, verify method invocations, test exception scenarios, and stub external API responses. Use when testing service behaviors and business logic without database or external services.

giuseppe-trisciuoglio/developer-kit · 52 tokens

loom-c

C language expertise (C11/C17/C23) for memory-safe, portable, production-quality systems code.

cosmix/loom · 25 tokens

rust-development

Idiomatisk Rust-utvikling med cargo, clippy, error handling, async/tokio, unsafe og testing.

navikt/copilot · 27 tokens