
Plan Update
FreeStreamline your compiler planning with deep research.
Free · Opens the source repo
What Plan Update does
The Plan Update skill is designed for developers working with compiler documentation, particularly those involved in projects like the Rust port of the Babel compiler. This skill automates the process of updating a plan document by conducting thorough research across all compiler passes. It utilizes multiple parallel analysis agents to assess how a specified topic impacts each phase of the compiler, ensuring that the plan document reflects the most current and relevant information.
When you provide a plan document path and a specific topic or question, the skill first reads the context from the specified plan document and relevant architecture guides. It then launches eight parallel agents that analyze the impact of the topic across various compiler phases. Each agent focuses on a distinct phase group, examining specific documentation and implementation details to generate a concise report on the expected impacts.
After gathering insights from all agents, the skill consolidates the findings into the original plan document. It organizes the results by impact level—significant, moderate, minor, or none—allowing for a clear understanding of the changes needed. The final output updates the existing content, ensuring that any outdated information is removed while preserving relevant details. This process not only enhances the plan document's accuracy but also aids in maintaining a comprehensive view of the project's status.
This skill is particularly useful for teams involved in compiler development who require a systematic approach to updating their documentation based on evolving project requirements. By automating the research and consolidation process, it saves time and reduces the risk of human error in documentation updates.
When to use it
Use this skill when you need to update a plan document with insights from all compiler passes regarding a specific topic.
When not to use it
This skill is not suitable for general documentation tasks outside of compiler development or when deep research across compiler phases is unnecessary.
What you can build with it
Updating Compiler Architecture Plans
Use this skill to analyze how new features or changes affect your compiler architecture plans, ensuring all documentation is up to date.
Assessing Impact of New Compiler Features
When introducing new features, leverage this skill to understand their implications across all compiler passes and update relevant documents accordingly.
Maintaining Documentation Consistency
Regularly use this skill to keep your compiler documentation consistent with the latest developments and research findings.
How to install Plan Update
View source1. Install with the skills CLI
npx skills add react/react/plan-update --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by reactPlan 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
- Example:
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:
-
Lowering & SSA (passes 01-03):
01-lower.md,02-enterSSA.md,03-eliminateRedundantPhi.md -
Optimization & Types (passes 04-06):
04-constantPropagation.md,05-deadCodeElimination.md,06-inferTypes.md -
Function & Effect Analysis (passes 07-09):
07-analyseFunctions.md,08-inferMutationAliasingEffects.md,09-inferMutationAliasingRanges.md -
Reactivity & Scope Variables (passes 10-14):
10-inferReactivePlaces.md,11-inferReactiveScopeVariables.md,12-rewriteInstructionKindsBasedOnReassignment.md,13-alignMethodCallScopes.md,14-alignObjectMethodScopes.md -
Scope Alignment & Terminals (passes 15-20):
15-alignReactiveScopesToBlockScopesHIR.md,16-mergeOverlappingReactiveScopesHIR.md,17-buildReactiveScopeTerminalsHIR.md,18-flattenReactiveLoopsHIR.md,19-flattenScopesWithHooksOrUseHIR.md,20-propagateScopeDependenciesHIR.md -
Reactive Function & Transforms (passes 21-30):
21-buildReactiveFunction.md,22-pruneUnusedLabels.md,23-pruneNonEscapingScopes.md,24-pruneNonReactiveDependencies.md,25-pruneUnusedScopes.md,26-mergeReactiveScopesThatInvalidateTogether.md,27-pruneAlwaysInvalidatingScopes.md,28-propagateEarlyReturns.md,29-promoteUsedTemporaries.md,30-renameVariables.md -
Codegen & Optimization (passes 31, 34-38):
31-codegenReactiveFunction.md,34-optimizePropsMethodCalls.md,35-optimizeForSSR.md,36-outlineJSX.md,37-outlineFunctions.md,38-memoizeFbtAndMacroOperandsInSameScope.md -
Validation Passes (passes 39-55):
39-validateContextVariableLValues.md,40-validateUseMemo.md,41-validateHooksUsage.md,42-validateNoCapitalizedCalls.md,43-validateLocalsNotReassignedAfterRender.md,44-validateNoSetStateInRender.md,45-validateNoDerivedComputationsInEffects.md,46-validateNoSetStateInEffects.md,47-validateNoJSXInTryStatement.md,48-validateNoImpureValuesInRender.md,49-validateNoRefAccessInRender.md,50-validateNoFreezingKnownMutableFunctions.md,51-validateExhaustiveDependencies.md,53-validatePreservedManualMemoization.md,54-validateStaticComponents.md,55-validateSourceLocations.md
Each agent prompt should be:
Analyze how the topic "<topic>" affects the following compiler passes.
Read each pass's documentation in compiler/packages/babel-plugin-react-compiler/docs/passes/ and its implementation source. Also read compiler/docs/rust-port/rust-port-architecture.md for port conventions.
Pass docs to analyze: <list of pass doc filenames>
For each pass, report:
- Pass name and purpose (1 line)
- Impact: "none", "minor" (mechanical changes only), "moderate" (logic changes), or "significant" (redesign needed)
- If impact is not "none": specific details of what changes are needed
- Key code locations in the implementation (file:line references)
Be thorough but concise. Focus on concrete impacts, not speculation.
Step 3: Consolidate and update
After all agents complete:
- Merge their findings into a coherent analysis
- Group by impact level (significant > moderate > minor > none)
- Update the plan document. The final state should reflect the latest findings and understanding:
- Update the plan document in-place to remove outdated content and describe the latest understanding.
- KEEP any existing content that is still relevant
- REMOVE outdated or now-irrelevant content
- Per-pass impact summary table (updated in place, ie update each section based on new findings)
- Detailed notes for passes with moderate+ impact
- Updated "Current status" or "Remaining Work" section if applicable
Step 4: Show summary
Show the user a brief summary of findings: how many passes are affected at each level, and the key insights.
Frequently asked questions about Plan Update
Similar skills
Markdown to HTML Conversion
Efficiently convert Markdown documents to HTML.
Code Tour
Create structured walkthroughs for codebases.
Acquire Codebase Knowledge
Streamline onboarding with comprehensive codebase documentation.
Documentation & Modernization
Streamline codebase documentation and modernization planning.
Azure Resource Visualizer
Generate architecture diagrams for Azure resources.
CLAUDE.md Improver
Optimize your CLAUDE.md files for better project context.
