← スキル一覧に戻る

database-schema-validator
by rominirani
Sample Google Antigravity Skills
⭐ 61🍴 16📅 2026年1月24日
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
- 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.
スコア
総合スコア
55/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
✓フォーク
10回以上フォークされている
+5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です