Lint

From freeman5860/KnowledgeBase · View interactive version

Lint is an AI agent skill from the GitHub repository freeman5860/KnowledgeBase. 对 wiki 进行健康检查:一致性、链接完整性、内容质量。Use when the user wants to validate wiki integrity or find broken links.

How to use this skill

Skill file

/lint — Wiki 健康检查

对知识库 wiki 执行全面的健康检查。

检查项

链接完整性

术语一致性

内容质量

注册表一致性

关联发现

矛盾检测

概念缺口检测

时效性检查

主动建议

输出

生成检查报告,按严重程度排列:

  1. 错误 — 必须修复(断裂链接、缺失文件、硬矛盾)
  2. 警告 — 建议修复(不完整 frontmatter、孤立条目、过时条目)
  3. 建议 — 可选改进(新关联、术语不一致、概念缺口)
  4. 探索 — 主动建议(新问题、新素材来源、建议生成的条目)

如果用户同意,自动修复可以自动修复的问题。

修复操作记录到 wiki/_changelog.md,格式: ## [YYYY-MM-DD] lint-fix | 修复内容摘要。

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.