---
name: write-tests
description: Use when adding or improving tests for existing code.
x-router:
  profile: balanced
  outputMode: full-file
  allowScripts: false
category: dev
---

# Write Tests

Create focused tests for the selected files.

Prefer clear assertions and small test cases.
Do not rewrite production code unless requested.
