# Writing Tests

> Claude Code adapter for opencode-swarm test authoring rules. Use before creating or modifying tests in this repository.

- Skill: `zaxbysauce/writing-tests-3` (Agent Skill)
- Install (CLI): `npx skillmds@latest add zaxbysauce/writing-tests-3`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zaxbysauce/writing-tests-3/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: zaxbysauce (https://skillmd.com/u/zaxbysauce)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/zaxbysauce/writing-tests-3

---


# Writing Tests

Read and follow `../../../.opencode/skills/writing-tests/SKILL.md` as the canonical workflow.

## Claude Code Execution Notes

- Use the `.opencode` file as the source of truth for `bun:test`, mock
  isolation, temp path, per-file isolation, and regression-test falsifiability
  rules.
- When a repository-specific Claude workflow references this skill, load this
  adapter first, then apply the canonical `.opencode` guidance.

