write-tests

Installation
SKILL.md

Write Tests

Use this skill to author independent, property-verified, contract-driven, and fault-resilient test suites that provide regression protection across microservices and clean architecture backends.

When to Use

  • new business logic, service endpoint, or data transformation requires regression coverage
  • practicing Anti-Tautological TDD with independent test authoring and verified Red phase before coding
  • verifying structural and mathematical invariants via Property-Based Testing (PBT) with automated shrinking
  • establishing Consumer-Driven Contract Testing (CDCT) across HTTP, gRPC, or messaging boundaries
  • enforcing Protobuf wire compatibility gates (buf breaking) or OpenAPI 3.1 diff validation
  • injecting in-test network chaos (latency, jitter, resets) to verify circuit breakers and retries
  • testing Go 1.27+ Kratos Clean Architecture services with Testcontainers and transactional rollbacks
  • enforcing mutation test kill score thresholds (≥75–80%) on critical packages
  • verifying concurrent thread safety, data race freedom (-race), and goroutine leak absence
  • validating consumer-provider compatibility matrices using Pact Broker can-i-deploy prior to release
  • generating pairwise combinatorial test matrices to prevent test explosion across multi-parameter services
  • authoring deterministic failing reproduction tests during 4-phase systematic root cause analysis
Installs
3
GitHub Stars
5
First Seen
Oct 26, 2026