validate-matters
Checks data integrity across all matters and the index. Use when Mandy says 'validate', 'check data', 'something seems off', 'fix index', or when errors suggest data corruption. Can auto-repair common
Files1
View on GitHubSKILL.md.claude/skills/validate-matters/SKILL.md
GitHubValidate Matters
Instructions
- Check each matter directory: matter.json exists, valid JSON, schema compliance, activity-log exists, PDFs have extracts, letters referenced exist, valid dates, valid enums.
- Check index.jsonl: every dir has entry, every entry has dir, fields match matter.json.
- Report: valid count, issues, mismatches.
- Offer to fix: rebuild index from matter.json files, add missing flags, fix enums.
- If fixes applied: commit with "validate-matters: system — Fixed {n} issues."