Your markdown docs have broken links, orphan pages, missing metadata, and you don't know it. This skill finds them all and fixes them for you.
Just say:
| Check | What it finds | Auto-fixable? |
|---|---|---|
| ------- | -------------- | --------------- |
| Broken links | [[wiki-links]] pointing to nothing | Yes — fuzzy-matches the right target |
| Orphan pages | Files no other page links to | Suggests where to add links |
| Missing frontmatter | No title, tags, or metadata | Yes — generates from content |
| Thin articles | Under 100 words | Suggests outlines |
| Bad filenames | Spaces, non-kebab-case | Yes — renames + updates all references |
| Inconsistency | Mixed tag casing, date formats | Yes — normalizes |
pip install kb-lintBelow are instructions for Claude Code. You can ignore this section.
docs/, wiki/, notes/, content/. If user says "memory", target ~/.claude/.```bash
kb-lint --version 2>/dev/null || pip install kb-lint
kb-lint
```
If kb-lint unavailable, check files manually for: broken [[wiki-links]], missing frontmatter, thin articles (<100 words), orphans, bad filenames.
created date from git historyClaude Code memory mode: For ~/.claude/ targets, also check MEMORY.md index accuracy, validate memory frontmatter, flag stale entries (>90 days), find duplicates.
Rules: Never fabricate content. Always show changes before applying. Respect inline comments and per-check severity overrides.
共 1 个版本