verify-changes
FeaturedHow to test and verify work in the dev-3.0 repo — which vitest config covers what, how to write a test that fits the house style, mocking Electrobun RPC and i18n providers, what coverage is actually expected, and the browser QA hand-off. Use when writing or fixing tests, deciding what a change needs covered, hitting a failing or flaky suite, or preparing a change for review. Triggers — "write tests for this", "which config runs this", "how do I mock the RPC", "is this covered enough", "the suite is failing".
Install
Quality Score: 88/100
Skill Content
Details
- Author
- h0x91b
- Repository
- h0x91b/dev-3.0
- Created
- 6 months ago
- Last Updated
- today
- Language
- TypeScript
- License
- Apache-2.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
vitest-testing
How this repo runs Vitest — coverage gate, v8 per-file thresholds, mocking/type-testing patterns. Use for "coverage is failing", "mock this module", or when editing vitest.config.ts, writing/fixing a mock (vi.mock, vi.spyOn, vi.hoisted), or adding expectTypeOf assertions. Pairs with tests.md. Not for generic Vitest questions unrelated to this repo.
verify
Proves a change actually works and root-causes failures — the suite runs first, output actually read. Answers "does it work", where inspect answers "is it good".
verify
Verify an engine change end-to-end by rendering the bundled fixture (examples/local-demo) and inspecting the output MP4 and intermediates. Use when the user says "verify", "run the smoke test", "e2e this change", "does the fixture still render", or before committing a nontrivial engine change. Knows the gotchas: OPENAI_API_KEY (or a local OPENAI_BASE_URL server) is needed for voice/captions but not probe/record/compose, stage-by-stage re-runs beat full re-renders, AIDEMO_KEEP_TMP=1 keeps .compose-tmp for compose debugging, logs/fail-*.png from failed takes. Do NOT use for: recording real product demos (use record-demo) or doc-only changes with no runtime surface.