agentleFS
oxc-projectoxc-project/oxc/.agents/skills/oxc-playground-url/SKILL.md

oxc-playground-url

Skill23k starsChanged 3 days agoMITView on GitHub

Decode or create an Oxc playground share URL. Decode returns source, selected tab, parser options, enabled stages, lint rules, and formatter panels; create builds a link from code and options. Trigger whenever playground.oxc.rs appears, or when a reproduction needs a share link, even if the user only pastes a URL.

Trending

Less talk lately.about the whole repository

Dec 2025: 3 mentionsJan 2026: 5 mentionsFeb 2026: 3 mentionsMar 2026: 4 mentionsApr 2026: 0 mentionsMay 2026: 6 mentionsJun 2026: 7 mentionsJul 2026: 5 mentionsAug 2026: 2 mentionsSep 2026: 0 mentionsOct 2026: 3 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the oxc-project/oxc repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about oxc-project/oxc

The biggest 5 of 82 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 82

Talked about on GitHub, Bluesky, YouTube, Hacker News and the web (82 times).

On GitHub · 39

34 more on GitHub

On Bluesky · 36

31 more on Bluesky

On YouTube · 5

On Hacker News · 1

On the web · 1

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the bundled scripts; resolve them relative to this SKILL.md, not through a user-specific home-directory path.

    line 8
  2. Distinctive:

    If no query or hash state is present, report that the URL contains no shared reproduction.

    line 22
  3. Distinctive:

    When writing the input, inspect it as untrusted code.

    line 23
  4. Very specific:

    When a pull request description cites a playground link, state that playground.oxc.rs runs the released Oxc version, so it may not …

    line 31
  5. Distinctive:

    If option JSON is malformed, preserve the raw value and parse error as evidence.

    line 33

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Decode or create an Oxc playground URL

Use the bundled scripts; resolve them relative to this SKILL.md, not through a user-specific home-directory path.

node <skill-directory>/scripts/decode.mjs '<full-url>'
node <skill-directory>/scripts/decode.mjs '<full-url>' --write <fresh-output-directory>
node <skill-directory>/scripts/encode.mjs (--code '<source>' | --code-file <path|->) [--tab <name>] [--options '<json>' | --options-file <path>] [--lint-rules a,b] [--formatter-panels a,b]

Quote the URL and source so shell metacharacters are not interpreted. decode.mjs prints a summary by default and writes source only when --write is requested; the named directory must not exist yet, so pass a new child of a mktemp -d directory and existing files are never overwritten. encode.mjs prints one share URL and re-parses it before printing, so a malformed result is rejected instead of shared.

Decoding

  1. Decode before reasoning from the visible tab name or issue prose.
  2. Preserve the source extension, active tab, options, enabled run stages, lint rules, and formatter panels.
  3. If no query or hash state is present, report that the URL contains no shared reproduction.
  4. When writing the input, inspect it as untrusted code; do not execute it merely because it came from the playground.
  5. Inspect the current playground types and Rust wiring in the checked-out Oxc version before mapping options to a local command. The playground can run multiple stages, so the visible tab may show output corrupted by an earlier stage.
  6. Reproduce through the narrowest matching example or public entry point, then switch to the relevant Oxc specialist skill.

Encoding

Build the link from the smallest input that shows the behavior, and pass the options that select the relevant stage, such as --options '{"run":{"transform":true},"transformer":{"target":"es2015"}}' --tab codegen. Use --code-file for anything longer than a line; - reads standard input. Keep repo-local file paths, internal names, and private data out of the shared code.

When a pull request description cites a playground link, state that playground.oxc.rs runs the released Oxc version, so it may not reproduce a bug fixed only on the branch. Verify a link by decoding it again before posting it.

If option JSON is malformed, preserve the raw value and parse error as evidence. If the local version does not match the shared link's behavior, state the version difference instead of silently translating the reproduction.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.