Agent skill

Jest Testing

by aiskillstore in aiskillstore/marketplace

Automatically activated when user works with Jest tests, mentions Jest configuration, asks about Jest matchers/mocks, or has files matching .test.js, .test.ts, jest.config..

No licenceAuto-check: notesTesting & QA

Install Jest Testing

skills CLI
$ npx skills add aiskillstore/marketplace --skill jest-testing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace jest-testing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/c0ntr0lledcha0s/jest-testing .claude/skills/jest-testing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
jest-testing
GitHub stars
430
Token cost
~4.1k tokens
SKILL.md length
558 words
Files
5 (incl. scripts, references, assets)
Skills in repo
1,108
Repo updated
First seen
Licence
None found

At a glance

Automatically activated when user works with Jest tests, mentions Jest configuration, asks about Jest matchers/mocks, or has files matching .test.js, .test.ts, jest.config..

  • Works in 7 steps: Jest Configuration: Setup, configuration… → Matchers & Assertions: Built-in and… → Mocking: Mock functions, modules,… → …
  • Works with Jest tests
  • SKILL.md covers Your Capabilities, When to Use This Skill, How to Use This Skill and Available Resources, plus 6 more sections
  • Runs TypeScript and Shell scripts from its folder; calls jest

What it does

Jest Testing is an agent skill from aiskillstore/marketplace. Automatically activated when user works with Jest tests, mentions Jest configuration, asks about Jest matchers/mocks, or has files matching .test.js, .test.ts, jest.config.. Provides Jest-specific expertise for testing React, Node.js, and JavaScript applications. Also applies to Vitest due to API compatibility. Does NOT handle general quality analysis - use analyzing-test-quality for that.

Its SKILL.md is about 4.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts, reference files and assets (for example `assets/test-file.template.ts`, `references/jest-cheatsheet.md` and `scripts/check-jest-setup.sh`).

It sits in Testing & QA, covering Unit testing. It works with Jest, React, JavaScript and Node.js. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

When your agent uses it

  • Works with Jest tests
  • Mentions Jest configuration
  • Asks about Jest matchers/mocks
  • Has files matching .test.js

Example prompts

  • “/jest-testing”

Requirements

  • Node.js
  • A Bash shell
  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Bash

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Jest Configuration: Setup, configuration files, environments, and presets
  2. Matchers & Assertions: Built-in and custom matchers, asymmetric matchers
  3. Mocking: Mock functions, modules, timers, and external dependencies
  4. Snapshot Testing: Inline and external snapshots, snapshot updates
  5. Code Coverage: Coverage configuration, thresholds, and reports
  6. Test Organization: Describe blocks, hooks, test filtering
  7. React Testing: Testing React components with Jest DOM and RTL

What it can do on your machine

Read from SKILL.md and the folder at commit ad8daf7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (TypeScript and Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • jest

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Jest Testing loads about 4.1k tokens when it runs, and up to ~5.7k if it reads all its reference files. Until then it costs about 102 tokens; SKILL.md has 558 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~102
When it runs · the whole SKILL.md, loaded when a task matches
~4.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Grep, Glob, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 558 words (~4,094 tokens).

“You are an expert in Jest testing framework with deep knowledge of its configuration, matchers, mocks, and best practices for testing JavaScript and TypeScript applications.”

— opening of SKILL.md by aiskillstore
name
jest-testing
allowed-tools
Read, Grep, Glob, Bash
version
1.1.0
capabilities
jest-configuration, matchers-assertions, mocking-strategies, snapshot-testing, code-coverage, react-testing-library, async-testing, custom-matchers…

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (scripts, references, assets) in skills/c0ntr0lledcha0s/jest-testing of aiskillstore/marketplace.

  • SKILL.md
  • assets/test-file.template.ts
  • references/jest-cheatsheet.md
  • scripts/check-jest-setup.sh
  • skill-report.json

Open the folder on GitHubat commit ad8daf7

Compare with similar skills

Jest Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Jest Testing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Jest Testing this skillaiskillstore/marketplace430—~4.1kAutomated safety check: NotesNone
React Testingaffaan-m/ECC275k1 repos~3.3kAutomated safety check: PassMIT
Vitest Skillsickn33/agentic-awesome-skills47k1 repos~1.2kAutomated safety check: PassMIT
Vitestjezweb/claude-skills1.1k—~3kAutomated safety check: PassMIT
Reactpedronauck/skills6341 repos~1.5kAutomated safety check: PassNone
Cometchat React V7 Testingcometchat/cometchat-skills130—~1.1kAutomated safety check: PassMIT

Similar skills

  • React Testing

    affaan-m/ECC

    React component testing with React Testing Library, Vitest/Jest, MSW for network mocking, accessibility assertions with axe, and the decision boundary between component tests and Playwright/Cypress…

    275k GitHub starsUsed in 1 repo~3.3k tokens
    Testing & QAAuto-check passed
  • Vitest Skill

    sickn33/agentic-awesome-skills

    Generates Vitest tests in JavaScript/TypeScript with Vite-native speed.

    47k GitHub starsUsed in 1 repo~1.2k tokens
    Testing & QAAuto-check passed
  • Vitest

    jezweb/claude-skills

    Set up Vitest testing in any project — detects type (Cloudflare Workers, React, Node, library), generates vitest.config.ts, test setup, utilities, and a sample test.

    1.1k GitHub stars~3k tokensUpdated 3 days ago
    Testing & QAAuto-check passed
  • React

    pedronauck/skills

    Build React 19 components and hooks under React Compiler: state, Effects, memoization, props/refs, Actions, use(), compiler/lint setup, and Vitest tests.

    634 GitHub starsUsed in 1 repo~1.5k tokens
    Testing & QAAuto-check passed
  • Cometchat React V7 Testing

    cometchat/cometchat-skills

    Test a React app that embeds CometChat v7 — what to mock vs exercise for real, rendering kit components under a test provider, waiting out the async init→login gate, and a lean E2E smoke.

    130 GitHub stars~1.1k tokensUpdated 3 days ago
    Testing & QAAuto-check passed
  • Testing Web

    ericrisco/rsc-harness

    A skill your agent uses when writing or fixing frontend unit, component or custom-hook tests with Vitest or Jest plus Testing Library — rendering a component in jsdom, testing a hook in isolation…

    167 GitHub stars~3.3k tokensUpdated today
    Testing & QAAuto-check passed

More from aiskillstore/marketplace

All 1,108 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    430 GitHub starsUsed in 2 repos~697 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    430 GitHub starsUsed in 2 repos~598 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    430 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    430 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Investigating Codebases

    aiskillstore/marketplace

    Automatically activated when user asks how something works, wants to understand unfamiliar code, needs to explore a new codebase, or asks questions like "where is X implemented?", "how does Y…

    430 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check: notes

Categories

Questions about Jest Testing

What does Jest Testing do?

Automatically activated when user works with Jest tests, mentions Jest configuration, asks about Jest matchers/mocks, or has files matching .test.js, .test.ts, jest.config.. Jest Testing is an agent skill from aiskillstore/marketplace.config..

When should I use Jest Testing?

Jest Testing fits situations like: works with Jest tests; mentions Jest configuration; asks about Jest matchers/mocks; has files matching .test.js.

How do I install Jest Testing in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill jest-testing -a claude-code`. Or copy the skill folder (skills/c0ntr0lledcha0s/jest-testing in aiskillstore/marketplace) into .claude/skills/jest-testing in your project. Claude Code loads it when a task matches its description.

How do I install Jest Testing in Codex?

Run `npx skills add aiskillstore/marketplace --skill jest-testing -a codex`. Or copy the skill folder (skills/c0ntr0lledcha0s/jest-testing in aiskillstore/marketplace) into .agents/skills/jest-testing in your project. Codex loads it when a task matches its description.

Can I use Jest Testing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill jest-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/jest-testing, .gemini/skills/jest-testing, .github/skills/jest-testing and .opencode/skills/jest-testing in your project.

What does Jest Testing need to run?

Going by SKILL.md and its folder, Jest Testing needs TypeScript and a shell for the scripts in its folder and the command-line tools its instructions call (jest). Our summary lists: Node.js; A Bash shell. Its frontmatter pre-approves these tools: Read, Grep, Glob, Bash.

Does Jest Testing access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Jest Testing safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Jest Testing use?

No licence was found for Jest Testing or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Jest Testing use?

About 4.1k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.6k tokens, read only when the agent opens those files.

What are the alternatives to Jest Testing?

Skills that share tags, products or a category with Jest Testing: React Testing (affaan-m/ECC, 275k stars), Vitest Skill (sickn33/agentic-awesome-skills, 47k stars), Vitest (jezweb/claude-skills, 1.1k stars) and React (pedronauck/skills, 634 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Jest Testing?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,108 skills in this directory. The repository was last updated on October 7, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.