write-tests
100 / 100 · Low risk
Fine to try.
Write tests that pin real behavior instead of implementation details, config values, or lucky samples. Use when adding tests for new behavior, writing a regression test, fixing a brittle or flaky test, reviewing a test diff, or when a test breaks after a refactor or config change that didn't change behavior.
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'write-tests' ] || [ -L ~/.agents/skills/'write-tests' ]; then echo 'A skill folder named write-tests already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/dzhng/skills' "$d" && git -C "$d" checkout --quiet '828e386301530b406b2fbd6d48136eae75720262' -- 'skills/engineering/write-tests' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/engineering/write-tests' ~/.agents/skills/'write-tests' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'write-tests' ~/.claude/skills/'write-tests' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/dzhng/skills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-10 | 828e386 | 100 |
| 2026-11-08 | a4076b7 | 100 |
| 2026-11-07 | a4076b7 | 100 |