Skip to main content

entity-validator

Validation rules for extracted entities. Checks required fields, data types, cross-references, duplicates, enum values, and domain constraints.

소스 정보

저장소
bivex/loreSystem
최근 소스 활동
2026년 3월 21일 15:19
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

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

소스 파일 검토

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

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
entity-validator
description
Validation rules for extracted entities. Checks required fields, data types, cross-references, duplicates, enum values, and domain constraints.
user-invocable
false
# entity-validator Base skill for validating extracted lore entities against the domain model. ## Validation Checks 1. **Export format**: Verify that the top level contains only collections from the schema `lore_data.py` and `next_id` 2. **Data types**: Verify string, number, boolean, array, object types match schema 3. **Required fields**: Every entity must have all required fields corresponding to the domain model 4. **Cross-references**: All referenced entity IDs must exist and refer to numeric `id` 5. **No duplicates**: Same entity type + name combination must not appear twice ## Domain Constraints From `src/domain/`: | Constraint | Rule | |------------|------| | Character backstory | min 100 characters | | Ability power_level | integer 1–10 | | Item level | integer 1–100 | | Reputation value | integer -1000 to 1000 | | Combat stats | ≥ 0 (attack, defense, health, speed) | | Timestamps | updated_at ≥ created_at | | Version | ≥ 1 | ## Error Handling - **WARN** on missing optional fields - **ERROR** on missing required fields or invalid types - **ERROR** on duplicate entity (same type + name) - **WARN** on unresolved cross-references (may be resolved during merge)
GitHub에서 보기