wpt-update
Skill by cloudflare
Updates and triages the Web Platform Tests (WPT) dependency in workerd. Use it when bumping WPT or classifying failing suites and subtests in the workerd repository.
Install wpt-update
Built from the published package, never by AI.
git clone --depth 1 https://github.com/cloudflare/workerd /tmp/workerd && mkdir -p ~/.claude/skills && cp -r /tmp/workerd/.opencode/skills/wpt-update ~/.claude/skills/wpt-updateRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/cloudflare/workerd /tmp/workerd && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/workerd/.opencode/skills/wpt-update ~/.gemini/antigravity-cli/skills/wpt-updateAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The wpt-update skill bumps the Web Platform Tests dependency in the workerd repository and triages the results. It runs the update_wpt.py updater to select the newest wpt-* release from cloudflare/workerd-tools, then changes build/deps/shared_deps.jsonc and the generated MODULE.bazel file. It also maintains the WPT patches under patches/wpt.
For triage, it compares pinned upstream SHAs, runs the //src/wpt Bazel targets, and reconciles suite keys in src/wpt. It sorts unexpected results into expectedFailures, disabledTests or omittedTests with a comment for each. It is aimed at workerd maintainers who need to update WPT. Runtime conformance fixes are out of scope and are reported as follow-up.
Written from the project's SKILL.md and checked against it.
What it can do
- Bump WPTRuns ./build/deps/update_wpt.py to pin the newest published wpt release.
- Maintain WPT patchesRebases patches under patches/wpt when they no longer apply to the new archive.
- Reconcile suite configAdds, removes and renames suite keys in src/wpt to match the upstream file set.
- Classify failing subtestsSorts unexpected results into expectedFailures, disabledTests or omittedTests.
- Run WPT targetsRuns bazel test on //src/wpt targets with the flags the skill requires.
- Verify changesRuns format checks and git diff --check before a WPT update is reported complete.
What you need
- Bazel
- A workerd checkout, standalone or as a submodule
- Python 3
Try asking
- Bump WPT in workerd and triage the failures
- Triage the WPT update between the two pinned SHAs
- Rebase the WPT patches onto the new archive
Good to know
- Runtime, harness, build-rule and upstream fixes are out of scope.
- Commits are made only when the user requests them.
- Upstream research uses pinned SHAs, not upstream main.
- A bump-only request stops when the updater reports WPT is current.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .opencode/skills/wpt-update/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB
Alternatives to wpt-update
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
wpt-update: common questions
Does it fix runtime bugs that WPT tests expose?
No. The skill says not to fix runtime conformance bugs during a WPT update. It reports the required follow-up instead unless the user expands the scope.
Which files change in a normal WPT bump?
A normal update changes build/deps/shared_deps.jsonc and build/deps/gen/shared_deps.MODULE.bazel. Generated dependency output should not be edited by hand.
What happens when a WPT patch stops applying?
The skill rebases the patch onto the new upstream file and keeps its intent. It describes each patch change and the upstream commit that required it in the final report.
How do I install wpt-update?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is wpt-update free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is wpt-update safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to wpt-update?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
