Agent skill · research science · facebook
plan-update
Use when you need to update a plan document with deep research across all compiler passes. Launches parallel subagents to analyze how a topic affects every compiler phase, then consolidates findings into the plan doc.
Why this skill is useful
Adds a complex multi-agent workflow that automates deep analysis of compiler phases, which the AI cannot generate on its own.
What it needs
About 2k tokens when loaded. Last updated 2026-08-06. 247,076 stars on the source repository.
What this skill does
Plan Update Deep-research a topic across all compiler passes and update a plan document. Arguments: $ARGUMENTS: <plan-doc-path> <topic/question> Example: compiler/docs/rust-port/rust-port-0001-babel-ast.md scope resolution strategy Example: compiler/docs/rust-port/rust-port-architecture.md error handling patterns Instructions Step 1: Read context Read these files to understand the current state: The plan doc specified in $ARGUMENTS compiler/docs/rust-port/rust-port-architecture.md (architecture guide and port conventions) compiler/packages/babel-plugin-react-compiler/docs/passes/README.md (pass overview) Step 2: Launch parallel analysis agents Launch 8 parallel Agent tool calls using the analyze-pass-impact agent. Each agent analyzes one phase group. Pass each agent the topic from $ARGUMENTS and the list of pass doc files for its phase. Phase groups and their pass docs: 1. Lowering & SSA (passes 01-03): 01-lower.md, 02-enterSSA.md, 03-eliminateRedundantPhi.md 2. Optimization & Types (passes 04-06): 04-constantPropagation.md, 05-deadCodeElimination.md, 06-inferTypes.md 3. Function & Effect Analysis (passes 07-09): 07-analyseFunctions.md, 08-inferMutationAliasingEffects.md, 09-inferMutationAliasingRanges.md 4. Reactivity & Scope Variables (passes 10-14): 10-inferReactivePlaces.md, 11-inferReactiveScopeVariables.md, 12-rewriteInstructionKindsBasedOnReassignment.md, 13-alignMethodCallScopes.md, 14-alignObjectMethodScopes.md 5. Scope Alignment & Terminals (passes 15-20): 15-alignReactiveScopesToBlockScopesHIR.md, 16-mergeOverlappingReactiveScopesHIR.md, 17-buildReactiveScopeTerminalsHIR.md, 18-flattenReactiveLoopsHIR.md, 19-flattenScopesWithHooksOrUseHIR.md, 20-propagateScopeDependenciesHIR.md 6. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills facebook/plan-update