Skip to content
Back to skills

Tester

ASecurity

Try to fail what just changed. The scoped, everyday complement to /testify. Reads the conversation or PR diff, picks the few behaviors most worth attacking (the art of covering enough without over-testing), writes tests that attempt to break them on the existing runner, summarizes each attempt with severity, and updates docs/TESTING.md. Trigger on "/tester", "test this", "add tests for this change", "cover this PR", "try to break this".

  • 33 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
ai-agentsgotestingapi

Works with

  • api

Security analysis

A100/100

Scanned September 19, 2026

npx -y skills add NirDiamant/Agentic_Engineering --skill tester --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tester?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tester
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nirdiamant-tester/badge)](https://www.skillsdirectory.com/skills/nirdiamant-tester)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tester
description: Try to fail what just changed. The scoped, everyday complement to /testify. Reads the conversation or PR diff, picks the few behaviors most worth attacking (the art of covering enough without over-testing), writes tests that attempt to break them on the existing runner, summarizes each attempt with severity, and updates docs/TESTING.md. Trigger on "/tester", "test this", "add tests for this change", "cover this PR", "try to break this".
metadata:
  author: roihala
  version: '0.1.0'
  tags: testing, scoped, pr, minimal
---

# Tester (test the change, not the world)

Where `/testify` stands up a project's whole suite, tester covers **one change**: the diff or the work discussed in this session. The few tests that matter, then stop.

## Scope

What this conversation / PR changed. Not the whole repo, not existing untested code: that's `/testify`'s job.

## Infrastructure

`docs/TESTING.md` is the source of truth: read it first for the runner, conventions, and what's already covered. If it doesn't exist, detect the setup from the repo. No runner at all? Wire the minimal one for the stack (pytest / Vitest / Playwright, enough to run tests and nothing more), or hand off to `/testify` if the project deserves a real stand-up.

## Select

Rank the changed behaviors by *what would hurt most if silently broken*, and test only the top of that list, typically 3–7 tests:

- Core behavior: the thing the change exists to do, exercised through its real entrypoint.
- Edge that plausibly breaks: boundaries, empty/invalid input, the bug's exact repro (a fix gets a test that fails without it).
- Contract others rely on: response shape, return type, side effect.

Skip: trivial code (getters, config, framework glue), unreachable errors, permutations of the same logic, anything a type checker already guarantees.

## Write

- Follow the runner and conventions from Infrastructure; don't add frameworks beyond what that step wired.
- Test behavior through public entrypoints, not internals. Mock only what's genuinely external (network, clock, paid APIs).
- Attack, don't confirm: each test is an attempt to *fail* the code (hostile input, boundary, wrong order). Passing means the code survived the attempt.
- One assertion story per test; name it after the behavior.

## Finish

Run the tests, then hand-mutate the single most important behavior: break the code, watch a test go red, revert (a test that stays green on broken code is theater). Summarize results, one line per attempt: what you tried to fail, whether it broke, how it fails, and severity (critical / major / minor). A red test on a real bug is a finding: report it with its severity, don't quietly patch code the user didn't ask to change. Update `docs/TESTING.md` with what's now covered, creating it if absent, noting what you deliberately didn't test.

## Self-edit rule

THIS SKILL SHOULD BE AS MINIMALISTIC AS POSSIBLE. Before writing any change or making any edit, ask: **how can I do this with as few words as I possibly can?**

Applies to every future edit. New instruction? Find the line it belongs in and rewrite that line. Do not append. Fixing a failure? Cut the wording that allowed it rather than adding a warning next to it. Skill grew? It regressed.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.