Skip to content
rd-skills
All skills

unit-testing

FoundationJIT only

analysis-agent/task-agent/review-agent: use when logic, rules, invariants, branches, edges, or failure paths need isolated tests; skip without a unit-test decision.

Group
Quality & testing
Supported roles
MainAnalysisTaskReview
Source
SKILL.md

Use when

Trigger signals that make this skill the right owner

  • test pure logic edge cases invariants branches and failure paths

Do not use when

Anti-triggers — as binding as the triggers above

  • no task-local unit testing decision is required

Required inputs

What must be supplied before this skill can decide anything

  • current task contract
  • selected primary Professional Skill
  • task-local trigger evidence

Output contract

What this skill owes the next role

  • unit behavior proof with changed local behavior or invariant, observable and denied outcomes, deterministic seams, double-fidelity limits, proportionate assertion challenge, cleanup evidence, and explicit proof boundary

Escalation signals

When this skill must hand the decision back

  • Weak unit tests miss localized defects and make refactoring unsafe

Loaded by

This skill never owns a task. These professionals may pull it in as Layer 3.

Targeted references

Each reference carries its own load condition. None of them enter context by default.

ReferenceLoad whenDo not load whenRequired by
benchmarks-and-patterns.mdbenchmark-patternBehavior seam double assertion-challenge cleanup or selected regression patterns remain undecided.Root rules determine one narrow behavior proof and owned cleanup path.AnalysisTaskReview
checklist.mddecision-checklistSeveral failure negative-proof nondeterminism cleanup or proof-limit decisions must close together.One changed local rule has a locked mechanism denied outcome cleanup and explicit proof limit.AnalysisTaskReview
evidence-patterns.mdevidence-patternBehavior or selected regression denied-outcome seam double fidelity assertion cleanup or unit-scope claims need fresh proof.Fresh behavior seam assertion cleanup command and proof-limit evidence close the applicable claims.AnalysisTaskReview