node-compat
Skill by denoland
Runs a Node.js compatibility test in the Deno repository, diagnoses failures, and either fixes the implementation or skips or ignores the test. It is for contributors working on Deno's Node.js compatibility tests.
Install node-compat
Built from the published package, never by AI.
git clone --depth 1 https://github.com/denoland/deno /tmp/deno && mkdir -p ~/.claude/skills && cp -r /tmp/deno/.claude/skills/node-compat ~/.claude/skills/node-compatRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/denoland/deno /tmp/deno && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/deno/.claude/skills/node-compat ~/.gemini/antigravity-cli/skills/node-compatAntigravity 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
This skill guides work on a single Node.js compatibility test in the Deno repository, identified by the test name passed as an argument. It builds the code with ./x build, runs the test with ./x test-compat, and reads the test source and the relevant Deno code under ext/node/, runtime/, or cli/. Each failure is classified as a fixable bug, an inherent incompatibility, or not worth fixing.
Fixable bugs are corrected in the implementation and the test is enabled in tests/node_compat/config.jsonc. Tests that cannot be fixed are ignored or skipped with a written reason, or set to expect a known failure. The skill also gives PR title prefixes for this kind of work. It is aimed at developers contributing to Deno's Node.js compatibility layer.
Written from the project's SKILL.md and checked against it.
What it can do
- Run a compat testBuilds Deno and runs one Node.js compatibility test by name using ./x test-compat.
- Diagnose failuresFinds the test source and the Deno implementation, then compares behavior with Node.js docs or source.
- Classify failuresSorts each failure as a fixable bug, an inherent incompatibility, or not worth fixing.
- Fix implementationGuides changes to ext/node/ and rebuilding so the test passes against Node.js behavior.
- Skip or ignore testsUpdates tests/node_compat/config.jsonc with ignore, platform skip, or expected failure entries and a reason.
- PR title conventionsLists the test: and fix(ext/node): prefixes to use for node-compat pull requests.
What you need
- A checkout of the Deno repository
- The ./x build and ./x test-compat commands
Try asking
- Work on the node compat test test-fs-stat.js
- Diagnose why this Node.js compat test is failing and classify it
- Skip the node compat test for zlib internals with a clear reason
Good to know
- Ignore entries must include a reason or the lint step fails.
- Code changes take effect only after ./x build is run again.
- Written for work inside the Deno repository's node compat test setup.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/node-compat/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash Read Write Edit Glob Grep Agent
-
SKILL.md5 KB
Alternatives to node-compat
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
node-compat: common questions
What does the node-compat skill do?
It runs one Node.js compatibility test in the Deno repository, diagnoses the failure, and either fixes the implementation or skips or ignores the test.
When should a test be ignored instead of fixed?
The source says ignore applies when the test relies on Node.js internals or architecture Deno cannot or will not support, such as internalBinding() calls or Node-specific CLI flags.
How are skipped tests recorded?
They are recorded in tests/node_compat/config.jsonc with a reason, or with an expected exitCode and output if the test should still run.
How do I install node-compat?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is node-compat free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is node-compat safe to use?
It scores 91 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 node-compat?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
