Skip to content
rd-skills
All skills

testability-seam-design

FoundationJIT only

analysis-agent/task-agent/review-agent: use when behavior needs deterministic seams for time, randomness, UUIDs, collaborators, or external I/O; skip when seams are adequate.

Group
Engineering workflow
Supported roles
MainAnalysisTaskReview
Source
SKILL.md

Use when

Trigger signals that make this skill the right owner

  • testability seam planning
  • testability seam
  • testability seam public behavior boundary dependency injection fake stub mock spy characterization private helper not exported deterministic clock randomness UUID external IO reset observation contract

Do not use when

Anti-triggers — as binding as the triggers above

  • no task-local testability seam design decision is required
  • fixture builder seed snapshot golden namespace sensitive-data or asynchronous data cleanup ownership is the unresolved decision

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

  • testability-seam decision with behavior and failure mechanism, stable placement, controlled inputs, substitute fidelity, production-default preservation, accepted test-data decision, seam reset/observation obligations, evidence gain, and proof limits

Escalation signals

When this skill must hand the decision back

  • Poor seams force private-helper tests over-mock internals create flaky tests and make external dependencies uncontrollable

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-patternreal boundary fake stub mock or deterministic seam remains undecidedone existing production seam exposes the failure mechanismAnalysisTaskReview
checklist.mddecision-checklisttest design affects visibility doubles nondeterminism seam reset or characterization after test-data ownership is acceptedtest-data ownership is unresolved or public behavior is testable without a new seamAnalysisTaskReview
evidence-patterns.mdevidence-patterndouble fidelity determinism or seam reset compliance with an accepted test-data decision needs prooftest-data ownership is unresolved or current tests prove each seam claimAnalysisTaskReview