wiki-lint

GitHub

用于对 Wiki 空间进行只读审计,检测矛盾、孤立页面、断链及索引漂移等问题。不自动修复,仅输出分级排查结果供人工或后续流程处理。

packages/plugins/plugin-llm-wiki/skills/wiki-lint/SKILL.md paperclipai/paperclip

Trigger Scenarios

LLM Wiki 操作出现 lint 类型问题 需要审计 Wiki 健康度和一致性

Install

npx skills add paperclipai/paperclip --skill wiki-lint -g -y
More Options

Non-standard path

npx skills add https://github.com/paperclipai/paperclip/tree/master/packages/plugins/plugin-llm-wiki/skills/wiki-lint -g -y

Use without installing

npx skills use paperclipai/paperclip@wiki-lint

指定 Agent (Claude Code)

npx skills add paperclipai/paperclip --skill wiki-lint -a claude-code -g -y

安装 repo 全部 skill

npx skills add paperclipai/paperclip --all -g -y

预览 repo 内 skill

npx skills add paperclipai/paperclip --list

SKILL.md

Frontmatter
{
    "name": "wiki-lint",
    "description": "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."
}

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.

Version History

  • 2eb9a09 Current 2026-08-20 07:22

Same Skill Collection

.agents/skills/check-pr/SKILL.md
.agents/skills/company-creator/SKILL.md
.agents/skills/create-agent-adapter/SKILL.md
.agents/skills/create-issue-interaction-ui/SKILL.md
.agents/skills/create-paperclip-bundled-skill/SKILL.md
.agents/skills/deal-with-security-advisory/SKILL.md
.agents/skills/diagnose-why-work-stopped/SKILL.md
.agents/skills/doc-maintenance/SKILL.md
.agents/skills/garden-inbox/SKILL.md
.agents/skills/paperclip-create-plugin/SKILL.md
.agents/skills/paperclip-dev-workspace-run-verify-fix/SKILL.md
.agents/skills/paperclip-page/SKILL.md
.agents/skills/pr-gardening/SKILL.md
.agents/skills/pr-report/SKILL.md
.agents/skills/prcheckloop/SKILL.md
.agents/skills/prepare-paperclip-pr/SKILL.md
.agents/skills/release-changelog-discord-message/SKILL.md
.agents/skills/release-changelog/SKILL.md
.agents/skills/release/SKILL.md
.agents/skills/terminal-bench-loop/SKILL.md
packages/adapters/hermes/skills/paperclip-task-bridge/SKILL.md
packages/plugins/plugin-llm-wiki/skills/index-refresh/SKILL.md
packages/plugins/plugin-llm-wiki/skills/paperclip-distill/SKILL.md
packages/plugins/plugin-llm-wiki/skills/wiki-ingest/SKILL.md
packages/plugins/plugin-llm-wiki/skills/wiki-maintainer/SKILL.md
packages/plugins/plugin-llm-wiki/skills/wiki-query/SKILL.md
skills-releases/paperclip/v0/SKILL.md
skills-releases/paperclip/v7-roster/SKILL.md
skills/paperclip-board/SKILL.md
skills/paperclip-converting-plans-to-tasks/SKILL.md
skills/paperclip-create-agent/SKILL.md
skills/paperclip/SKILL.md
skills/para-memory-files/SKILL.md
.claude/skills/design-guide/SKILL.md

Metadata

Files
0
Version
2eb9a09
Hash
9e94b5ed
Indexed
2026-08-20 07:22

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 03:16
浙ICP备14020137号-1 $mapa de visitantes$