Read all wiki pages in: concepts/, entities/, patterns/, best-practices/, comparisons/
Flag pairs of pages that make conflicting claims about the same topic
Format: ⚠️ CONTRADICTION: [[page-a]] vs [[page-b]] — "" conflicts with ""
2. Orphan Pages
Find pages in wiki/ (ALL subdirectories including queries/) with NO inbound [[wikilinks]]
These are invisible in the Obsidian graph and will never be surfaced by /query
Format: 🔗 ORPHAN: [[page-name]] — no pages link to this
3. Stub Pages
Find wiki pages with fewer than 5 meaningful content lines (ignoring frontmatter, headings, empty lines)
Format: 📄 STUB: [[page-name]] — only content lines
4. Broken Links
Find [[wikilinks]] in page bodies that point to non-existent pages
Format: ❌ BROKEN LINK: [[missing-page]] referenced in [[source-page]]
5. Vocab Gaps
Find tech terms used in wiki page bodies (as [[wikilinks]] or plain text) not present in vocabs/index.md
These cause vocabulary drift — same concept with different page names
Format: 📚 VOCAB GAP: "" used in [[page-name]] but not in vocabs/index.md
6. Coverage Gaps
Identify vocab terms in vocabs/index.md that have NO corresponding wiki page yet
These are knowledge areas not yet explored
Format: 🗺️ COVERAGE GAP: "" in vocabs/ has no wiki page yet
7. Index Accuracy
Verify wiki/index.md entries match actual files in wiki/ subdirectories
Flag: entries in index with no matching file (stale entries)
Flag: files in wiki/ with no entry in index (missing entries)
Format: 🗂️ INDEX MISMATCH: [[page-name]] in index but file not found
Format: 🗂️ INDEX MISSING: file wiki//.md has no index entry
8. Overview Staleness
Check wiki/overview.md "Sources ingested" count vs actual files in wiki/sources/
Check wiki/overview.md "Wiki pages" count vs actual wiki/index.md pages count
If counts are off: flag and suggest running /compile to resync
Format: 📊 OVERVIEW STALE: overview says sources, actual count is
After Checks — Update wiki/overview.md
After all checks complete, update wiki/overview.md:
Update "Last lint:" date to today
Update source and page counts to match actual state
Update upd: in frontmatter
Output Format
Print a grouped report:
LINT REPORT — [YYYY-MM-DD]
─────────────────────────
⚠️ Contradictions:
🔗 Orphans:
📄 Stubs:
❌ Broken links:
📚 Vocab gaps:
🗺️ Coverage gaps:
🗂️ Index issues:
📊 Overview issues:
─────────────────────────
─────────────────────────
Suggested next sources to ingest:
Append to wiki/log.md:
[YYYY-MM-DD] lint | Health check
issues found. .
1---2name: lint3description: Skill: /lint4---5# Skill: /lint67## Trigger8User types: /lint910---1112## What to Check1314### 1. Contradictions15- Read all wiki pages in: concepts/, entities/, patterns/, best-practices/, comparisons/16- Flag pairs of pages that make conflicting claims about the same topic17- Format: ⚠️ CONTRADICTION: [[page-a]] vs [[page-b]] — "<claim A>" conflicts with "<claim B>"1819### 2. Orphan Pages20- Find pages in wiki/ (ALL subdirectories including queries/) with NO inbound [[wikilinks]]21- These are invisible in the Obsidian graph and will never be surfaced by /query22- Format: 🔗 ORPHAN: [[page-name]] — no pages link to this2324### 3. Stub Pages25- Find wiki pages with fewer than 5 meaningful content lines (ignoring frontmatter, headings, empty lines)26- Format: 📄 STUB: [[page-name]] — only <N> content lines2728### 4. Broken Links29- Find [[wikilinks]] in page bodies that point to non-existent pages30- Format: ❌ BROKEN LINK: [[missing-page]] referenced in [[source-page]]3132### 5. Vocab Gaps33- Find tech terms used in wiki page bodies (as [[wikilinks]] or plain text) not present in vocabs/index.md34- These cause vocabulary drift — same concept with different page names35- Format: 📚 VOCAB GAP: "<term>" used in [[page-name]] but not in vocabs/index.md3637### 6. Coverage Gaps38- Identify vocab terms in vocabs/index.md that have NO corresponding wiki page yet39- These are knowledge areas not yet explored40- Format: 🗺️ COVERAGE GAP: "<term>" in vocabs/ has no wiki page yet4142### 7. Index Accuracy43- Verify wiki/index.md entries match actual files in wiki/ subdirectories44- Flag: entries in index with no matching file (stale entries)45- Flag: files in wiki/ with no entry in index (missing entries)46- Format: 🗂️ INDEX MISMATCH: [[page-name]] in index but file not found47- Format: 🗂️ INDEX MISSING: file wiki/<folder>/<name>.md has no index entry4849### 8. Overview Staleness50- Check wiki/overview.md "Sources ingested" count vs actual files in wiki/sources/51- Check wiki/overview.md "Wiki pages" count vs actual wiki/index.md pages count52- If counts are off: flag and suggest running /compile to resync53- Format: 📊 OVERVIEW STALE: overview says <N> sources, actual count is <M>5455---5657## After Checks — Update wiki/overview.md58After all checks complete, update wiki/overview.md:59- Update "Last lint:" date to today60- Update source and page counts to match actual state61- Update `upd:` in frontmatter6263## Output Format64Print a grouped report:65 LINT REPORT — [YYYY-MM-DD]66 ─────────────────────────67 ⚠️ Contradictions: <count>68 🔗 Orphans: <count>69 📄 Stubs: <count>70 ❌ Broken links: <count>71 📚 Vocab gaps: <count>72 🗺️ Coverage gaps: <count>73 🗂️ Index issues: <count>74 📊 Overview issues: <count>75 ─────────────────────────76 <detail lines per issue>77 ─────────────────────────78 Suggested next sources to ingest: <list based on coverage gaps>7980Append to wiki/log.md:81 ## [YYYY-MM-DD] lint | Health check82 <N> issues found. <summary of main problems>.
Run npx skillmds@latest add lokesh-go/lint in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Skill: /lint It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
lokesh-go (@lokesh-go) published this skill. Their other Agent Skills are listed on their SkillMD profile.