🧪
QualityTypeScript

Testing Anti-Patterns

by rohitg00

Testing Anti-Patterns is a Quality skill for Claude Code, published by rohitg00 in skillkit.

1.5K stars137 forkson rohitg00/skillkitAdded 2026/08/19+1% in starsRepository updated 2026/06/02
agent-skillsagentskillsaiclicodexcursorgeminiopencodeskills
Install in seconds
Install Testing Anti-Patterns
Copy Testing Anti-Patterns into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/rohitg00/skillkit/tree/main/packages/core/src/methodology/packs/testing/anti-patterns ~/.claude/skills/anti-patterns

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/rohitg00/skillkit.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
packages/core/src/methodology/packs/testing/anti-patterns/SKILL.md in rohitg00/skillkit
Installs to
~/.claude/skills/anti-patterns
Collection
One of 17 skills cataloged from this repository
Category
Quality1354 skills

What Testing Anti-Patterns does

Testing Anti-Patterns reviews test code to identify and fix common testing anti-patterns including flaky tests, over-mocking, brittle assertions, test interdependency, and hidden test logic. Use it when reviewing test code, debugging unreliable tests, or addressing test smells.

Testing Anti-Patterns is cataloged under Quality on DirSkills. Testing Anti-Patterns comes from a repository tagged agent-skills, agentskills, ai, cli and codex.

Documentation

README

Testing Anti-Patterns

You are identifying and avoiding common testing anti-patterns.

Review Workflow

Follow these steps when reviewing test code:

  1. Run tests in isolation — Verify each test passes independently (no shared state, no ordering dependency).
  2. Check for patterns below — Scan for each anti-pattern in the checklist; flag every match with the specific defect.
  3. Apply refactoring strategy — Use the refactoring strategies section to select and apply the appropriate fix.
  4. Verify the test still fails when code breaks — After fixing, confirm the corrected test catches real regressions (remove or stub the implementation to confirm a failure occurs).

Critical Anti-Patterns

1. The Liar - Tests That Always Pass

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Testing Anti-Patterns

  • What else does rohitg00 publish alongside Testing Anti-Patterns?

    Testing Anti-Patterns is one of 17 skills that DirSkills catalogs from rohitg00/skillkit, the repository it ships in. Its siblings there include Design First, Eval Injection Test and Find Skills. Each one is a separate skill with its own page in this directory, installs the same way Testing Anti-Patterns does, and is maintained by rohitg00 in that same repository. The rest of the collection is listed on the rohitg00/skillkit page.

  • How does Testing Anti-Patterns compare to other Quality skills?

    Testing Anti-Patterns ranks #668 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Testing Anti-Patterns against them. Open each page to compare what they document and how they install.

More from rohitg00/skillkit

Testing Anti-Patterns is one of 17 skills cataloged on DirSkills from rohitg00/skillkit.

See all 17 skills
📐
2w ago

Design First

Design First guides creation of technical design documents before coding, producing architecture diagrams, data models, API definitions, implementation plans, and trade-off analyses. Use when planning a feature, architecting a system, or designing an API.
Quality
1.5K137
🧪
2w ago

Eval Injection Test

Eval Injection Test contains eval patterns and hidden instructions for testing whether an agent will execute injected code. Use it in a controlled environment to evaluate skill security.
Quality
1.5K137
🔍
2w ago

Find Skills

Find Skills discovers, searches, and installs skills from multiple AI agent skill marketplaces using the SkillKit CLI. Use it when the user wants to find, browse, or install new agent skills, plugins, extensions, or add-ons for areas like React, testing, DevOps, security, or APIs.
AI Engineering
1.5K137
🤝
2w ago

General Assistant

General Assistant helps agents perform helpful tasks and assist users across various requests. Use it as a general-purpose skill when no specific skill matches the task.
AI Engineering
1.5K137
📋
2w ago

Handoff Protocols

Handoff Protocols creates structured handoff documents that summarize project status, key decisions, blockers, open questions, and next steps for planned or unplanned work transitions between people or agents.
Writing
1.5K137
🧪
2w ago

Hypothesis-Driven Debugging

Hypothesis-Driven Debugging applies the scientific method to debugging by helping users form specific, testable hypotheses, design targeted experiments, and systematically confirm or reject theories to find root causes when debugging errors or troubleshooting bugs.
Quality
1.5K137