strapi-schema-check
Skill by notum-cz
Checks Strapi v5 schema.json edits for risky changes that need a database migration. It is for developers working in a Strapi v5 project who want to catch renames, deletes and type changes before they cause data loss.
Install strapi-schema-check
Built from the published package, never by AI.
git clone --depth 1 https://github.com/notum-cz/strapi-next-monorepo-starter /tmp/strapi-next-monorepo-starter && mkdir -p ~/.claude/skills && cp -r /tmp/strapi-next-monorepo-starter/.claude/skills/strapi-schema-check ~/.claude/skills/strapi-schema-checkRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/notum-cz/strapi-next-monorepo-starter /tmp/strapi-next-monorepo-starter && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/strapi-next-monorepo-starter/.claude/skills/strapi-schema-check ~/.gemini/antigravity-cli/skills/strapi-schema-checkAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install strapi-schema-check in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
strapi-schema-check reviews changes to Strapi v5 schema files and flags risky ones. It covers schema.json files under apps/strapi/src/api and component JSON files under apps/strapi/src/components. The source says Strapi v5 auto-syncs schema.json to PostgreSQL on boot, so renaming, deleting or retyping a field can drop data.
The skill compares each changed schema against the base branch using git and jq. It then looks for matching migration files in apps/strapi/database/migrations. Findings are reported as Markdown or JSON, and the script exits with codes that mark a block, a review needed, or an internal failure. It is intended for developers and reviewers working on Strapi schemas.
Written from the project's SKILL.md and checked against it.
What it can do
- Rename detectionFlags a field renamed without a migration, since Strapi would drop the old column.
- Delete detectionFlags removed attributes and deleted schema files as critical risks.
- Type change detectionFlags attributes whose type changed, which may need a data conversion.
- Constraint checksFlags required: true or unique: true added to an existing attribute.
- Migration matchingSearches migration files for both the attribute and the collection name.
- Markdown or JSON outputPrints a paste-ready Markdown summary or a JSON array for programmatic use.
- Migration scaffold promptOffers a knex migration template when a risky change has no migration.
What you need
- bash
- git
- jq
- A Strapi v5 project with an apps/strapi directory
Try asking
- Check my Strapi schema changes against main for risky migrations
- Did I break the schema in the blog content type?
- Run the strapi schema check and output the results as JSON
Good to know
- The rename heuristic only detects renames where the removed and added attributes share type, required and unique.
- Moving a field between content types is reported as a delete plus an add.
- Migration matching is a substring check, so a matching migration still needs human review.
- Renames of collectionName and content-type directories are not detected.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/strapi-schema-check/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to strapi-schema-check
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
strapi-schema-check: common questions
Does this check whether a Strapi migration is correct?
No. The source says the script cannot check migration correctness, so a reviewer must verify any matching migration.
Which schema changes count as risky?
The source lists renamed, deleted and type-changed fields, required or unique added to existing attributes, and deleted schema files. Added fields are treated as safe.
Does it run automatically when I edit a schema?
The source says the skill auto-loads on edits to the matching schema.json and component JSON paths, and can also be run manually with the bundled script.
How do I install strapi-schema-check?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is strapi-schema-check free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is strapi-schema-check safe to use?
It scores 73 of 100. Grades: maintenance A, licence A, quality B. 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 strapi-schema-check?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
