agentleFS
sammcjsammcj/agentic-coding/Skills/llm-wiki/CLAUDE.md

agentic-coding / llm-wiki

CLAUDE.md167 starsChanged 10 days agoApache-2.0View on GitHub

This repo is both a public project and a distributable Agent Skill. That dual role explains things pure skill-authoring guidance would flag: README.md, LICENSE, CHANGELOG.md, and examples/ are intentional and stay. Don't strip them as "skill clutter". When you change what the skill does or how it is used, append one line to CHANGELOG.md (newest first): - YYYY-MM-DD: <what changed>, see references/<doc>.md. Keep it terse and high-level - one functional change per line, pointing at the detail doc. Skip pure…

We split this CLAUDE.md into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    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. Very specific:

    Commit with the GitHub noreply alias (e.g.

    line 33

≈ “Common” is an estimate: at least 1 in 5 of the 25,680 CLAUDE.md files we read have a rule of the same kind, not the same words. “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
CLAUDE.md

Working on the llm-wiki skill

This repo is both a public project and a distributable Agent Skill. That dual role explains things pure skill-authoring guidance would flag: README.md, LICENSE, CHANGELOG.md, and examples/ are intentional and stay. Don't strip them as "skill clutter".

Update the changelog

When you change what the skill does or how it is used, append one line to CHANGELOG.md (newest first): - YYYY-MM-DD: <what changed>, see references/<doc>.md. Keep it terse and high-level - one functional change per line, pointing at the detail doc. Skip pure copy-edits, refactors, and internal tidy-ups; the changelog is "what's new for a user of the skill", not a git log. Do not link it from SKILL.md - it must stay out of the skill's loaded context, read only when asked.

Keep the three format definitions in sync

The file format is defined in three coupled places. Change a detail in one, update all three in the same pass:

  • SKILL.md plus the procedure references it gates - references/ingest.md, references/init.md, references/archive.md, references/okf.md - together hold the spec and workflow (source of truth). SKILL.md keeps the always-loaded rules and the routing list; each reference holds one operation's procedure. Changing a rule means changing it wherever it actually lives, not restating it in SKILL.md.
  • references/templates/*.md - the fill-in templates (authoritative for exact format)
  • examples/ - a self-consistent sample vault that must conform to the spec

The examples are validated against the spec, not decorative. After any format change, re-check that example frontmatter, links, the supersession pair, and the index/log still match SKILL.md and the templates. The structural linter must stay clean on the sample vault: uv run scripts/lint_wiki.py examples reports no issues.

Concept maps add a fourth coupling: the palette and rules in references/concept-map.md, the worked map in examples/wiki/machine-learning/why-transformers-scale.md, and the checks in references/lint.md must agree, and the validator must stay green on the samples: uv run scripts/lint_mermaid.py --require-edge-labels --max-nodes 12 examples/ references/.

Don't re-add what the design omits

The skill deliberately excludes embeddings and vector search, a knowledge-graph database, numeric confidence scores, decay/forgetting curves, autonomous background writes, and multi-agent sync (see "Design philosophy" in SKILL.md). These omissions are the design, not gaps. It stays self-contained: plain markdown, relative links, git, and stdlib-only helper scripts that are read-only and write no artefacts. scripts/ holds exactly two, both run via uv when available and both intentional (don't strip them as clutter, the way README.md and examples/ are): lint_mermaid.py validates concept-map mermaid, and lint_wiki.py reports the deterministic structural lint checks. They detect only - the agent applies fixes - so neither mutates the wiki. A new script must keep that contract (stdlib, read-only, no artefacts) or it doesn't belong. No databases, servers, embeddings, or third-party packages.

Editing SKILL.md

  • Keep it lean: it holds the always-loaded rules, the scenario-routing list, and each operation's must-read gate. Every procedure belongs in references/, as Ingest, Lint, Audit and Critique do. The gate is the validator's worst-case load rating (SKILL.md plus the largest single reference) staying at Good or better - never let a change push it to OK.
  • The skill name must match the directory name (llm-wiki); the spec validator enforces this.
  • Validate after changes with the skill-creator-primer validate_skill.py. Its sibling quick_validate.py wrongly rejects valid Claude Code frontmatter extensions, so trust the spec validator.

Commits and style

  • Commit with the GitHub noreply alias (e.g. <username>@users.noreply.github.com), never a personal email.
  • Match the repo's prose: Australian English, plain ASCII punctuation (straight quotes, single hyphens), and no marketing language.

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.