agentleFS
SantaJordanSantaJordan/gtm-engineer-starter/skills/wiki-lint/SKILL.md

wiki-lint

Skill38 starsChanged 56 days agoMITView on GitHub

Lint a project's wiki/ directory (Karpathy-style LLM Wiki + Dietl lifecycle states): catch orphan pages, missing cross-references, stale claims, contradictions, and frontmatter conformance issues. Surfaces problems; doesn't auto-fix substantive content.

46 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use wiki-status, wiki-capture and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • nexuschainsSkill

    wiki-status

    Reports the current state of the wiki vault — page counts, category breakdown, hub pages, orphans, stale entries, and a delta showing what has changed since the last ingest. Use this skill when the operator asks "what's the status", "wiki dashboard", "how many pages", "what's stale", "what's been ingested", "show me the delta", or "wiki health overview". Also surfaces structural insights (top hubs, fragmented clusters, bridge pages) when the operator asks "wiki insights", "what's central", or "show me the hubs". Read-only: this skill reports and recommends; it does not modify any files.

    Also in 5 projects that use this

  • jehrhardtSkill

    wiki-capture

    Quickly capture raw thoughts, links, images, or notes to today's Obsidian daily note from anywhere in Pi. Use when the user wants to jot something down for later wiki processing.

    Also in 6 projects that use this

  • nexuschainsSkill

    cross-linker

    Scans the wiki vault and adds missing [[wikilinks]] between pages that are related but not yet connected. Use this skill when the operator says "link my pages", "find missing links", "cross-reference the wiki", "connect my wiki", "add wikilinks", or after any large ingest to weave new pages into the existing knowledge graph. Also trigger when orphaned pages need connecting or when wiki-lint reports fragmented tag clusters. This is a write-heavy skill — it modifies page files to insert links, unlike wiki-lint which only reports.

    Also in 4 projects that use this

  • tboome33Skill

    wiki-export

    Export a vault's wiki either as a single portable file (llms.txt or llms-full.txt per the llmstxt.org standard) or as an OKF knowledge bundle (Google's Open Knowledge Format v0.1 — a shareable directory of markdown files any AI agent can consume). Use when the user says "export my wiki", "make an llms.txt", "share my wiki", "export as OKF", "make an OKF bundle", "publish my wiki as a bundle", "backup the wiki to a single file", "/wiki-export", or asks for a portable dump of their knowledge base.

    Also in 4 projects that use this

  • Ivy-Chen1999Skill

    wiki-synthesize

    Systematically discover synthesis opportunities across the Obsidian wiki — pairs or clusters of concepts that co-occur frequently across pages but have no synthesis page connecting them. Creates new synthesis/ pages that draw explicit cross-cutting conclusions. Use when the user says "synthesize my wiki", "find connections", "what concepts keep coming up together", "/wiki-synthesize", or after a large ingest when the vault has grown significantly.

    Also in 4 projects that use this

  • bozhouDevSkill

    wiki-init

    Use when bootstrapping a new personal wiki for any knowledge domain — research, codebase documentation, reading notes, competitive analysis, or any long-term knowledge accumulation project.

    Also in 7 projects that use this

  • +1 more from nexuschains

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 37 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Always before a major synthesis pass — surface the contradictions / orphans first so the new synthesis works against a clean graph.

    line 44

“Common” is measured: kept by at least 6 in 10 of the 37 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/wiki-lint

Periodic maintenance pass over any project's wiki/ directory. The wiki only stays useful if Claude maintains it — this skill is what runs the maintenance.

See the project's wiki-pattern.md (in this starter: foundation/wiki-pattern.md; in a project made from the template: wiki-pattern.md at its root) for the canonical pattern: three layers (raw / wiki / schema), two nav files (index.md + log.md), four standard subdirs (raw/ / entities/ / concepts/ / syntheses/), bitemporal validity, [[wiki-link]] cross-references.

When to run

  • Weekly on actively-changing wikis (client engagements mid-flight, a content sprint).
  • Monthly on stable wikis (graduated client repos, deep reference docs).
  • Always before a major synthesis pass — surface the contradictions / orphans first so the new synthesis works against a clean graph.

What it checks

CheckDescriptionSeverity
structurewiki/ has index.md, log.md, and the four standard subdirserror
frontmatterevery entity has slug, lifecycle, valid_from; values are valid (emergent / validated / canonical)error
bitemporalevery entry marked invalid_at has a date in the past; entries with superseded_by: point at a real [[slug]]error
orphansentities with zero incoming [[wiki-link]] referenceswarning
stalelifecycle: emergent with valid_from > 60 days ago and no second citation that would promote to validatedwarning
contradictionstwo validated (or canonical) entries that make opposing claims about the same subject — based on identical or near-identical claim text with different conclusionserror
dangling links[[slug]] references to an entity that doesn't exist (typo or deletion)error
index driftindex.md lists an entity that no longer exists, or omits one that doeswarning
log gapslog.md hasn't been appended to in 30+ days while entities have been modifiedwarning
promotion candidatesemergent entries referenced by 2+ other entities — should be promoted to validatedinfo

Run

/wiki-lint                   # current cwd's wiki/
/wiki-lint <path>            # a specific wiki dir
/wiki-lint --json            # machine-readable output
/wiki-lint --severity=error  # only fail / surface errors

Procedure (the prompt)

  1. Read the contract. Open wiki/index.md, wiki/log.md, and every entity file. Build an in-memory graph: nodes = entities, edges = [[wiki-links]].
  2. Run each check in the table above. Group findings by severity.
  3. For contradictions, never auto-resolve. Show both entries side-by-side with the conflicting claim highlighted. Let the human adjudicate; the bitemporal pattern means the loser gets invalid_at set, not deleted.
  4. For orphans + stale + promotion candidates, propose specific actions. Apply only with confirmation.
  5. For structure + frontmatter + bitemporal + dangling links, these are mechanical. Offer to auto-fix where the fix is unambiguous (missing valid_from defaults to today; typo'd [[slug]] matched to the nearest real slug with fuzzy match — confirm each).
  6. Append a one-line entry to wiki/log.md: 2026-05-25 maintenance /wiki-lint — N errors, M warnings surfaced; <decisions>.

Output shape

# /wiki-lint — wiki/ (../client-x)
# 47 entities, 23 concepts, 8 syntheses

ERRORS (3):
  [structure]     wiki/syntheses/ missing
  [frontmatter]   entities/acme-co.md — lifecycle: validatied (typo)
  [contradiction] concepts/icp-shape.md  AND  concepts/icp-shape-refined.md
                  both claim: "ICP is mid-market multi-state HMOs"
                  vs:         "ICP is single-state regional HMOs"
                  → adjudicate. mark one invalid_at.

WARNINGS (12):
  [orphan]    entities/old-vendor-vista.md — no inbound [[links]] in 90d
  [stale]     concepts/lift-curve-v1.md — emergent for 92d, no 2nd citation
  ...

INFO (4):
  [promotion] entities/acme-co.md — referenced by 4 other entities → bump validated?

Apply auto-fixes? (3 trivially fixable) (y/N/show)

See also

  • wiki-pattern.md (project root, or foundation/wiki-pattern.md in the starter) — the schema this lints against.

Methodology by Jordan Crawford / Blueprint GTM.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.