verify-svelte-compat
Skill by baseballyama
Verifies that a Svelte project, added as a git submodule, behaves the same when rsvelte replaces the official Svelte compiler. It is for maintainers of rsvelte who want compatibility checks against real-world Svelte repositories.
Install verify-svelte-compat
Built from the published package, never by AI.
git clone --depth 1 https://github.com/baseballyama/rsvelte /tmp/rsvelte && mkdir -p ~/.claude/skills && cp -r /tmp/rsvelte/.claude/skills/verify-svelte-compat ~/.claude/skills/verify-svelte-compatRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/baseballyama/rsvelte /tmp/rsvelte && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/rsvelte/.claude/skills/verify-svelte-compat ~/.gemini/antigravity-cli/skills/verify-svelte-compatAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install verify-svelte-compat in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill checks whether rsvelte produces the same output and behavior as the official Svelte compiler on an external Svelte repository. You pass a GitHub URL to add a new repository as a git submodule, or the name of an existing submodule to update it to the latest stable tag and check it again. The skill classifies the target as a tool or library that imports the Svelte compiler, or as an app with many .svelte files. Tools are checked by running their own test suites with the compiler swapped. Apps are checked by compiling every .svelte file with both compilers and comparing the results semantically.
When a regression is found, the skill changes only the rsvelte side. The target is treated as the reference and is not modified. Fixes are checked with cargo fmt, clippy, the compatibility report and cargo test. The loop repeats until no failures remain. The skill then saves run metadata locally and commits the submodule and fixes. It is aimed at developers working on the rsvelte compiler.
Written from the project's SKILL.md and checked against it.
What it can do
- Add or update targetAdds a new repository as a submodule from a URL, or updates an existing submodule to its latest stable tag.
- Target analysisDetects whether the target is a tool, app, or monorepo, and reports its Svelte version and build system.
- Build rsvelte bindingBuilds the rsvelte NAPI library in release mode and copies it into the target.
- Tool-type test comparisonRuns the target's test suite with the official compiler and with rsvelte, then diffs the logs.
- App-type semantic comparisonCompiles every .svelte file in client and server modes with both compilers and compares the output.
- Failure analysis and fixPoints failures to the matching rsvelte compiler phase and applies fixes on the rsvelte side only.
- Re-verification loopRepeats test and fix cycles and reports failure counts until no failures remain.
- Metadata and commitSaves a local compatibility record and commits the submodule reference and fixes to git.
What you need
- cargo
- pnpm
- Node.js 22 or later
- git
- submodules/svelte initialized
Try asking
- /verify-svelte-compat https://github.com/sveltejs/kit
- /verify-svelte-compat language-tools
- Check the language-tools submodule against rsvelte and fix any regressions
Good to know
- The compatibility/verify-svelte-compat directory is gitignored, so metadata files are not tracked.
- App-type comparison exits with an error if the rsvelte binding is missing, with no fallback.
- Monorepos and unclear targets require user confirmation before the check runs.
- After five loop iterations without convergence, the skill asks the user whether to continue.
Security check
B- Allowed to use Bash, Edit, Write without limitsIn
SKILL.md
Checked automatically: .claude/skills/verify-svelte-compat/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadGrepGlobBashEditWriteAgentSkillWebSearchWebFetch
Alternatives to verify-svelte-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
verify-svelte-compat: common questions
What does verify-svelte-compat check?
It checks whether an external Svelte repository behaves the same when rsvelte replaces the official Svelte compiler. Tools are checked with their own tests, and apps are checked by comparing compiled output for every .svelte file.
Does the skill modify the target repository?
No. The source says fixes are made only on the rsvelte side, and the target is treated as the official reference that is not changed.
What do I pass to the command?
Pass either a GitHub URL to add a new submodule, or the name of an existing submodule to update and re-verify it.
How do I install verify-svelte-compat?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is verify-svelte-compat free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is verify-svelte-compat safe to use?
It scores 73 of 100. Grades: maintenance A, licence A, quality B. Security check: grade B (allowed to use bash, edit, write without limits). Review the code before you install. How grades work.
What are alternatives to verify-svelte-compat?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
