一键导入
knowledge-lint
Use when you need to check compiled knowledge for contradictions, uncited claims, missing connections, stale articles, and orphaned concepts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when you need to check compiled knowledge for contradictions, uncited claims, missing connections, stale articles, and orphaned concepts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when you need to compare a project .bib against a Paperpile project/topic folder to find uncited papers or unfiled entries.
Use when you need to extract citations from a PDF and generate a validated .bib file. Reads the PDF, identifies all referenced works, constructs BibTeX entries with metadata verification, then runs bib-validate.
Use when you need to check a LaTeX submission against a PDF assessment brief.
Use when you need to replicate a quantitative analysis in a second language (R↔Python↔Stata↔Julia) to verify correctness. Level 1 of the verification hierarchy.
Use when you need to challenge research assumptions or stress-test arguments.
Review user-facing documentation for accuracy, consistency, and completeness across private, public, nested repos, and the user manual. Use when docs feel stale, after major changes, or before sharing. (Replaces `repo-doc-audit`)
| name | knowledge-lint |
| description | Use when you need to check compiled knowledge for contradictions, uncited claims, missing connections, stale articles, and orphaned concepts. |
| allowed-tools | Read, Glob, Grep, Write, Agent |
| argument-hint | [project-path] or no arguments for CWD |
| skill-dependencies | ["audit-project-research","bib-validate","compile-knowledge"] |
Substantive consistency checks on the compiled knowledge wiki. Produces
correspondence/internal-reviews/KNOWLEDGE-LINT-REPORT.md.
Per rules/review-artefact-routing.md (auto-loads in research projects (path-scoped to paper-*/ and paper/)):
knowledge-lintreviews/_project/knowledge-lint/YYYY-MM-DD-HHMM.md inside the project. Path is relative to the research project root, not the Task-Management repo../CRITIC-REPORT.md-style filenames are forbidden — pre-rule layout).{date}-revision.md, {date}-r2.md, {date}-pre-submission.md) — never overwrite.reviews/INDEX.md exists, write a one-line entry under "Latest per source" pointing at the new file. Otherwise review-recap will rebuild the index next time it runs.compile-knowledge to verify integrityknowledge/ directory exists — run compile-knowledge firstaudit-project-researchbib-validateknowledge/ exists and has at least 2 articles (linting a single article is pointless)compile-knowledge first."Scan all articles for claims about the same concept that disagree:
| Check | How |
|---|---|
| Same concept, different claims | Compare Key Findings sections across articles that share wikilinks |
| Method disagreements | Check if two articles recommend different approaches for the same problem |
| Factual conflicts | Cross-reference dates, numbers, definitions across articles |
Report format:
CONTRADICTION: concept-a.md says "X increases Y" but concept-b.md says "X has no effect on Y"
Source A: Author (2023) — concept-a.md line 15
Source B: Author (2024) — concept-b.md line 22
Resolution needed: check which paper's context applies
Scan Key Findings sections for assertions without source attribution:
| Check | How |
|---|---|
| Missing citations | Findings that don't reference a paper, session log, or decision |
| Vague citations | "Some studies show..." without specific references |
| Self-referential | Citing another knowledge article instead of a primary source |
Check for concepts that should link to each other but don't:
| Check | How |
|---|---|
| Shared keywords | Two articles mention the same method/dataset/author but don't cross-reference |
| Atlas connections | Atlas topic has connected_topics that don't have corresponding knowledge articles |
| Orphaned articles | Articles with zero incoming wikilinks from other articles |
| Check | How |
|---|---|
| Stale articles | Last updated > 90 days ago AND project has had session activity since |
| Source drift | New papers in docs/literature-review/ not compiled into any article |
| Memory drift | New [LEARN] entries in MEMORY.md not reflected in knowledge articles |
| Session drift | Recent session logs mention findings not in any knowledge article |
| Check | How |
|---|---|
| Key paper not compiled | Papers cited in paper-*/paper/*.tex but not in any knowledge article |
| Method not documented | Estimators/methods used in code but not explained in knowledge |
| Concepts mentioned but not defined | Terms used across multiple articles without a dedicated article |
Project knowledge articles are the upstream source that wiki-grow
promotes into vault concepts (~/vault/concepts/). Articles
that escape their origin project (mentioned in ≥3 corpus docs) get
auto-promoted as status: draft and later curated to the concept
anatomy (packages/atlas-vault/schema.md → "Concept File Schema"):
a lead ## In one line definition, encyclopedia-voice body, and a
## In my portfolio section for project-specific prose.
This is advisory, not a hard check — project knowledge lives in the project's own voice and needn't conform. But flagging an article that leads with a crisp, project-agnostic definition as "promotion-ready" (vs. one that opens mid-analysis) helps: the cleaner the lead, the cheaper the eventual draft→curated pass. Note such articles in Recommendations; don't rewrite them here.
Write correspondence/internal-reviews/KNOWLEDGE-LINT-REPORT.md (create directory with mkdir -p if needed):
# Knowledge Lint Report
**Project:** [name]
**Date:** YYYY-MM-DD
**Articles scanned:** N
**Total words:** ~X
## Summary
| Check | Issues | Severity |
|-------|--------|----------|
| Contradictions | N | High |
| Uncited claims | N | Medium |
| Missing connections | N | Low |
| Staleness | N | Medium |
| Coverage gaps | N | Medium |
## Contradictions (High)
[List each with source references and suggested resolution]
## Uncited Claims (Medium)
[List each with article and line]
## Missing Connections (Low)
[List pairs that should link]
## Staleness (Medium)
[List stale articles with last-updated date and evidence of new activity]
## Coverage Gaps (Medium)
[List uncompiled sources and undocumented concepts]
## Recommendations
1. [Most impactful fix]
2. [Second]
3. [Third]
| Skill | Relationship |
|---|---|
compile-knowledge | Run this first to build/update the wiki |
store-insight | Use to fix individual gaps found by lint |
atlas-coherence | Complementary — checks topic-level connections, not article-level |
wiki-curate | Downstream — audits the vault concepts these articles promote into (anatomy, lifecycle, overlap) |