What problem does it solve?
Verifying that a pull request actually delivers its promised behavior on a live Railway preview deployment is error-prone: stale builds, substitute providers, and superficial click-throughs produce misleading PASS results. This Skill enforces rigorous exact-head browser QA with a mandatory PASS/FAIL/BLOCKED status gate and publishes auditable evidence directly on the pull request.
Core Features & Use Cases
- Exact-head build confirmation: Polls commit-scoped Railway status via
scripts/preview_state.sh so tests never run against a stale or partial deployment, and re-verifies the head SHA before publishing.
- PR-derived test matrix: Builds a Given/When/Then matrix from the PR diff with Required/Supplemental classifications, using recipes in
references/test-recipes.md and streaming checks in references/streaming-cadence.md.
- Evidence publication: Posts a deduplicated, head-marked QA comment on the PR for PASS, FAIL, and BLOCKED outcomes, with guarded cleanup of test data.
- Use Case: Before merging a PR that changes chat streaming, invoke the skill to confirm the Railway preview matches the PR head, measure visible DOM streaming growth in a browser, and publish the resulting evidence comment for reviewers.
Quick Start
Use $railway-test to run exact-head browser acceptance tests on the Railway preview for PR 123 and publish the QA evidence as a comment on that pull request.