Test Guidelines
getsentry/sentry-react-native
Enforce Sentry React Native SDK test conventions for naming, structure, mocking, and fixtures with Jest.
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.
$ npx skills add ChrisWiles/claude-code-showcase --skill testing-patterns -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ChrisWiles/claude-code-showcase testing-patterns --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ChrisWiles/claude-code-showcase.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/testing-patterns .claude/skills/testing-patterns && rm -rf skills-srcUse ~/.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/
Install the "testing-patterns" agent skill from https://github.com/ChrisWiles/claude-code-showcase/tree/main/.claude/skills/testing-patterns into .claude/skills/testing-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-patterns", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ChrisWiles/claude-code-showcase/tree/main/.claude/skills/testing-patternsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ChrisWiles/claude-code-showcase --skill testing-patterns -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ChrisWiles/claude-code-showcase testing-patterns --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ChrisWiles/claude-code-showcase.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/testing-patterns .agents/skills/testing-patterns && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "testing-patterns" agent skill from https://github.com/ChrisWiles/claude-code-showcase/tree/main/.claude/skills/testing-patterns into .agents/skills/testing-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-patterns", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ChrisWiles/claude-code-showcase --skill testing-patterns -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ChrisWiles/claude-code-showcase testing-patterns --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ChrisWiles/claude-code-showcase.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/testing-patterns .cursor/skills/testing-patterns && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "testing-patterns" agent skill from https://github.com/ChrisWiles/claude-code-showcase/tree/main/.claude/skills/testing-patterns into .cursor/skills/testing-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-patterns", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ChrisWiles/claude-code-showcase.git --path .claude/skills/testing-patterns--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ChrisWiles/claude-code-showcase --skill testing-patterns -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ChrisWiles/claude-code-showcase testing-patterns --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ChrisWiles/claude-code-showcase.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/testing-patterns .gemini/skills/testing-patterns && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "testing-patterns" agent skill from https://github.com/ChrisWiles/claude-code-showcase/tree/main/.claude/skills/testing-patterns into .gemini/skills/testing-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-patterns", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ChrisWiles/claude-code-showcase testing-patternsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ChrisWiles/claude-code-showcase --skill testing-patterns -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ChrisWiles/claude-code-showcase.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/testing-patterns .github/skills/testing-patterns && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "testing-patterns" agent skill from https://github.com/ChrisWiles/claude-code-showcase/tree/main/.claude/skills/testing-patterns into .github/skills/testing-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-patterns", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ChrisWiles/claude-code-showcase --skill testing-patterns -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ChrisWiles/claude-code-showcase testing-patterns --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ChrisWiles/claude-code-showcase.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/testing-patterns .opencode/skills/testing-patterns && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "testing-patterns" agent skill from https://github.com/ChrisWiles/claude-code-showcase/tree/main/.claude/skills/testing-patterns into .opencode/skills/testing-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-patterns", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
testing-patternsJest patterns for React Native style tests: TDD discipline, mock factory functions, module and GraphQL hook mocking, custom render helpers and anti-patterns to avoid.
Test-driven development is the baseline: write the failing test first, implement the minimum, refactor once green, and never write production code without a failing test. A behavior-driven stance goes with it, testing public behavior and business requirements rather than implementation details, with descriptive test names.
The practical sections cover a custom render function that wraps components in the required providers, factory functions with sensible defaults and overridable properties for component props and data objects, and mocking of whole modules and GraphQL query hooks with jest.mock. Examples also show a standard describe and beforeEach structure with jest.clearAllMocks, query patterns, and form interactions using fireEvent.
Anti-patterns are called out explicitly, such as asserting on a mock instead of real behavior and repeating hand-written test data instead of using a factory.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit a95518f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Jest Testing Patterns loads about 1.5k tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 183 words of instructions outside code blocks.
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.
The automated check found no risky patterns in SKILL.md.
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); files beside SKILL.md are not scanned.
Without a licence we can't republish the file, so here is its outline and opening line. It has 183 words (~1,463 tokens).
Just SKILL.md in .claude/skills/testing-patterns of ChrisWiles/claude-code-showcase.
Open the folder on GitHubat commit a95518f
We found 23 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 7 other GitHub owners. This page covers the copy in ChrisWiles/claude-code-showcase, which our catalogue first saw on October 7, 2026.
Jest Testing Patterns 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Jest Testing Patterns this skillChrisWiles/claude-code-showcase | 6.1k | 7 repos | ~1.5k | Automated safety check: Pass | None | |
| Test Guidelinesgetsentry/sentry-react-native | 1.8k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Testingredis/RedisInsight | 8.9k | — | ~3.3k | Automated safety check: Pass | Custom licence | |
| React Native Testingcallstackincubator/agent-skills | 1.7k | — | ~1.8k | Automated safety check: Pass | MIT | |
| React Native TestingHoangNguyen0403/agent-skills-standard | 570 | — | ~647 | Automated safety check: Pass | MIT | |
| RTK Filter TDD in Rustrtk-ai/rtk | 83k | — | ~1.9k | Automated safety check: Notes | Apache-2.0 |
getsentry/sentry-react-native
Enforce Sentry React Native SDK test conventions for naming, structure, mocking, and fixtures with Jest.
redis/RedisInsight
Unit/integration testing standards for RedisInsight using Jest and Testing Library: test structure, the renderComponent helper, faker for test data, mocking patterns, and waitFor instead of fixed…
callstackincubator/agent-skills
Write tests using React Native Testing Library (RNTL) v13 and v14 (@testing-library/react-native).
HoangNguyen0403/agent-skills-standard
Test React Native components with Jest and React Native Testing Library.
rtk-ai/rtk
Enforces red-green-refactor for new RTK output filters in Rust, using real captured fixtures, snapshot tests with insta and token-savings assertions.
grafana/synthetic-monitoring-app
Write Jest integration and unit tests for the Grafana Synthetic Monitoring app using React Testing Library, MSW, and src/test helpers.
ChrisWiles/claude-code-showcase
Reference for building UI with a token-based core component library: spacing, color and typography tokens, Box, stacks, Text, Button, Input and Card, plus layout patterns.
ChrisWiles/claude-code-showcase
Sets patterns for React interfaces: when to show loading spinners or skeletons, how to surface errors, how to disable buttons during async work and how to handle empty lists.
ChrisWiles/claude-code-showcase
Shows how to build forms with Formik and Yup validation, including conditional rules, field helpers, GraphQL submission, edit forms and multi-step flows.
ChrisWiles/claude-code-showcase
Sets the rules for writing GraphQL queries and mutations in .gql files, running codegen, and using generated Apollo hooks with proper error and loading handling.
ChrisWiles/claude-code-showcase
Applies a four-phase debugging routine that finds the root cause of a bug or failing test before any fix is written.
Works with
Categories
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. Test-driven development is the baseline: write the failing test first, implement the minimum, refactor once green, and never write production code without a failing test. A behavior-driven stance goes with it, testing public behavior and business requirements rather than implementation details, with descriptive test names.
Jest Testing Patterns fits situations like: writing unit tests for a React Native component; creating test data factories with overridable defaults; mocking modules or GraphQL hooks in Jest; following a red-green-refactor cycle on a new feature.
Run `npx skills add ChrisWiles/claude-code-showcase --skill testing-patterns -a claude-code`. Or copy the skill folder (.claude/skills/testing-patterns in ChrisWiles/claude-code-showcase) into .claude/skills/testing-patterns in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ChrisWiles/claude-code-showcase --skill testing-patterns -a codex`. Or copy the skill folder (.claude/skills/testing-patterns in ChrisWiles/claude-code-showcase) into .agents/skills/testing-patterns in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ChrisWiles/claude-code-showcase --skill testing-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/testing-patterns, .gemini/skills/testing-patterns, .github/skills/testing-patterns and .opencode/skills/testing-patterns in your project.
Going by SKILL.md and its folder, Jest Testing Patterns needs the command-line tools its instructions call (npm). Our summary lists: Jest and the React Native Testing Library.
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
No licence was found for Jest Testing Patterns or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Jest Testing Patterns: Test Guidelines (getsentry/sentry-react-native, 1.8k stars), Testing (redis/RedisInsight, 8.9k stars), React Native Testing (callstackincubator/agent-skills, 1.7k stars) and React Native Testing (HoangNguyen0403/agent-skills-standard, 570 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ChrisWiles (a GitHub user) maintains it in ChrisWiles/claude-code-showcase, which has 6,072 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on January 6, 2026.
Source: ChrisWiles/claude-code-showcase on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.