agentleFS
dagarre00dagarre00/claude-code-template/.claude/skills/wiki-update/SKILL.md

wiki-update

Skill1 starsChanged 28 days agoMITView on GitHub

How to structure a docs/wiki/ page under the Obsidian LLM-wiki standard — placement and dedup before creating, page templates, facet vocabulary, link ontology, and whether a discovery is fixed inline or queued in wiki-todos.md.

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use claude-history-ingest, graph-colorize 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.
  • Ivy-Chen1999Skill

    claude-history-ingest

    Ingest Claude Code conversation history into the Obsidian wiki. Use this skill when the user wants to mine their past Claude conversations for knowledge, import their ~/.claude folder, extract insights from previous coding sessions, or says things like "process my Claude history", "add my conversations to the wiki", "what have I discussed with Claude before". Also triggers when the user mentions their .claude folder, Claude projects, session data, past conversation logs, local-agent-mode sessions, or audit logs.

    Also in 3 projects that use this

  • Ivy-Chen1999Skill

    graph-colorize

    Color-code the Obsidian graph view by rewriting `.obsidian/graph.json` colorGroups. Use this skill when the user says "color my graph", "color code obsidian", "colorize the graph", "color the graph by tag", "color by category", "highlight visibility in graph", "make the graph colorful", "distinguish tags in graph", or wants nodes in Obsidian's graph view tinted by tag, folder, or visibility. Generates a `colorGroups` array from the vault's actual tags/categories and merges it into the existing graph.json without clobbering other graph settings. Always backs up first.

    Also in 3 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 3 projects that use this

  • nexuschainsSkill

    tag-taxonomy

    Enforces and normalizes tags across the wiki against the controlled vocabulary in wiki/schema/tag-taxonomy.md. Use this skill when the operator says "fix my tags", "normalize tags", "tag audit", "clean up tags", "tag taxonomy", or "my tags are a mess". Also use when creating or updating wiki pages and the right tags are unclear. Operates in three modes: Audit (report current state), Normalize (apply fixes), and Classify (tag a single new page). Always reads the taxonomy file before assigning any tags.

    Also in 3 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 3 projects that use this

  • +6 more from Ivy-Chen1999
  • +1 more from nexuschains

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write the concept's essence (1–2 standalone sentences).

    line 13
  2. Very specific:

    Check for existing pages under another name: walk docs/wiki/ and grep -r "aliases:" -A3 docs/wiki/.

    line 14

“Common” is measured: kept by at least 6 in 10 of the 9 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 Update — standard, templates, routing

Single source of truth for the wiki schema (rule 18). Ticking an entity's Behavior cases needs nothing from here.

Placement — before creating any page

  1. Write the concept's essence (1–2 standalone sentences).
  2. Check for existing pages under another name: walk docs/wiki/ and grep -r "aliases:" -A3 docs/wiki/.
  3. Exists → merge into that page, add the new name to aliases, extend sources, bump updated.
  4. Does not exist → create from a template below. Filename = canonical name without * " \ / < > : | ? # ^ [ ] (put symbol-bearing variants in aliases).
  5. Target of a new link does not exist → create a status: stub page in the same change (or if outside your write scope, omit the link and queue a wiki-todos.md item).
  6. Merge duplicate pages into the more canonical filename (keeping union of links/provenance and old name in aliases; ask the human if ambiguous). Split multi-concept pages and rewire links.

Canonical page template

---
aliases: [Agentic loop, Sense-Plan-Act]
type: concept             # concept | procedure | reference | tutorial | entity | decision | summary
abstraction: pattern      # principle | pattern | technique | instance
domains: [agents, software]
status: developing        # stub | developing | stable
sources:
  - docs/raw/anthropic-agents.md
implements:
  - "[[feedback-principle]]"
specializes: []
contrasts_with:
  - "[[linear-pipeline]]"
alternative_to: []
depends_on:
  - "[[world-model]]"
contradicts: []
open_questions:
  - How does this relate to hierarchical planning?
created: 2026-07-21
updated: 2026-07-21
---

# Agentic loop (Sense–Plan–Act)

> [!abstract] Essence
> One or two sentences that capture the concept, understandable out of context —
> read first, and the fingerprint used for dedup.

## Model
What it is, why it matters, when it applies.

## Detail
How it works: examples, variants, parameters.

## Boundaries
Edge cases, where it does NOT apply, open tensions and contradictions, *unverified* claims.

## Provenance
- Claim ← source; every non-trivial claim traces to a `docs/raw/` file.

type: concept pages use the Essence → Model → Detail → Boundaries → Provenance spine and the abstraction facet (entity pages use abstraction: instance and the Entity spine below; decision, summary, and reference pages omit abstraction and use their own templates). Frontmatter wikilinks are quoted strings (one per list item); body wikilinks are unquoted.

[infra] concept pages also carry a ## Behavior section of verifiable operational assertions ([ ]/[~]/[x]); lint must not flag it.

Entity page template (docs/wiki/entities/<slug>.md)

---
aliases: []
type: entity
abstraction: instance
domains: [<domain>]
status: developing        # stub | developing | stable
sources: []
depends_on:
  - "[[other-entity]]"
contradicts: []
open_questions: []
created: YYYY-MM-DD
updated: YYYY-MM-DD
---

# <Entity Name>

> [!abstract] Essence
> What this entity exists to do, in user-facing terms.

## Behavior

- [ ] B1: <observable behavior, no implementation detail>

(States: `[ ]` not started · `[~]` test written and confirmed failing · `[x]` passing.)

## Implementation

- Files: [src/foo.py](../../../src/foo.py)
- Key functions: `do_thing()`
- Used by: [[consumer-entity]]

## Tests

- Files: [tests/test_foo.py](../../../tests/test_foo.py)
- Mapping: B1 → `test_does_thing`

## Boundaries

- Edge cases, known limitations, open tensions, unverified claims.

## Provenance

- Requirement ← `docs/raw/...`, a decision page, or a requirements section.

Other templates

Supporting files beside this skill (open only when creating or restructuring that page):

  • summary-template.md — docs/wiki/summaries/<slug>.md for an ingested source.
  • design-system-template.md — docs/wiki/design-system.md, only for projects with a UI surface.

Facet vocabulary (closed)

PropertyAllowed valuesUse
typeconcept, procedure, reference, tutorial, entity, decision, summaryReader need.
abstractionprinciple, pattern, technique, instanceGenerality rung (required on concept and entity).
domainscontrolled list (agents, software, design, …)Application domains.
statusstub, developing, stable — decisions: proposed, accepted, superseded, deprecatedMaturity (stub = known gap).

Ledgers (log.md, todos.md, wiki-todos.md, gotchas.md, commands.md), root spec pages (requirements.md, architecture.md, git-conventions.md, design-system.md), and folder README.md guides are type: reference navigational pages and are exempt from the orphan rule. Only content pages (entity, concept, decision, summary) can be orphans.

Link ontology — and the gap each relation makes computable

RelationDirectionGap rule
implementstechnique/pattern → principleA technique implements ≥1 principle.
specializesinstance/pattern → more general conceptRequired on instance except type: entity and type: summary.
contrasts_with↔ comparable alternativesSymmetric.
alternative_to↔ same function, different approachSymmetric.
depends_onconcept → prerequisiteTarget must exist (at least as stub).
contradicts↔ explicit conflictUnresolved conflicts escalate to the human.
supersedes / superseded_bydecision ↔ decisionSuperseded ADR has status: superseded + superseded_by.

Fill schema gaps with status: stub and open_questions, never invented prose.

Inline or queued

  • Inline (in the same change, by write roles): one ADR, one gotcha, the active entity page, a single broken link, or a stub for a new link target.
  • Queued in docs/wiki/wiki-todos.md (directly or via Follow-ups:): cross-section orphans, contradictions between pages (set contradicts on both; don't resolve), patterns recurring 3+ times (promote to concepts/), ambiguous merges/splits, or edits requiring 5+ pages read.
  • Routing: pitfall → gotchas.md; design fork → ADR; repeated pattern → wiki-todos.md. wiki-maintainer is manual only (/project:wiki).

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.