Skip to main content

database-schema-validator

Validates SQL schema files for compliance with internal safety and naming policies.

소스 정보

저장소
rominirani/antigravity-skills
최근 소스 활동
2026년 1월 14일 10:03
감지된 SKILL.md 언어
영어
스타
592
포크
211

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
database-schema-validator
description
Validates SQL schema files for compliance with internal safety and naming policies.
# 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.
GitHub에서 보기