Skip to content
Back to skills

Database Schema Validator

ASecurity

This skill ensures that all SQL files provided by the user comply with our strict database standards.

  • 67 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 10, 2026
developmentpythongobashsqldatabase

Security analysis

A100/100

Scanned November 10, 2026

npx -y skills add ComeOnOliver/skillshub --skill database-schema-validator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Database Schema Validator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Database Schema Validator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/comeonoliver-database-schema-validator/badge)](https://www.skillsdirectory.com/skills/comeonoliver-database-schema-validator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Database Schema Validator Skill

This skill ensures that all SQL files provided by the user comply with our strict database standards.

## Policies Enforced
1. **Safety**: No `DROP TABLE` statements.
2. **Naming**: All tables must use `snake_case`.
3. **Structure**: Every table must have an `id` column as PRIMARY KEY.

## Instructions

1. **Do not read the file manually** to check for errors. The rules are complex and easily missed by eye.
2. **Run the Validation Script**:
   Use the `run_command` tool to execute the python script provided in the `scripts/` folder against the user's file.
   
   ```bash
   python scripts/validate_schema.py <path_to_user_file>
   ```

3. **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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.