# Writing Tests

> Compatibility pointer to the canonical opencode-swarm writing-tests skill.

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

---


# Writing Tests

This path is retained only for older references. Use the canonical skill at:

```text
.opencode/skills/writing-tests/SKILL.md
```

The canonical skill contains the current `bun:test` rules, `test_runner` broad-scope restriction, mock-isolation guidance, CI pipeline structure, and cross-platform test commands.

