Validate
Schema validation for notes.
Install
npx skills add agenticnotetaking/arscontexta --skill validate -g -a claude-code -y- Repository
- agenticnotetaking/arscontexta3.5k
- Category
- Writing
- Updated
- 8mo ago
- License
- MIT
- Context cost
- Mediumabout 2,890 tokens
- Runs scripts
- No, instructions only
What it does
Schema validation for notes. Checks against domain-specific templates. Validates required fields, enum values, description quality, and link health. Non-blocking, warns but doesn't prevent capture. Triggers on "/validate", "/validate [note]", "check schema", "validate note", "validate all".
Runtime Configuration (Step 0, before any processing)
Read these files to configure domain-specific behavior:
-
ops/derivation-manifest.md, vocabulary mapping, platform hints- Use
vocabulary.notesfor the notes folder name - Use
vocabulary.note/vocabulary.note_pluralfor note type references - Use
vocabulary.topic_mapfor MOC references - Use
vocabulary.templatesfor the templates folder path
- Use
-
ops/config.yaml, processing depthprocessing.depth: deep | standard | quick
If these files don't exist, use universal defaults.
Processing depth adaptation:
| Depth | Validation Behavior |
|---|---|
| deep | Full schema validation. All checks enabled including composability analysis and cross-reference verification |
| standard | Full validation, all checks enabled |
| quick | Basic schema validation only, required fields, YAML validity, enum values |
EXECUTE NOW
Target: $ARGUMENTS
Parse immediately:
- If target contains a note name: validate that specific note
- If target contains
--handoff: output RALPH HANDOFF block at end - If target is "all" or "notes": validate all notes in {DOMAIN:notes}/ directory
- If target is empty: ask which note to validate
Execute these steps:
Step 1: Locate Template
Determine which template applies to the target note:
- Check the note's location, notes in {DOMAIN:notes}/ use the standard note template
- Check the
typefield in frontmatter, specialized types may have dedicated templates - Look for a templates directory (check
ops/templates/or domain-specific path from derivation manifest) - If the template has a
_schemablock, read it, this is the authoritative schema definition
If no template is found, use the default schema checks below.
