Database schema validator
Skill Melmonster13/antigravity-skills-project/.agents/skills/database-schema-validator
Test bench for custom developer-agent skills: SQL schema validation, Conventional Commits formatting, JSON-to-Pydantic conversion, and license-header injection.
npx -y skills add Melmonster13/antigravity-skills-project --skill database-schema-validatorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Validates SQL schema files for compliance with internal safety and naming policies.
SKILL.md
1.0 KB, as published. Nobody here has run it
Database Schema Validator Skill
This skill ensures that all SQL files provided by the user comply with our strict database standards.
Policies Enforced
- Safety: No
DROP TABLEstatements. - Naming: All tables must use
snake_case. - Structure: Every table must have an
idcolumn as PRIMARY KEY.
Instructions
-
Do not read the file manually to check for errors. The rules are complex and easily missed by eye.
-
Run the Validation Script: Use the
run_commandtool to execute the python script provided in thescripts/folder against the user's file.python scripts/validate_schema.py <path_to_user_file> -
Interpret Output:
- If the script returns exit code 0: Tell the user the schema looks good.
- If the script returns exit code 1: Report the specific error messages printed by the script to the user and suggest fixes.