Files
reliquary/plugins/tome/skills/check/SKILL.md
T
2026-11-01 17:40:01 +01:00

34 lines
1.3 KiB
Markdown

---
name: check
description: >
Validate tome knowledge-layer health — broken Markdown links, referenced source paths
that no longer exist, missing generated navigation resources, invalid control-file
headings or wiki front-matter, and generated folder navigation that has drifted from
the current repository structure. Human-triggered; CI-friendly (non-zero exit on
error-severity findings).
disable-model-invocation: true
allowed-tools: Bash(just:*), Bash(uv run:*)
---
# Tome — Check
```bash
just tome check
```
(Equivalent without the Justfile: `uv run -q --script <tome-plugin-dir>/bin/knowledge.py check`)
Review the findings. `check` validates only **objective, mechanically verifiable**
issues:
- Broken Markdown links (local targets that do not exist).
- Referenced source paths (`source-paths`) that no longer exist.
- Missing generated navigation resources (`boot.md`, wiki nav).
- Invalid recognized control-file headings / structure.
- Invalid wiki front-matter `status` values.
- Generated folder navigation that differs from the current repository structure.
It exits non-zero when there are **error**-severity findings (suitable for CI);
warnings alone do not fail. Subjective semantic quality and architectural correctness
are out of scope — that judgment belongs to `/tome:curate` and to humans.