# Writing Tests

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

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

---


# 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.

