Agent Skills
› open-gitagent/opengap
› wiki-lint
wiki-lint
GitHub定期或按需对知识库进行健康检查,检测矛盾、过时声明、孤立页面及知识缺口,并生成结构化报告与日志。
Trigger Scenarios
用户要求 'lint the wiki'
用户要求 'check wiki health'
Install
npx skills add open-gitagent/opengap --skill wiki-lint -g -y
SKILL.md
Frontmatter
{
"name": "wiki-lint",
"description": "Health-check the wiki for contradictions, stale claims, orphan pages, missing cross-references, and knowledge gaps. Use periodically or when the user says 'lint the wiki' or 'check wiki health'.",
"allowed-tools": "Read Glob Grep"
}
Wiki Lint
Audit the wiki for quality and consistency issues.
Workflow
Step 1: Read the full index
Read memory/wiki/index.md to get the complete page catalog.
Step 2: Check each category
Contradictions
- Scan pages that reference the same entities or concepts
- Flag claims that conflict across pages
- Note which sources support each side
- Recommend resolution (usually: update the older claim with a note)
Stale claims
- Check page frontmatter
updateddates - Flag pages not updated in recent ingests that cover topics where new sources exist
- Identify claims that newer sources have superseded
Orphan pages
- Find pages with no inbound
[[wikilinks]]from other pages - These may be valid standalone pages or may indicate missing cross-references
Missing pages
- Scan for
[[wikilinks]]that point to pages that don't exist yet - Identify important concepts mentioned frequently but lacking their own page
Missing cross-references
- Find pages that discuss the same entities but don't link to each other
- Suggest wikilinks that should be added
Knowledge gaps
- Based on the topics covered, suggest:
- Questions worth investigating
- Sources worth finding
- Angles not yet explored
Step 3: Report
Produce a structured report:
# Wiki Health Report — [date]
## Contradictions (X found)
- [page-a] vs [page-b]: [description of conflict]
## Stale Claims (X found)
- [page]: last updated [date], but [newer-source] may supersede
## Orphan Pages (X found)
- [page]: no inbound links
## Missing Pages (X found)
- [[concept-name]]: referenced in [N] pages but has no page
## Missing Cross-References (X found)
- [page-a] and [page-b] both discuss [topic] but don't link
## Suggested Investigations
- [question or source suggestion]
Step 4: Log
Append to memory/log.md:
## [YYYY-MM-DD] lint | Wiki Health Check
- Contradictions: X
- Stale claims: X
- Orphan pages: X
- Missing pages: X
- Missing cross-references: X
Version History
- d7a8e2e Current 2026-07-25 08:13


