Skip to content

#testing

8 skills
Refactor Without Behavior ChangePin current behavior with characterization tests, then restructure in small always-green steps so the diff provably changes no behavior.Claude Code · CodingCopilot Instructions for Java Enterprise ServicesJava service conventions for Copilot: immutable-by-default classes, Optional only as a return type, JUnit 5 with AssertJ, and exceptions that carry context instead of being swallowed.GitHub Copilot · CodingAider Conventions for Small, Test-Backed DiffsA CONVENTIONS.md for Aider that enforces minimal diffs, a failing test before every fix, and a hard rule against touching files outside the stated task.Aider · CodingTDD Red-Green-Refactor LoopEnforces a strict test-first cycle where every line of production code exists only to make a failing test pass.Claude Code · CodingVitest Test Authoring RulesTest-writing rules enforcing arrange-act-assert structure, behavior-based naming, strict mock boundaries, and minimal snapshots.Cursor · CodingCopilot Instructions for .NET / C# ProjectsC# conventions for Copilot: nullable reference types treated as errors, Async suffix on every awaitable method, CancellationToken plumbing, and xUnit patterns that scale.GitHub Copilot · CodingSystematic Debugging LoopA four-phase debugging discipline — reproduce, isolate, hypothesize, verify — that forbids writing a fix before the root cause is proven.Claude Code · CodingGo Service Project InstructionsCLAUDE.md for a Go backend service: package layout, error wrapping with %w, table-driven tests, and context propagation rules an agent must follow on every handler.Claude Code · Coding