What problem does it solve?
Developers working on the React Compiler often forget which verification steps to run before committing, especially when changes span both TypeScript and Rust codebases. This Skill automates the detection of changed file types and runs the appropriate test, lint, and format commands.
Core Features & Use Cases
- Change Detection: Automatically categorizes modifications into TypeScript, Rust, or both using
git diff.
- Conditional Test Execution: Runs
yarn snap, yarn test, and Babel AST round-trip tests only when relevant files are touched.
- Rust Port Validation: Executes
yarn snap --rust and test-rust-port.sh to ensure Rust compiler output matches the TypeScript reference.
- Use Case: Before opening a pull request that modifies
compiler/packages/, run this Skill to execute the full TypeScript verification pipeline and confirm no regressions.
Quick Start
Run the compiler-verify skill to check all my staged changes before I commit.