What problem does it solve? Writing consistent, well-structured tests in the clawker Go codebase requires knowing which fakes, mocks, and test seams exist for each package. This Skill provides the complete testing patterns so agents and developers write tests that match project conventions instead of inventing ad-hoc mocks. ## Core Features & Use Cases - DAG-driven test infrastructure: Explains which packages provide fakes and mocks (docker/mocks, config/mocks, gittest, whailtest) and when to add missing test infrastructure for a DAG node. - Command test tiers: Documents the three-tier pattern for CLI commands — Tier 1 flag parsing via the runF trapdoor, Tier 2 full-pipeline tests via the Cobra+Factory pattern, and Tier 3 direct unit tests. - E2E and golden file testing: Covers the test/e2e harness for running real containers, isolated XDG environments via testenv, and golden file regeneration with GOLDEN_UPDATE=1. - Use Case: When adding a new CLI command, use this Skill to write a Tier 1 flag-parsing test with the runF seam and a Tier 2 integration test injecting a FakeClient through the Factory. ## Quick Start Use the writing-tests skill to add Tier 1 and Tier 2 tests for the new stop command using the Factory and FakeClient patterns.