lint
Run a health check on the wiki. Find broken links, missing articles, inconsistencies, and suggest improvements.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run a health check on the wiki. Find broken links, missing articles, inconsistencies, and suggest improvements.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Add a URL to the knowledge base. Clips it to raw/, then ingests it into wiki articles. One command does everything.
Process all unprocessed raw files into wiki articles. Run this after adding files to raw/.
Query the knowledge base. Searches wiki articles and synthesizes an answer with references.
استنادا إلى تصنيف SOC المهني
| name | lint |
| description | Run a health check on the wiki. Find broken links, missing articles, inconsistencies, and suggest improvements. |
Run a comprehensive health check on the wiki and report findings.
Scan all wiki articles for [text](path.md) links that point to files that do not exist.
Report each broken link with the file it appears in:
BROKEN LINK: [text](path.md) in wiki/<source-slug>/some-article.md
Scan all wiki articles for [[link]] syntax which should be replaced with clickable
markdown links [text](path.md) using relative paths between folders.
Report each:
LEGACY LINK: [[article-name]] in wiki/<source-slug>/some-article.md — convert to [text](path.md)
Scan all wiki articles for concepts or terms that appear 3+ times across different articles but do not have their own wiki article yet.
Report each:
MISSING ARTICLE: "<concept>" mentioned in N articles but has no wiki page
Compare wiki/index.md against actual files in wiki/:
Report each:
INDEX STALE: wiki/<source-slug>/<file>.md exists but not in index
INDEX GHOST: wiki/<source-slug>/<file>.md listed in index but file missing
Check that every wiki article has at least one source in its frontmatter that exists in raw/.
Report:
NO SOURCE: wiki/<source-slug>/<file>.md has no sources listed
MISSING SOURCE: wiki/<source-slug>/<file>.md references raw/<file>.md which does not exist
Check that each source folder in wiki/ contains:
summary-<folder-name>.mdReport:
MISSING SUMMARY: wiki/<source-slug>/ has no summary-<source-slug>.md
EMPTY FOLDER: wiki/<source-slug>/ has no article files
Check that related: entries in frontmatter point to articles that actually exist.
Report:
STALE BACKLINK: wiki/<source-slug>/<file>.md links to a non-existent article
After all checks, produce a summary:
HEALTH CHECK SUMMARY
--------------------
Total wiki articles: N
Total source folders: N
Broken links: N
Legacy wikilinks: N
Missing articles suggested: N
Index issues: N
Source issues: N
Folder structure issues: N
Stale backlinks: N
Based on findings, suggest up to 5 new articles that would most strengthen the knowledge base. Prioritize:
Format:
SUGGESTED ARTICLES
1. <concept-name>.md - <why it would help>
2. ...
After reporting, ask the user if they want to auto-fix:
[[wikilinks]] to markdown links with relative paths