跳到正文
Skillpedia
技术文档103k · #793

wiki-lint

它能做什么

这个工具用于检查知识库(Wiki)中的信息是否正确、组织是否有序。它会查找矛盾的信息、失效的链接,以及没有与其他页面相连的页面等问题。

适用场景

  • ✓当你怀疑 Wiki 中存在错误或过时的信息时。
  • ✓在对 Wiki 进行重大修改之前,先了解现有问题时。
  • ✓当你想确保所有重要链接和页面都能正常使用时。

技能链接

https://github.com/paperclipai/paperclip/blob/master/packages/plugins/plugin-llm-wiki/skills/wiki-lint/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/paperclipai/paperclip/blob/master/packages/plugins/plugin-llm-wiki/skills/wiki-lint/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请检查“Project Alpha”Wiki 中是否存在不一致的内容和失效的链接。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会读取所有 Wiki 页面并比对其中的信息。它会查找具体问题,比如指向不存在位置的链接,或相互冲突的信息。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Wiki Lint

Audit, do not edit. Return findings the maintainer (human or agent) can triage.

Inputs

  • An operation issue with operationType: "lint".
  • The operation issue's target wikiId, spaceSlug, and space root. Lint only that space unless the issue explicitly says this is a multi-space sweep.

Workflow

  1. Walk the target space's wiki/index.md and wiki tree with wiki_search and wiki_read_page, always passing the operation issue's wikiId and spaceSlug. Build a mental map of: pages that exist, pages referenced from index.md, pages referenced from other pages, and raw sources.
  2. Check for the seven recurring issues, in this order:
    1. Contradictions — two pages making incompatible claims about the same entity, decision, or status. Flag both pages, name the conflicting claims, and quote evidence.
    2. Stale claims — a page asserts X, but a newer source under raw/ has superseded it. Flag the older page; never overwrite.
    3. Orphan pages — a wiki/ page is not linked from index.md and not referenced from any other wiki page. Either it should be linked, removed, or merged.
    4. Concept gaps — a term appears on three or more pages but has no dedicated wiki/concepts/<slug>.md. Recommend creating one.
    5. Broken [[wiki-links]] — a link target file does not exist.
    6. Weak provenance — a non-trivial claim is uncited or cites only the wiki itself in a circle. The original source ref should be findable.
    7. Index / log drift — pages exist that are not in index.md, or index.md lists pages that no longer exist. Recent operations in wiki/log.md that did not produce a corresponding page change.
  3. Return a triage list, grouped by severity:
    • critical: contradictions, broken links to active pages, fabricated citations.
    • medium: stale claims, weak provenance, large concept gaps.
    • low: orphans, log drift, small index gaps. Each item has: file path, evidence (a 1–2 line quote), suggested fix, and the operation that should follow up (ingest, paperclip-distill, index-refresh, manual review).
  4. Do not write to wiki/. Lint is read-only by design — the maintainer or the routine that follows decides which findings to act on.
  5. Append a log entry describing the run:
    ## [YYYY-MM-DD] lint | <N findings, M critical>
    - operation issue: <issue identifier>
    - critical: <count>
    - medium: <count>
    - low: <count>
    

Voice

  • Lead with the count by severity.
  • Each finding is one bullet. Resist commentary.
  • When in doubt about severity, say so and surface it as medium with a "verify" note.

Verification

Before closing the operation issue:

  • Findings are grouped by severity with file paths, evidence, and suggested fix per item.
  • No files under raw/ were modified. No files under wiki/ were modified except wiki/log.md.
  • If the run found nothing, the issue is closed with "no findings" and the log entry still exists so future audits can see this run happened.

Tools

wiki_search, wiki_read_page, wiki_list_sources, wiki_read_source, wiki_write_page (only wiki/log.md). Always include the operation issue's wikiId and spaceSlug.

常见问题

这个工具会自动修复问题吗?

不会,它只会指出发现的问题。需要由人工或其他 AI 智能体来审核并修正错误。

什么是“孤立页面”(orphan pages)?

指存在于 Wiki 中,但没有被其他页面提及或链接的页面,因此很难被找到。

“weak provenance”是什么意思?

指某条重要信息缺少清晰可靠的出处,或者其来源只是 Wiki 本身,从而形成循环引用。

详情

作者的原始描述

Use when an LLM Wiki operation issue is a lint or health check. Audit for contradictions, orphans, weak provenance, broken links, missing concept pages, and index/log drift; return triage findings without auto-fixing.

repo: paperclipai/paperclip

热度

GitHub 星标
103k
排名
#793
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能