Agent Skills: testable-architecture
Decide how to separate logic from a database, queue, cache, HTTP API, clock, file system or random source for tests, fuzzing, coverage and model checking, and what a fake of that infrastructure must model to stay honest. Covers ports and adapters, functional core, imperative shell, sans-I/O (bytes in, events out, no I/O), Nullables (an off switch for infrastructure in production code; only with the user's approval) and effect systems; the order of doubles; contract tests for the fake and the real adapter; fault injection; deterministic simulation; seams in legacy code. Use before testing, fuzzing or modelling code that touches infrastructure. Triggers: test double, fake, mock, Testcontainers, port, hexagonal, inject the clock, contract test, verified fake, deterministic simulation, seam, legacy code. Not for closing one coverage gap: use `coverage-closure`. Not for what makes a test trustworthy: use `testing`. Not for a design model (TLA+, Alloy, P, SMT) or its environment model: use `formal-verification`.
Install this agent skill to your local
Skill Files
The files that make up testable-architecture.
More agent skills
- ce-riffrec-feedback-analysisAnalyze recorded product feedback into evidence for bugs and requirements. Use when a Riffrec capture or other screen, voice, or notes artifact needs interpretation. Use for Riffrec setup, capture, or sharing help when no recording exists yet.
- axiom-audit-icloudUse when the user mentions iCloud sync issues, CloudKit errors, ubiquitous container problems, or asks to audit cloud sync.
- incident-response-smart-fix[Extended thinking: This workflow implements a sophisticated debugging and resolution pipeline that leverages AI-assisted debugging tools and observability platforms to systematically diagnose and res
- bot-handoffKeep a durable record of work passed between Bots in the shared Hindsight memory bank. Use when handing work to another Bot, when picking up work another Bot started, and when a finding would help other Bots, including Bots that are not part of the current conversation.
- swift-concurrency-expertSwift concurrency review/fix: compiler errors, Sendable, isolation, remediation.
- downtrend-duration-analyzerAnalyze historical downtrend durations and generate interactive HTML histograms showing typical correction lengths by sector and market cap.