| name | ci-test-optimization |
| description | Optimize automated test execution for feedback speed and signal quality using sharding, caching, selective execution, quarantine discipline, and artifact retention. |
Ci Test Optimization
Use when this procedure is the primary professional method needed for the assignment.
Procedure
- Confirm the decision or outcome this work must support, its scope, owner, constraints, and definition of success.
- Establish the evidence baseline using suite timings, failure frequency, dependency graph, CI capacity, cache behavior, and release gates. Do not fill material gaps with assumptions when they can change the result.
- Measure suite cost, identify critical-path tests and setup duplication, parallelize safely, preserve required coverage, and monitor signal degradation.
- Exercise realistic edge, failure, transition, or exception cases that could invalidate the result; record unresolved uncertainty explicitly.
- Validate the output against the original outcome and any neighboring professional contracts so this skill does not silently absorb another specialist's authority.
- Record the resulting artifact, measurements, decisions, provenance, and handoff information needed for another owner to reproduce or continue the work.
Quality gate
Feedback time improves measurably without dropping material risk coverage or hiding flaky failures.