agentleFS
everywan-deveverywan-dev/claude-code-engineering/skills/set-up-verified-documentation/SKILL.md

set-up-verified-documentation

Skill2 starsChanged 3 months agoApache-2.0View on GitHub

Use when a project wants to adopt the validated-memory method -- bootstrapping curated knowledge and agent memory for the first time, wiring the harness's persistent memory to this project, or verifying an adoption is set up correctly. Triggers on requests like "adopt validated-memory here", "set up curated knowledge for this project", "bootstrap the memory layer", or "wire the harness memory symlink".

The file

We split this skill 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:

    Start writing curated knowledge with the document-with-evidence skill.

    line 67

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill 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
SKILL.md

Set up verified documentation

Adopting the plugin in a project is one command, run from the project root.

Bootstrap the layout

python3 -m validated_memory init

This scaffolds, creating each item only if missing (existing items are never touched):

  • knowledge/ -- empty; curated-knowledge units go here.
  • memory/ -- empty except for its index, memory/MEMORY.md.
  • validated-memory.md -- the adopter configuration: declares the extension, the id_prefix, and the probe registry (already mapping git_ref to the bundled probe).
  • knowledge-extension.md -- a valid, empty declared extension (fields: []).

init reports init: created <path> or init: kept <path> for each item, and is safe to re-run: it is idempotent and never overwrites a hand-edited file. See the README's init section for the full contract, including --harness-memory below.

Wire the harness's persistent memory (optional)

python3 -m validated_memory init --harness-memory PATH

Makes PATH a move-proof symlink to this project's memory/ directory, so the harness reads agent memory from wherever it expects it while the data stays versioned inside this repo. Safe to call repeatedly, including after the project is renamed or re-cloned -- it only ever re-points the symlink, never deletes data. The plugin's SessionStart hook (hooks/restore-memory-symlink.sh) already calls this automatically for an adopted project on every session start; running it by hand is only needed to wire a harness location the hook does not already know about.

Verify the adoption

Right after init, both enforcement commands must pass clean:

python3 -m validated_memory validate
python3 -m validated_memory lint

validate may still report a WARNING for an empty knowledge/ (no units to check) -- that does not gate. Any ERROR means the scaffold is broken; do not proceed until both commands are clean.

Next steps

  • Declare adopter-specific fields by editing knowledge-extension.md -- see the document-with-evidence skill and the README's "Declared extension" section.
  • Register a probe for each anchor kind your units will use, by adding an entry under probes: in validated-memory.md -- see the detect-stale-documentation skill and the README's probe section.
  • Start writing curated knowledge with the document-with-evidence skill.

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.