Agent skill · software engineering · facebook
compiler-orchestrator
Orchestrate the Rust compiler port end-to-end. Discovers the current frontier, fixes failing passes, ports new passes, reviews, and commits in a loop.
Why this skill is useful
Adds an executable script that automates the entire Rust compiler porting process, including error handling and validation steps.
What it needs
Requires rust installed locally. About 8k tokens when loaded. Last updated 2026-08-06. 247,076 stars on the source repository.
What this skill does
Compiler Orchestrator Automatically drive the Rust compiler port forward by discovering the current state, fixing failures, porting new passes, reviewing, and committing — in a continuous loop. Arguments: $ARGUMENTS: Optional. A pass name to start from, or status to just report current state without acting. Pass Order Reference These are the passes in Pipeline.ts order, with their exact log names: # Log Name Kind Notes --- ---------- ------ ------- 1 HIR hir 2 PruneMaybeThrows hir Validation: validateContextVariableLValues, validateUseMemo after 3 DropManualMemoization hir Conditional 4 InlineImmediatelyInvokedFunctionExpressions hir 5 MergeConsecutiveBlocks hir 6 SSA hir 7 EliminateRedundantPhi hir 8 ConstantPropagation hir 9 InferTypes hir Validation: validateHooksUsage, validateNoCapitalizedCalls after (conditional) 10 OptimizePropsMethodCalls hir 11 AnalyseFunctions hir 12 InferMutationAliasingEffects hir 13 OptimizeForSSR hir Conditional: outputMode === 'ssr' 14 DeadCodeElimination hir 15 PruneMaybeThrows (2nd) hir Reuses existing fn, just needs 2nd call + log in pipeline.rs 16 InferMutationAliasingRanges hir Validation block (8 validators) after (conditional) 17 InferReactivePlaces hir Validation: validateExhaustiveDependencies after (conditional) 18 RewriteInstructionKindsBasedOnReassignment hir Validation: validateStaticComponents after (conditional) 19 InferReactiveScopeVariables hir Conditional: enableMemoization 20 MemoizeFbtAndMacroOperandsInSameScope hir -- outlineJSX hir Between #20 and #21, conditional: enableJsxOutlining, no log entry 21 NameAnonymousFunctions hir Conditional 22 OutlineFunctions hir Conditional 23 AlignMethodCallScopes hir 24 AlignObjectMethodScopes hir 25 PruneUnusedLabelsHIR hir 26 AlignReactiveScopesToBlockScopesHIR hir 27 MergeOverlappingReactiveScopesHIR hir 28 BuildReactiveScopeTerminalsHIR hir 29 FlattenReactiveLoopsHIR hir 30 FlattenScopesWithHooksOrUseHIR hir 31 PropagateScopeDependenciesHIR hir 32 BuildReactiveFunction reac …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills facebook/compiler-orchestrator