Testing Best Practices
Test layering, execution, and CI guidance across unit, integration, and e2e. Use when designing tests, writing test cases, or planning test strategy for a module.
Install
npx skills add NeverSight/learn-skills.dev --skill testing-best-practicesgit clone --depth 1 https://github.com/NeverSight/learn-skills.dev.git /tmp/learn-skills.dev
mkdir -p ~/.claude/skills
cp -r /tmp/learn-skills.dev/data/skills-md/0xbigboss/claude-code/testing-best-practices ~/.claude/skills/testing-best-practicesPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
## When to activate Engage when: - Working with spec files (`*.spec.md`, `SPEC.md`, `spec/*.md`) - Designing test cases or test strategy for a module - Writing or reviewing unit, integration, or e2e tests - After `/specout` completes - Planning CI test lanes ## Mutation policy - Default: analyze code and produce test strategy, matrix, and implementation plan. - Do not edit spec files unless the user explicitly requests spec maintenance. - When this skill conflicts with system/project rules, follow system/project rules. ## Test layering policy ### Unit tests Purpose: verify individual functions and invariants in isolation. - **Data-driven**: parameterized tables covering happy path, boundary, error, and edge cases. - **Property-based**: fuzz invariants that must hold across all inputs (e.g., idempotency, sort stability, roundtrip serialization). - Derive cases from the module's public API surface: input types/constraints, output shape, error modes, invariants. - Cover categories per function: happy path, boundary values, error cases, edge cases, invariants. ### Integration / contract tests Purpose: verify interactions between components and external services. - **API envelope**: request/response shape, status codes, content types, pagination. - **Error contract**: error codes, error shapes, rate limiting, retries. - **Auth and scoping**: token validation, role-based access, tenant isolation.
Details
- Skill name
testing-best-practices- Repository
- NeverSight/learn-skills.dev
- Path
data/skills-md/0xbigboss/claude-code/testing-best-practices/SKILL.md- Repo updated
- 18 November 2026
FAQ
What does the Testing Best Practices skill do?
Test layering, execution, and CI guidance across unit, integration, and e2e. Use when designing tests, writing test cases, or planning test strategy for a module.
How do I install the Testing Best Practices skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add NeverSight/learn-skills.dev --skill testing-best-practices. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Testing Best Practices popular?
It lives in NeverSight/learn-skills.dev, which has 223 GitHub stars and 42 forks.
Related skills
Council
223NeverSight/learn-skills.dev
Convene the Council of High Intelligence — multi-persona deliberation with historical thinkers for deeper analysis of complex problems.
Megaeth Developer
223NeverSight/learn-skills.dev
End-to-end MegaETH development playbook (Feb 2026). Covers wallet operations, token swaps (Kyber Network), eth_sendRawTransactionSync (EIP-7966) for instant receipts, JSON-RPC batching, real-time mini-block subscriptions, storage-aware contract patterns (Solady RedBlackTreeLib), MegaEVM gas model, WebSocket keepalive, bridging from Ethereum, and debugging with mega-evme. Use when building on MegaETH, managing wallets, sending transactions, or deploying contracts.
Openclaw Stock Skill
223NeverSight/learn-skills.dev
使用 data.diemeng.chat 提供的接口查询股票日线、分钟线、财务指标等数据,支持 A 股等市场。
Testing Ops
223NeverSight/learn-skills.dev
Cross-language testing strategies and patterns. Triggers on: test pyramid, unit test, integration test, e2e test, TDD, BDD, test coverage, mocking strategy, test doubles, test isolation.
Testgen
223NeverSight/learn-skills.dev
Generate tests with expert routing, framework detection, and auto-TaskCreate. Triggers on: generate tests, write tests, testgen, create test file, add test coverage.
Testing Patterns
223NeverSight/learn-skills.dev
Cross-language testing strategies and patterns. Triggers on: test pyramid, unit test, integration test, e2e test, TDD, BDD, test coverage, mocking strategy, test doubles, test isolation.
Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.