# Test Isolation Patterns

> Document pytest pollution patterns observed in this repo where tests pass in isolation but fail in combined sessions due to shared global state. Recommend autouse fixture scoping or explicit teardown patterns to make tests reliable in any combination. Adapter pointing to the canonical repo skill; refer to that for the full protocol.

- Skill: `zaxbyhub/test-isolation-patterns-2` (Agent Skill)
- Install (CLI): `npx get-skill add zaxbyhub/test-isolation-patterns-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zaxbyhub/test-isolation-patterns-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: zaxbyhub (https://skillmd.com/u/zaxbyhub)
- Updated: 2026-11-11
- Page: https://skillmd.com/skills/zaxbyhub/test-isolation-patterns-2

---


# test isolation patterns (Claude Code adapter)

This is a thin pointer to the canonical skill at
`.agents/skills/test-isolation-patterns/SKILL.md`. Claude Code runners should load the canonical SKILL.md
there for the full protocol; this adapter exists only so Claude Code's
`.claude/skills/` discovery finds the skill.

Canonical tree for repo-specific skills: `.agents/skills/` (see
`docs/engineering/skill-conventions.md`).

