lint

GitHub

用于审计和维护LLM Wiki知识库。通过扫描页面和源文件,检测并报告结构、内容及来源问题(如断链、缺失元数据、陈旧内容)。支持--fix参数安全修复部分问题,并生成详细报告和日志。

skills/lint/SKILL.md jackwener/llm-wiki

Trigger Scenarios

用户调用/lint命令 用户要求检查Wiki质量或健康状况 用户请求查找或修复损坏链接、缺失前置元数据、过时页面、孤立页面、源漂移或重复主题

Install

npx skills add jackwener/llm-wiki --skill lint -g -y
More Options

Use without installing

npx skills use jackwener/llm-wiki@lint

指定 Agent (Claude Code)

npx skills add jackwener/llm-wiki --skill lint -a claude-code -g -y

安装 repo 全部 skill

npx skills add jackwener/llm-wiki --all -g -y

预览 repo 内 skill

npx skills add jackwener/llm-wiki --list

SKILL.md

Frontmatter
{
    "name": "lint",
    "description": "Audit and safely maintain an LLM Wiki vault. Use whenever the user invokes `\/lint`, asks to check wiki quality or health, or asks to find and optionally repair broken links, missing frontmatter, stale pages, orphan pages, source drift, or duplicate topics."
}

Lint an LLM Wiki

Audit structural integrity and knowledge quality. Read wiki-schema.md first; it is the authority for page types, fields, naming, and tags.

Scan

Inspect all wiki/ pages and sources/ files, then use llm-wiki graph to cross-check the wikilink graph. Report these categories:

  • Structural: broken links, orphan pages, wanted pages, missing required frontmatter, missing aliases, naming violations, and duplicate topics.
  • Content: conflicting claims, stale pages whose sources changed, unsourced claims, and pages too shallow to be useful.
  • Sources: unreferenced or untracked source material and source drift.

Report

Present the findings before changing files unless the user explicitly passed --fix. Use this structure:

## Lint Report — YYYY-MM-DD

### Summary
- Total pages: N | Total sources: N
- Issues: N (critical: X, warning: Y, info: Z)

### Critical
### Warning
### Info

Always write the same result in .llm-wiki/lint-result.yaml with date, summary counts, and issue objects (type, severity, page, detail).

Fixes

With --fix, repair only safe, evidence-preserving issues: add missing frontmatter defaults, repair or remove plainly invalid links, add clearly relevant backlinks, and merge unambiguous duplicates while retaining aliases. Never auto-resolve a contradiction. Do not edit raw files under sources/.

Record fixes and unresolved findings in wiki-log.md. Run llm-wiki sync when changes were made.

Version History

  • cd54666 Current 2026-07-11 18:46

Same Skill Collection

skills/ingest/SKILL.md
skills/llm-wiki/SKILL.md
skills/query/SKILL.md
skills/research/SKILL.md

Metadata

Files
0
Version
cd54666
Hash
9d5ea878
Indexed
2026-07-11 18:46

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-18 04:15
浙ICP备14020137号-1 $Carte des visiteurs$