Topic · Testing & QA
Best unit testing skills for Claude Code, Codex and other agents.
- skills
- 863
- official
- 88
Unit testing skills, ranked
Ranked by score. Sort bymost stars,trending,newest,recently updated
| # | Skill | Repository | Stars | Used in | Tokens | Auto-check | Licence | Updated |
|---|---|---|---|---|---|---|---|---|
| 1 | Jest patterns for React Native style tests: TDD discipline, mock factory functions, module and GraphQL hook mocking, custom render helpers and anti-patterns to avoid. | ChrisWiles/ | 6.1k | 7 repos | ~1.5k | Automated safety check: Pass | No licence | 9 mo ago |
| 2 | Enforces red-green-refactor for Rust work, with idiomatic test patterns, a naming convention and a pre-commit gate of cargo fmt, clippy and test. | rtk-ai/ | 83k | — | ~753 | Automated safety check: Notes | Apache-2.0 | today |
| 3 | Sets the test-writing workflow for the repository: risk-first scenario lists, behavior-focused Vitest tests, a full run before each commit and a coverage target. | iOfficeAI/ | 33k | 1 repo | ~1.2k | Automated safety check: Pass | Apache-2.0 | 28 days ago |
| 4 | Walks through deprecating an R function or argument in a package: lifecycle warning, silenced tests, a new snapshot test, documentation badge and NEWS entry. | tidyverse/ | 5.1k | 1 repo | ~1.2k | Automated safety check: Pass | Unknown | 4 mo ago |
| 5 | Checks that every Python code block in a Markdown file actually compiles and runs, by extracting each block to a temporary file, executing it in an isolated subprocess, and writing a pass/fail… | google/ | 22k | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | today |
| 6 | Run Kedro's local lint / format / type-check / tests on changed files (uses the project's pre-commit hooks, ruff, mypy, pytest, lint-imports, detect-secrets, Make targets — in the right venv), or… | kedro-org/ | 11k | — | ~4k | Automated safety check: Pass | Unknown | yesterday |
| 7 | Enforces red-green-refactor for new RTK output filters in Rust, using real captured fixtures, snapshot tests with insta and token-savings assertions. | rtk-ai/ | 83k | — | ~1.9k | Automated safety check: Notes | Apache-2.0 | today |
| 8 | A skill your agent uses when writing new features, fixing bugs, or refactoring code. | hellangleZ/ | 112 | 11 repos | ~2.4k | Automated safety check: Pass | No licence | 8 mo ago |
| 9 | Implements missing CPython C-API functions in RustPython's crates/capi, mapping each header to its module with the pyo3-ffi header split. | RustPython/ | 22k | — | ~831 | Automated safety check: Pass | MIT | today |
| 10 | Rules for writing, fixing and reviewing pytest unit tests that are hermetic: behavior-focused, deterministic, isolated and cheap to run. | dimensionalOS/ | 4.6k | — | ~1.4k | Automated safety check: Pass | Unknown | today |
| 11 | 11.Test Guard Reviews newly written or edited tests against nine rules that cut test bloat, such as mock-heavy checks and near-duplicate cases, before they are committed. | amElnagdy/ | 1.3k | 2 repos | ~2.1k | Automated safety check: Pass | MIT | 3 mo ago |
| 12 | Deep-dive diagnosis of a Playwright test failure already isolated to one Quay Prow/OpenShift CI run: downloads its GCS artifacts (results.json, JUnit, build/pod logs, Jaeger traces), classifies real… | quay/ | 2.8k | — | ~2.2k | Automated safety check: Pass | Apache-2.0 | today |
| 13 | Creates or modify PHP unit tests for Dolibarr ERP/CRM functions and methods. | Dolibarr/ | 7.7k | 1 repo | ~1.3k | Automated safety check: Pass | MIT | today |
| 14 | 14.Code Review 对 Yakit 仓库的代码改动做规范化 code review:按代码逻辑、TS 定义、UI 引用与 Props、CSS 样式、依赖版本、配置项六个维度审查,检查测试用例缺失,强制执行 tsc 类型检查与 vitest 测试验证,输出「结果汇总 / 明细解释 / 合并结论」三块报告,经用户确认后写入文件。当用户要求 review、审查、评审代码改动,或在提交、合并、提 PR… | yaklang/ | 7.8k | — | ~1.4k | Automated safety check: Notes | AGPL-3.0 | 7 days ago |
| 15 | A skill your agent uses when adding, moving, or wiring an internal REST endpoint in Trilium (a new /api/ route) — choosing between a core-shared handler (packages/trilium-core/src/routes/index.ts… | TriliumNext/ | 38k | — | ~3.3k | Automated safety check: Pass | AGPL-3.0 | today |
| 16 | Generate React Native Reanimated animation code for React Native apps. | gluestack/ | 5.3k | — | ~2.4k | Automated safety check: Pass | No licence | 1 mo ago |
| 17 | Disciplined, reproducible loop for making an FLA kernel faster (Triton, Gluon, TileLang, CuTe) without ever breaking or gaming correctness. | fla-org/ | 5.8k | — | ~2.6k | Automated safety check: Pass | MIT | yesterday |
| 18 | Adds integration or unit tests to an OpenROAD module: writes the Tcl test, generates golden files and registers it in both CMake and Bazel. | The-OpenROAD-Project/ | 3.2k | — | ~1.8k | Automated safety check: Pass | BSD-3-Clause | today |
| 19 | Verifies OpenLogi's native GPUI interface with focused tests, the component gallery and a mock agent, choosing the evidence that fits each change. | AprilNEA/ | 23k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | 3 days ago |
| 20 | 20.CI Fix Scan all CI builds and tests, find failures, fetch error logs, and fix the code. | FastLED/ | 7.5k | — | ~897 | Automated safety check: Pass | MIT | today |
| 21 | Instructions for writing, running, and updating unit/end-to-end tests. | TypeCellOS/ | 10k | — | ~2.6k | Automated safety check: Pass | Unknown | today |
| 22 | Local development guide for the Happy pnpm monorepo: install, build, test and run the CLI, server, Expo app and Tauri desktop packages. | slopus/ | 24k | — | ~1.8k | Automated safety check: Pass | MIT | today |
| 23 | 23.Mesh Lab Run, diagnose, and extend bitchat Android Mesh Lab physical-device tests. | permissionlesstech/ | 7.7k | — | ~2.9k | Automated safety check: Pass | GPL-3.0 | yesterday |
| 24 | Use when running TiDB package tests and deciding whether failpoint enable/disable is required before and after the test command. | pingcap/ | 41k | — | ~256 | Automated safety check: Pass | Apache-2.0 | today |
| 25 | A skill your agent uses when adding, changing, or reviewing an LLM/MCP tool in Trilium (the defineTools definitions under packages/trilium-core/src/services/llm/tools/ —… | TriliumNext/ | 38k | — | ~2.5k | Automated safety check: Pass | AGPL-3.0 | today |
| 26 | Steps for adding or maintaining a WeChat official API in the WxJava SDK, following its Maven multi-module layout, Java 8 compatibility and TestNG test conventions. | binarywang/ | 33k | — | ~154 | Automated safety check: Pass | Apache-2.0 | 11 days ago |
| 27 | Diagnose any Quay Prow job failure end to end: prowjob.json - top-level build log - JUnit - resolved failing step - Playwright results.json when the failing step is Playwright, continuing through… | quay/ | 2.8k | — | ~2.9k | Automated safety check: Pass | Apache-2.0 | today |
| 28 | Develops production-ready Triton kernels for Liger Kernel. An agent skill from linkedin/Liger-Kernel. | linkedin/ | 6.6k | — | ~799 | Automated safety check: Pass | BSD-2-Clause | today |
| 29 | Creates Python projects with proper structure, virtual environments, and dependency management. | haddock-development/ | 379 | — | ~1.4k | Automated safety check: Notes | No licence | 8 mo ago |
| 30 | 30.Pest Testing A skill your agent uses for Pest PHP testing in Laravel projects only. | luadotsh/ | 342 | 1 repo | ~1.2k | Automated safety check: Pass | MIT | 15 days ago |
| 31 | Create and review Cloudflare Durable Objects. An agent skill from hodgef/apiker. | hodgef/ | 127 | 4 repos | ~1.5k | Automated safety check: Pass | MIT | 1 mo ago |
| 32 | Generates Vitest tests for every runnable code example on a JavaScript concept documentation page, following a four-phase extraction and conversion process. | leonardomso/ | 67k | — | ~5.5k | Automated safety check: Pass | MIT | 26 days ago |
| 33 | Add a new AWS event source attribute (e.g., Kinesis, Kafka, MQ) to the Lambda .NET Annotations framework, including the attribute class, source generator integration, CloudFormation writer, unit… | aws/ | 1.7k | — | ~3k | Automated safety check: Pass | Apache-2.0 | today |
| 34 | A skill your agent uses for test selection and quality across backend, frontend, and e2e; load its backend reference for Vitest projects, mocking, DB fixtures, and performance. | archestra-ai/ | 4.3k | — | ~3.2k | Automated safety check: Pass | Unknown | today |
| 35 | 35.Jazz Testing A skill your agent uses when you need to write, review, or debug automated tests for applications built on the Jazz framework. | garden-co/ | 2.5k | — | ~1.6k | Automated safety check: Pass | MIT | 1 mo ago |
| 36 | Workflow for WooCommerce development: run PHP and JavaScript tests, lint and fix code style on the current branch, and follow guides for i18n and markdown. | woocommerce/ | 11k | 3 repos | ~431 | Automated safety check: Pass | Unknown | today |
| 37 | Adds or changes a DNS provider in the DDNS project while keeping its code, schemas, tests and Chinese and English docs consistent. | NewFuture/ | 4.7k | — | ~558 | Automated safety check: Pass | MIT | yesterday |
| 38 | A skill your agent uses when the user asks to create, draft, prepare, or publish a GitHub issue for the rocketmq-rust project — bugs, features, enhancements, refactors, docs, unit tests, CI… | mxsm/ | 1.5k | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | today |
| 39 | Run or add ScottPlot 5 tests. Use for unit-test and cookbook-test work; unless explicitly asked otherwise, restrict manual test execution to the… | ScottPlot/ | 6.8k | — | ~308 | Automated safety check: Pass | MIT | 1 mo ago |
| 40 | Iterative code refinement through plan → code → evaluate → refine cycles. | EvoScientist/ | 474 | 3 repos | ~2.5k | Automated safety check: Pass | Apache-2.0 | 7 days ago |
| 41 | 41.Go Testing A skill your agent uses when writing, reviewing, or improving Go test code — including table-driven tests, subtests, parallel tests, test helpers, test doubles, and assertions with cmp.Diff. | cxuu/ | 170 | 1 repo | ~1.3k | Automated safety check: Pass | Apache-2.0 | 3 mo ago |
| 42 | Sets up a local ADK Python development environment in a git clone of the open-source adk-python repository: a uv virtual environment, all dependency extras, pre-commit hooks, and a first unit-test… | google/ | 22k | — | ~993 | Automated safety check: Notes | Apache-2.0 | today |
| 43 | 43.Vitest Vitest testing framework patterns for test setup, async testing, mocking with vi., snapshots, and test performance (formerly test-vitest). | pixel-point/ | 149 | 2 repos | ~1.3k | Automated safety check: Pass | No licence | 5 mo ago |
| 44 | Run pytest tests with automatic virtual environment activation. Use this skill whenever running tests, executing pytest, or when asked to "run… | saleor/ | 23k | — | ~251 | Automated safety check: Pass | BSD-3-Clause | yesterday |
| 45 | Writes unit tests for shell scripts with Bats: error-condition tests, fixtures and mocks, cross-shell checks, parallel runs, helper files and CI integration. | wshobson/ | 40k | 11 repos | ~1.3k | Automated safety check: Pass | MIT | 2 days ago |
| 46 | Add or change any text a player can see, in every locale the game ships in. | openfootmanager/ | 1.1k | — | ~2.6k | Automated safety check: Pass | GPL-3.0 | today |
| 47 | Enforce Sentry React Native SDK test conventions for naming, structure, mocking, and fixtures with Jest. | getsentry/ | 1.8k | — | ~1.3k | Automated safety check: Pass | MIT | today |
| 48 | Runs Google Test binaries in parallel with gtest-parallel to speed up single-threaded tests, repeat flaky ones and filter specific tests. | webrtc-sdk/ | 446 | 1 repo | ~432 | Automated safety check: Pass | BSD-3-Clause | yesterday |
Questions, answered from the data.
What is the best unit testing skill?
Jest Testing Patterns from ChrisWiles/claude-code-showcase ranks first of the 863 unit testing skills listed here, with the highest score: its repository has 6.1k GitHub stars, 7 other GitHub owners carry a copy, its SKILL.md loads about 1.5k tokens and it passes the automated safety check with no findings. Next come Rust TDD Workflow and Test Writing Workflow.
Which unit testing skills are official?
88 of the 863 unit testing skills are official, published by the vendor's own GitHub organization: Adk Verify Snippets, New Event Source, Adk Setup, Test Guidelines, Testing iOS Code and 83 more.
How are these skills ranked?
By Skill Navigator score, which combines the GitHub stars of the skill's repository (shared across that repo's skills and discounted for large collections), how many other GitHub owners carry a copy of the skill, and automated SKILL.md quality checks, minus penalties for safety-check warnings and for each further skill from the same repository. Skills that fail the safety check are not listed.