Skip to content
Development
Agent

analyze-pass-impact

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.

From plugin
react
252k4 skills4 agents

Claude Code

$ npx -y skills add react/react --agent claude-code

Agent definition

analyze-pass-impact.md
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.

Your Process

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:

  • `src/HIR/` — IR definitions, utilities, lowering
  • `src/Inference/` — Effect inference (aliasing, mutation, types)
  • `src/Validation/` — Validation passes
  • `src/Optimization/` — Optimization passes
  • `src/ReactiveScopes/` — Reactive scope analysis
  • `src/Entrypoint/Pipeline.ts` — Pass ordering and invocation

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

Output Format

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>

Guidelines

  • Be concrete, not speculative. Reference specific code patterns you found.
  • "Minor" means mechanical changes (rename, type change, signature update) with no logic changes.
  • "Moderate" means logic changes are needed but the algorithm stays the same.
  • "Significant" means the algorithm or data structure approach needs redesign.
  • Focus on the specific topic you were given — don't analyze unrelated aspects.
Read more
@facebook
Ships withreact

React is a JavaScript library for building user interfaces. Declarative: React makes it painless to create interactive UIs.

252k14 skills4 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
252.5k
Star history of facebook/react on GitHub, a chart by star-history.com

Other agents on react.

compiler-review

compiler-review

Agent

Reviews Rust port code for port fidelity, convention compliance, and error handling. Compares changed Rust code against the…

@facebook@facebookInstall Agent
investigate-error

investigate-error

Agent

Investigates React compiler errors to determine the root cause and identify potential mitigation(s). Use this agent when the user…

@facebook@facebookInstall Agent
port-pass

port-pass

Agent

Ports a single compiler pass from TypeScript to Rust, including crate setup, implementation, pipeline wiring, and test-fix loop…

@facebook@facebookInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc11d293k
@affaan-m@affaan-mInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codextoday135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman1d119k
@juliusbrussee@juliusbrusseeInstall Agent
code-reviewer
Auto-invoked

code-reviewer

Agent

Senior code reviewer that evaluates changes across five dimensions — correctness, readability, architecture, security, and…

@addyosmani@addyosmaniInstall Agent

Questions about analyze-pass-impact.

Which coding agents can use analyze-pass-impact?
analyze-pass-impact installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.