Favicon of compiler-port

compiler-port Skill

AI Agent SkillJavaScriptOpen source

Port a compiler pass from TypeScript to Rust. Gathers context, plans the port, implements in a subagent with test-fix loop, then reviews. Published by react in react.

What is compiler-port Skill?

Port a compiler pass from TypeScript to Rust. Gathers context, plans the port, implements in a subagent with test-fix loop, then reviews. Published by react in react. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
100/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Testing
  • Research
  • Testing use cases
  • Research use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use compiler-port Skill

  • Use it for testing.
  • Use it for research.

Built with

JavaScriptCopy skill directory

Editorial notes

Source

  • Creator: react
  • Repository: react/react
  • Skill file: compiler/.claude/skills/compiler-port/SKILL.md

What it does

Port a compiler pass from TypeScript to Rust. Gathers context, plans the port, implements in a subagent with test-fix loop, then reviews.

Skill instructions

Port Compiler Pass Port a compiler pass from TypeScript to Rust end-to-end. Arguments: - $ARGUMENTS: Pass name exactly as it appears in Pipeline.ts log entries (e.g., PruneMaybeThrows, SSA, ConstantPropagation) Step 0: Validate pass name 1. Read compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Pipeline.ts 2. Search for name: '$ARGUMENTS' in log entries 3. If not found, list all available pass names from the log({...name: '...'}) calls and stop 4. Check the kind field of the matching log entry: - If kind: 'ast', report that test-rust-port only supports hir and reactive kind passes currently and stop - If kind: 'hir' or kind: 'reactive', proceed Step 1: Determine TS source files and Rust crate 1. Follow the import in Pipeline.ts to find the actual TypeScript file(s) for the pass 2. Map the TS folder to a Rust crate using this mapping: | TypeScript Path | Rust Crate | |---|---| | src/HIR/ (excluding BuildHIR.ts, HIRBuilder.ts) | reactcompilerhir | | src/HIR/BuildHIR.ts, src/HI

Explore related resources

Frequently asked questions

What is compiler-port?

compiler-port is a open-source AI agent skill with Copy skill directory. Port a compiler pass from TypeScript to Rust. Gathers context, plans the port, implements in a subagent with test-fix loop, then reviews.

Who is compiler-port best for?

compiler-port is best for reusing agent instructions, scripts, and references, testing workflows, research workflows.

How do I install compiler-port?

Install or run compiler-port using Copy skill directory. Check compiler-port for the latest setup command.

Is compiler-port actively maintained?

compiler-port may need a closer maintenance check before production use.

Share:

Stars
246,462
Forks
51,206
Last commit
13 days ago
Repository age
13 years
License
MIT

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to compiler-port

compiler-port: Install, Config & GitHub Signals – SkillIndex