auditing-compose-test-suite
Installation
SKILL.md
Auditing a Compose Test Suite — Six-Phase Review, Then Route
This is an index-style skill. It orchestrates the rest of compose-test-skills/ into a fixed-order audit pass over an existing test file or test suite. Each phase produces findings; each finding points at the sibling skill that owns the fix. The audit itself never mutates code — that is the job of the routed skills.
When to use this skill
- The user pastes a
*Test.kt(or several) and asks "what's wrong with this", "review this", "audit this". - The user reports systemic flakes, slow CI, or "the test passes locally but fails on CI".
- The user is preparing a Compose feature for release and wants the test suite vetted.
- The user is migrating from v1 (
UnconfinedTestDispatcher) to v2 (StandardTestDispatcher) and wants a checklist of likely-broken tests. - The user inherited a test file from another team and is unsure what is correct vs accidentally working.
When NOT to use this skill
- The user has a specific failing assertion and wants it fixed — jump directly to the relevant sibling (most often
../../debug/printing-the-semantics-tree/SKILL.mdfor missed matchers, or../../synchronization/testing-animations-deterministically/SKILL.mdfor animation flakes). - The user is starting a brand-new test from scratch — start with
../../setup/configuring-test-dependencies/SKILL.md, then../../setup/choosing-test-rule-vs-runtest/SKILL.md, then../../setup/setting-up-host-vs-device-tests/SKILL.md. - The user wants performance review of production composables — that is
compose-performance-skills, not this repo.