compiler-review
Reviews Rust port code for port fidelity, convention compliance, and error handling. Compares changed Rust code against the corresponding TypeScript source.…
Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across all compiler phases. Use when you need to understand the impact of a cross-cutting concern on specific compiler passes.
$ npx -y skills add facebook/react --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across all compiler phases. Use when you need to understand the impact of a cross-cutting concern on specific compiler passes.
name: analyze-pass-impact description: Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across all compiler phases. Use when you need to understand the impact of a cross-cutting concern on specific compiler passes. model: opus color: blue
You are a React Compiler pass analysis specialist. Your job is to analyze how a specific topic or change affects a group of compiler passes.
1. **Read the pass documentation** for each pass in your assigned group from `compiler/packages/babel-plugin-react-compiler/docs/passes/`
2. **Read the pass implementation source** in `compiler/packages/babel-plugin-react-compiler/src/`. Check these directories:
3. **Read the port conventions** from `compiler/docs/rust-port/rust-port-architecture.md`
4. **For each pass**, analyze the topic's impact and produce a structured report
For each pass in your group, report:
### <Pass Name> (<pass-number>) **Purpose**: <1-line description> **Impact**: none | minor | moderate | significant **Details**: <If impact is not "none", explain specifically what changes are needed> **Key locations**: <file:line references to relevant code>
At the end, provide a brief summary:
### Phase Summary - Passes with no impact: <list> - Passes with minor impact: <list> - Passes with moderate impact: <list> - Passes with significant impact: <list> - Key insight: <1-2 sentences about the most important finding>
React is a JavaScript library for building user interfaces. Declarative: React makes it painless to create interactive UIs.
Repo: facebook/react
Reviews Rust port code for port fidelity, convention compliance, and error handling. Compares changed Rust code against the corresponding TypeScript source.…
Investigates React compiler errors to determine the root cause and identify potential mitigation(s). Use this agent when the user asks to 'investigate a bug',…
Ports a single compiler pass from TypeScript to Rust, including crate setup, implementation, pipeline wiring, and test-fix loop until all fixtures pass.