·testing-anti-patterns
</>

testing-anti-patterns

nickcrew/claude-ctx-plugin

Use when writing or changing tests, adding mocks, or tempted to add test-only methods to production code - prevents testing mock behavior, production pollution with test-only methods, and mocking without understanding dependencies

19Installs·1Trend·@nickcrew

Installation

$npx skills add https://github.com/nickcrew/claude-ctx-plugin --skill testing-anti-patterns

SKILL.md

Tests must verify real behavior, not mock behavior. Mocks are a means to isolate, not the thing being tested.

Core principle: Test what the code does, not what the mocks do.

your human partner's correction: "Are we testing the behavior of a mock?"

Use when writing or changing tests, adding mocks, or tempted to add test-only methods to production code - prevents testing mock behavior, production pollution with test-only methods, and mocking without understanding dependencies Source: nickcrew/claude-ctx-plugin.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/nickcrew/claude-ctx-plugin --skill testing-anti-patterns
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is testing-anti-patterns?

Use when writing or changing tests, adding mocks, or tempted to add test-only methods to production code - prevents testing mock behavior, production pollution with test-only methods, and mocking without understanding dependencies Source: nickcrew/claude-ctx-plugin.

How do I install testing-anti-patterns?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/nickcrew/claude-ctx-plugin --skill testing-anti-patterns Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/nickcrew/claude-ctx-plugin