javascript-typescript-jest

javascript-typescript-jest is a skill for Claude Code, Codex from MarieLynneBlock/arcanum-artifex. It costs 30 tokens per session (542 once invoked), scanned A, original, no licence file.

A guide to testing JavaScript and TypeScript code with Jest, a test-running framework. It covers test structure, reusable fake dependencies called mocks, and common testing patterns.

In plain words
What is it for?
Use it to write and structure Jest tests, choose mocking approaches, and test JavaScript or TypeScript applications.
Why use it?
It helps avoid poorly organised tests and explains how to isolate code from databases, APIs, and other dependencies during testing.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to write and structure Jest tests, choose mocking approaches, and test JavaScript or TypeScript applications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marielynneblock/arcanum-artifex/javascript-typescript-jest
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 MarieLynneBlock/arcanum-artifex --skill javascript-typescript-jest
Clone the repo
git clone --depth 1 https://github.com/MarieLynneBlock/arcanum-artifex

Made for: Claude Code, Codex.

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 javascript-typescript-jest

README.md
[![agentmods](https://agentmods.dev/badge/skills/marielynneblock/arcanum-artifex/javascript-typescript-jest.svg)](https://agentmods.dev/skills/marielynneblock/arcanum-artifex/javascript-typescript-jest)
Your own site
<a href="https://agentmods.dev/skills/marielynneblock/arcanum-artifex/javascript-typescript-jest"><img src="https://agentmods.dev/badge/skills/marielynneblock/arcanum-artifex/javascript-typescript-jest.svg" alt="Measured on agentmods" 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 542 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 unknown 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.00542
Opus 5 $0.00015 $0.00271
Sonnet 5 $0.00006 $0.00108
Haiku 4.5 $0.00003 $0.00054

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

Security

Grade A, and why

javascript-typescript-jest 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 4d 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.

skills/development/typescript/javascript-typescript-jest/SKILL.md · 47 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 4d ago First seen · 47 lines · 30 tokens per session scan A b374f73d5e93

Subscribe to this mod's changes

javascript-typescript-jest is a skill published in the GitHub repository MarieLynneBlock/arcanum-artifex (4 stars, last pushed 2d ago), with no licence file. It adds 30 tokens to every session and 542 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-03.

Related

Other skills, from other repositories

typescript-testing

Applies repository-aware TypeScript test design, behavior evidence, isolation, and mock-boundary criteria. Use when writing or reviewing unit tests.

shinpr/ai-coding-project-boilerplate · 31 tokens

util-function

Creates a well-typed, tested utility function from a description.

berkcangumusisik/claude-code-practices · 15 tokens

migrate-to-shoehorn

Migrate test files from as type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace as in tests, or needs partial test data.

VoDaiLocz/kilo-kit-mcp · 48 tokens

vitest

Provides comprehensive guidance for Vitest testing framework including fast test execution, Vite integration, component testing, mocking, and configuration. Use when the user asks about Vitest, needs to write fast unit tests, test Vue/React components, or configure Vitest with Vite projects.

Zephyrex21/claude-skills-vetted · 59 tokens

temporal-python-testing

Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.

wshobson/agents · 45 tokens

moai-ref-testing-pyramid

Test pyramid strategy, coverage targets, test patterns, and quality metrics reference. Agent-extending skill that amplifies manager-develop test-creation and quality-validation work with production-grade testing patterns. NOT for: production code implementation, architecture design, DevOps, security audits.

modu-ai/moai-adk · 61 tokens