db-compatibility-refresh
Skill by netz98
Refreshes the n98-magerun2 database compatibility dataset at res/db-compatibility.json. It runs a deterministic importer from magento.watch and adds manual research for gaps. Aimed at maintainers of n98-magerun2.
Install db-compatibility-refresh
Built from the published package, never by AI.
git clone --depth 1 https://github.com/netz98/n98-magerun2 /tmp/n98-magerun2 && mkdir -p ~/.claude/skills && cp -r /tmp/n98-magerun2/.agents/skills/db-compatibility-refresh ~/.claude/skills/db-compatibility-refreshRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install db-compatibility-refresh in Claude Code
git clone --depth 1 https://github.com/netz98/n98-magerun2 /tmp/n98-magerun2 && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/n98-magerun2/.agents/skills/db-compatibility-refresh ~/.gemini/antigravity-cli/skills/db-compatibility-refreshAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install db-compatibility-refresh in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill updates res/db-compatibility.json, the data behind the n98-magerun2 db:compatibility command. That command tells a developer whether a Magento, Adobe Commerce or Mage-OS version with MySQL or MariaDB is officially supported. Most of the file is generated by the scripts/import-db-compatibility-dataset.php importer, which reads the open magento.watch API and regenerates every entry with an mw- id prefix. The skill then validates the result against the schema and runs the test suite.
A small hand-authored part of the file covers what magento.watch does not publish, such as explicit unsupported versions, MySQL to MariaDB migration guidance and Adobe Commerce Cloud context. Those entries must cite sources the assistant actually fetched, with a verification date. The skill is for maintainers of the n98-magerun2 project who need to refresh, verify or extend this dataset.
Written from the project's SKILL.md and checked against it.
What it can do
- Run the importerFetches magento.watch data and regenerates all mw- prefixed entries in the dataset.
- Dry runShows the added, updated and removed rule ids without writing the file when using --dry-run.
- Hand-authored entriesAdds or updates unsupported rules, migration guidance or Cloud context with cited sources.
- Validate the datasetChecks the JSON file against res/db-compatibility.schema.json using the validator script.
- Run testsRuns the PHPUnit tests in tests/N98/Util/Compatibility to catch structural regressions.
- Smoke test with ddevRuns db:compatibility inside a ddev Magento fixture when one is available.
- Summarize changesReports the importer's rule id changes and any manual edits with their sources.
What you need
- PHP to run the importer and validator scripts
- A checkout of the n98-magerun2 repository with vendor dependencies for PHPUnit
- Network access to the magento.watch API, which requires no authentication
- ddev and a Magento fixture, only for the optional smoke test
Try asking
- Refresh res/db-compatibility.json from magento.watch and summarize the changes
- Is MariaDB 11.8 supported yet for the latest Magento release?
- Run a dry run of the compatibility importer for only mage-os
Good to know
- Magento.watch publishes only positive support lists, so a missing version means unknown, not unsupported
- Hand-authored entries must cite sources fetched in the session
- Routine refreshes must not change the schema or importer code
- Adobe Commerce Cloud is reported as unknown unless Cloud-specific sources are added
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/db-compatibility-refresh/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to db-compatibility-refresh
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
db-compatibility-refresh: common questions
Should I edit res/db-compatibility.json by hand?
No. The skill says to use it instead of hand-editing, because most of the file is machine-generated from magento.watch and should stay that way.
Does the importer need an API key?
The source says magento.watch is an open, no-auth community API, so no key is stated as required.
What happens if magento.watch is wrong or down?
The skill says to fetch the primary source directly, such as Adobe's system requirements docs or the project's release notes, and to say so explicitly.
How do I install db-compatibility-refresh?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is db-compatibility-refresh free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is db-compatibility-refresh safe to use?
It scores 74 of 100. Grades: maintenance A, licence F, 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 db-compatibility-refresh?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
