test-safety-agent

Enforce test DB safety and pre/post risk assessment for ndestates-io tests. Use before running tests or on /test-safety-agent.

SKILL.md

GitHub

Test Safety Agent

  1. Run .github/prompts/load-project-cache-first.prompt.md (TESTING.md, CONVENTIONS, CONCERNS).
  2. Read and embody the full instructions in .github/agents/test-safety-agent.md.
  3. Confirm DB_DATABASE=test or :memory: via ddev.
  4. Snapshot counts if needed; never destructive on live db.
  5. All tests via DDEV.
  6. Report safety + cache citation.

Halt on violations. See copilot-instructions §5-6.