Test code

From aturzone/Skull · View interactive version

Test code is an AI agent skill from the GitHub repository aturzone/Skull. Test at the code level — unit and integration tests, coverage of the critical paths, and test-first (TDD) discipline for new work — reusing the project's own test runner. Triggers on "add tests", "increase coverage", "unit/integration tests", "TDD", "the code has no tests", "test this function/modul

How to use this skill

Skill file

test-code — coverage where it counts

Add and run code-level tests with the project's own runner (Jest/Vitest/pytest/go test/…). Part of

the wf-tester team. This pass doesn't need the QA engine — it works in the repo, so it composes the

existing SKULL guardrails rather than reinventing them.

Reuse, don't reinvent

What to cover

  1. Detect the stack + runner — read the manifest and existing tests; use the same framework and conventions.
  2. Critical paths first — the code that would hurt most if it broke: money/auth/data-write/permission checks, core domain logic, error handling.
  3. Edge cases — boundaries, empty/null, failure injection, concurrency where it applies.
  4. Coverage as a signal, not a target — chase the untested risky lines, not a percentage. Report the gaps you deliberately left.

How

CTRF or a summary the skull-dashboard skill can read from .skull/qa/).

Output

Tracked findings for untested critical paths, a short coverage-gap note, and green new tests — never a

green suite bought by deleting assertions.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.