knowledge-schema-audit
Installation
SKILL.md
Knowledge Schema Audit
Runtime Context
Before acting, resolve <knowledge_dir> using the runtime bootstrap rules, then read <knowledge_dir>/.workflow/runtime.md and <knowledge_dir>/.workflow/manifest.yml; do not assume non-default workflow paths or default ids.
Use this skill to inspect non-task knowledge schema quality. This skill is read-only.
Workflow
- Read
<knowledge_dir>/.workflow/schemas/common.md. - Read relevant area schemas under
<knowledge_dir>/.workflow/schemas/. - Scan
<knowledge_dir>/**/*.md. - Exclude workflow infrastructure:
<knowledge_dir>/.workflow/**and<knowledge_dir>/.feedback/**. - Exclude delivery surfaces:
<knowledge_dir>/tasks/**and<knowledge_dir>/planning/KANBAN.md; task metadata, readiness, dependencies, and Kanban consistency belong totask-metadata-audit. - Exclude local-only state:
<knowledge_dir>/workspace/*/local/**. - Parse frontmatter, filenames, links, and localized-file suffixes.
- Compare each document to the relevant area schema.
- Report findings and dry-run fixes without editing files.