Back to list
lhl

validate

by lhl

1🍴 0📅 Jan 25, 2026

SKILL.md


name: validate description: "Validate Reality Check database integrity and referential consistency. Run after adding data or before committing."

Data Validation (Codex)

Validate Reality Check database integrity and referential consistency. Run after adding data or before committing.

Invocation

$validate

Note: Codex reserves /... for built-in commands. Use $validate instead.

Validate Reality Check database integrity and referential consistency.

Usage

rc-validate
# or: uv run python scripts/validate.py

Options

  • --strict: Fail on warnings (not just errors)
  • --json: Output results as JSON
  • --fix: Attempt to auto-fix simple issues (use with caution)

Checks Performed

  1. Schema validation - All records match expected schema
  2. ID format - Claim IDs match DOMAIN-YYYY-NNN format
  3. Referential integrity - All source_ids point to existing sources
  4. Embedding completeness - All records have vector embeddings
  5. Required fields - No missing required fields
  6. Duplicate detection - No duplicate IDs

Output

Validation Results:
- Claims: 42 checked, 0 errors, 1 warning
- Sources: 15 checked, 0 errors, 0 warnings
- Chains: 3 checked, 0 errors, 0 warnings
- Predictions: 8 checked, 0 errors, 0 warnings

Status: OK (1 warning)

When to Run

  • After adding new claims/sources
  • Before committing data changes
  • As part of CI/CD pipeline
  • When debugging data issues

  • $check
  • $stats

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon