reproducing-ci-locally
Installation
SKILL.md
Reproducing CI Locally
A local check is only useful if it runs the same thing the runner runs. Most "green locally, red in CI" failures are not bugs in the code — they are a difference between two commands: different paths, different test markers, different env, a different linter version, or a different interpreter.
The fix is mechanical: derive the local command from the workflow file, not from the Makefile, not from habit, not from what the last repo used.
Read the workflow before you run anything
The workflow is the contract. The Makefile is a convenience that drifts from it.
# What the gate actually is, in order
sed -n '/jobs:/,$p' .github/workflows/ci.yml