---
name: validate-kb
description: Validate knowledge base health — structure, staleness, orphan learnings, cross-references, frontmatter dates. Use before PRs or as a routine health check.
allowed-tools:
  - Bash
  - Read
---

Run the full KB validation suite.

Step 1 — Knowledge base structure and content:
```
python3 scripts/validate_knowledge_base.py
```

Step 2 — Frontmatter staleness check:
```
python3 scripts/stale_frontmatter_checker.py
```

Combine both reports into a single health summary with PASS/WARN/FAIL counts. If any FAIL items appear, summarize them with recommended actions.
