Back to skills
SkillHub ClubShip Full StackTesting

testing-anti-patterns

A guide that identifies and prevents common testing anti-patterns like testing mock behavior, adding test-only methods to production code, and improper mocking. Provides concrete examples, fixes, and gate functions to enforce better testing practices.

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
110
Hot score
94
Updated
March 20, 2026
Overall rating
A8.5
Composite score
5.8
Best-practice grade
A88.4

Install command

npx @skill-hub/cli install sammcj-agentic-coding-testing-anti-patterns
testing-anti-patternstddmockingunit-testingcode-quality

Repository

sammcj/agentic-coding

Skill path: Claude/skills/testing-anti-patterns

A guide that identifies and prevents common testing anti-patterns like testing mock behavior, adding test-only methods to production code, and improper mocking. Provides concrete examples, fixes, and gate functions to enforce better testing practices.

Open repository

Best for

Primary workflow: Ship Full Stack.

Technical facets: Testing.

Target audience: Testing teams looking for install-ready agent workflows..

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: sammcj.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install testing-anti-patterns into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/sammcj/agentic-coding before adding testing-anti-patterns to shared team environments
  • Use testing-anti-patterns for testing workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

testing-anti-patterns | SkillHub