Code Sample Testing

Make every code sample in the documentation executable. Samples live as real source files and the page includes them by region marker, never by pasting; CI compiles and runs each one against the released package and against main, asserts its output rather than its exit code, and fails on a pasted runnable block; a sample that genuinely cannot run is labelled as pseudo-code; and each failure is routed to the sample's owner. Use whenever someone says "our docs examples are broken", "the snippets in the SDK reference don't compile", "how do we test the code in our docs" or "users copy the example and it errors". Not for choosing which cases a test suite needs (test-design), replaying a whole tutorial in a fresh environment (tutorial-clean-room), browser end-to-end suites (e2e-testing), or a red pipeline with an unknown cause (ci-triage).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 7a5502b6a5

Frequently asked questions

npx get-skill add greenblacked/code-sample-testing