Repository navigation
feat(skills): add the oxc-playground-url skill - #29223
Merged
Merged
Conversation
Dunqing
force-pushed
the
transformer-pr-description-guide
branch
from
November 10, 2026 14:10
0a88aa0 to
fb3e86d
Compare
Dunqing
marked this pull request as ready for review
November 10, 2026 14:14
camc314
reviewed
Nov 10, 2026
camc314
reviewed
Nov 10, 2026
Member
Author
Merge activity
|
Building or checking a playground.oxc.rs share link is manual today: the URL packs the source, tab, options, lint rules, and formatter panels into query parameters. This adds a repository skill that does both directions so a reproduction can be shared and inspected consistently. The encoder re-parses its own output before printing, so a malformed link is rejected instead of shared. The decoder preserves the state and writes the source only when asked, into a directory that must not exist yet. Both scripts resolve paths relative to the skill, so they work from any checkout. Verified with `npx oxfmt --check`, Oxlint, `typos`, and an encode/decode round-trip of a transformer example. The encoder rejects malformed option JSON and the decoder reproduces the source byte for byte. AI assistance was used to implement and verify this change.
graphite-app
Bot
force-pushed
the
transformer-pr-description-guide
branch
from
November 11, 2026 00:38
fb3e86d to
3862ce2
Compare
graphite-app Bot
pushed a commit
that referenced
this pull request
Nov 11, 2026
Transformer fix PRs can explain the mechanism without showing the failure, which leaves reviewers to rebuild the reproducer and trust claimed output. This adds crate guidance for fix descriptions: lead with the problem, then include an Input, Before output, and After output example, followed by the observable runtime difference when the output alone does not show it. The guide documents how to capture the example with the transformer command at the parent commit and at the change, how to use an `exec.js` conformance assertion with `--exec` when the printed output looks correct but behavior differs, and how to include a playground link with the `oxc-playground-url` skill from #29223 while noting that playground.oxc.rs runs the released version. Refactor descriptions must state what stays identical and how both commits were compared. Verified with `npx oxfmt --check`, `typos`, and `git diff --check`. The documented transformer command prints the `Original:` and `Transformed:` blocks for the parameter logical-assignment example. AI assistance was used to implement and verify this change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Building or checking a playground.oxc.rs share link is manual today: the URL packs the source, tab, options, lint rules, and formatter panels into query parameters. This adds a repository skill that does both directions so a reproduction can be shared and inspected consistently.
The encoder re-parses its own output before printing, so a malformed link is rejected instead of shared. The decoder preserves the state and writes the source only when asked, into a directory that must not exist yet. Both scripts resolve paths relative to the skill, so they work from any checkout.
Verified with
npx oxfmt --check, Oxlint,typos, and an encode/decode round-trip of a transformer example. The encoder rejects malformed option JSON and the decoder reproduces the source byte for byte.AI assistance was used to implement and verify this change.