LogoClawIndex
CasesSkillsAbout
LogoClawIndex

detest - Explore bounded concurrent interleavings in Go

Runs Go application code inside go test while simulating databases, queues, external calls, and mutexes to explore bounded interleavings and check invariants.

Tags

Updated: 2026-11-30

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Inspect Go project compatibility
  • Select target operations
  • Define scenarios and invariants
  • Add the detest dependency
  • Write simulation tests
  • Run bounded interleaving explorations
  • Replay failing schedules
  • Report guarantees and findings

Inputs

  • Go application source
  • Go module and version
  • Database schema and migrations
  • Database server and isolation level
  • Database collation and ctype
  • Candidate SQL statements
  • Driver error types
  • Target operation
  • Test scenario and invariant
  • User approval

Outputs

  • Simulation test file
  • Dependency configuration change
  • Test run results
  • Replayable failing schedule
  • Invariant violation report
  • Guarantee and findings report

Requirements

  • Go 1.26 or later
  • PostgreSQL or MySQL database
  • database/sql-compatible database access
  • Supported database isolation level
  • Detest-compatible SQL statements
  • Production-compatible schema constraints
  • Permission to modify project dependencies
  • User decision to use In-Process DST

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
Go
In-Process DST
Concurrency testing
Deterministic scheduling
PostgreSQL
MySQL
database/sql
Inspect Go project compatibility
Select target operations
Define scenarios and invariants
Add the detest dependency
Go application source
Go module and version
Database schema and migrations
Simulation test file
Dependency configuration change
Test run results