agentleFS
Dowon-Kim7949Dowon-Kim7949/llm-wiki-governance/.claude/skills/llm-wiki-bootstrap/SKILL.md

llm-wiki-bootstrap

Skill0 starsChanged 37 days agoMITView on GitHub

Enrich a newly initialized LLM-WIKI from actual source evidence while keeping documents needs_review.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read the nearest AGENTS.md (or your agent's instruction file) and docs/llm-wiki/index.md first.

    line 17
  2. Very specific:

    Read a large file by line range or section instead of whole.

    line 24
  3. Distinctive:

    Never trade evidence for brevity: read a file in full when the change depends on it, and read more whenever narrowing would leave a claim …

    line 25
  4. Distinctive:

    Update every affected document in the same task — a requirement document the change implements included — and refresh its source_files and …

    line 28
  5. Distinctive:

    Verify each claim you leave behind against the actual source.

    line 29
  6. Very specific:

    Run the relevant checks before finishing ('llm-wiki validate', plus 'llm-wiki impact --since <ref>' for the documents your diff touched) …

    line 30
  7. Distinctive:

    When a domain document mentions API usage, include this API Services inventory:

    line 34
  8. Distinctive:

    Never write sensitive raw values into documents or reports.

    line 48
  9. Distinctive:

    Keep every created or edited wiki document at status: needs_review.

    line 49
  10. Distinctive:

    Do not promote anything to verified — verified is human-approved only.

    line 50
  11. Distinctive:

    When finished, run the appropriate validate / audit / stats checks and summarize the results, and call out the areas with thin or missing …

    line 52

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

Project domain map: none detected yet — read docs/llm-wiki/index.md and browse docs/llm-wiki/domains/ to find the relevant area.

You are a senior engineer bootstrapping an LLM-WIKI from real source evidence.

Task: Enrich the freshly initialized LLM-WIKI (created by 'llm-wiki init --write') so every document is backed by real code. The project type is library. Active profiles: core, library. Preconditions: this runs after init has generated docs/llm-wiki/index.md, the core/profile documents, and (when detected) docs/llm-wiki/domains/*.md.

Required workflow: Documentation language: write all LLM-WIKI document content — prose, headings, summaries, review notes, and the log.md entry — in English. Keep technical identifiers (paths, code symbols, JSON keys, frontmatter fields, status values, CLI commands, and evidence locators) unchanged.

  1. Read the nearest AGENTS.md (or your agent's instruction file) and docs/llm-wiki/index.md first.
  2. Review the init-generated documents and their source_files to see what still needs grounding.
  3. Investigate the actual code, config, routing, public APIs, data models, and key workflows before making any claim. Library evidence focus:
  • Inspect public exports, package entrypoints, type declarations, examples, versioning policy, compatibility guarantees, and release flow. Context budget (spend tokens on evidence, not on volume):
  • Locate before reading: search/grep, or 'llm-wiki prepare --task "<the task>" --compact', then open only what the task needs.
  • Read a large file by line range or section instead of whole; for wiki docs use 'llm-wiki get-doc <path> --section "<heading>" --strict-section --max-chars <n>'.
  • Never trade evidence for brevity: read a file in full when the change depends on it, and read more whenever narrowing would leave a claim unverified.
  • Report tests as the failures plus the summary line (prefer the project's quiet/compact reporter when it has one), not the full passing output. Governance budget (strict — completeness and verification are the deliverable):
  • Update every affected document in the same task — a requirement document the change implements included — and refresh its source_files and evidence anchors so the mapping still resolves.
  • Verify each claim you leave behind against the actual source. A document you could not verify is a review item, not a finished one — say which.
  • Run the relevant checks before finishing ('llm-wiki validate', plus 'llm-wiki impact --since <ref>' for the documents your diff touched) and report what they said.
  • Generated for governance mode strict; 'llm-wiki mode' shows the current one, and 'llm-wiki init --write --skills --refresh' regenerates this workflow after a change.
  1. Replace placeholder content with descriptions backed by real source evidence. Do not guess — leave anything uncertain as an explicit review item instead of inventing detail.
  2. For backend/fullstack projects, also enrich the related docs/llm-wiki/domains/*.md documents. When a domain document mentions API usage, include this API Services inventory:
  • API service name.
  • Endpoint or client module.
  • HTTP method or call signature.
  • Request params or payload.
  • Response shape.
  • Auth, session, token, or cookie dependency.
  • Error handling.
  • Retry or timeout behavior.
  • Cache or state update behavior.
  • Related UI or domain workflow.
  • source_files evidence, plus optional evidence references for specific files, lines, symbols, sections, or routes; mirror precise references in the body ## Evidence section.
  1. Tidy the related frontmatter entries and local Markdown links between related documents.
  2. Record broad evidence in source_files and precise evidence in the frontmatter evidence entries, mirrored in the body ## Evidence section.
  3. Never write sensitive raw values into documents or reports; describe them only in redacted form when necessary.
  4. Keep every created or edited wiki document at status: needs_review.
  5. Do not promote anything to verified — verified is human-approved only.
  6. Append docs/llm-wiki/log.md in append-only style with the changed files, evidence, caveats, and remaining review items.
  7. When finished, run the appropriate validate / audit / stats checks and summarize the results, and call out the areas with thin or missing evidence and the items a human must review before verified.

Expected final response:

  • Changed wiki docs (and any domain docs enriched).
  • Source evidence inspected.
  • validate / audit / stats run and results.
  • Areas with thin or missing evidence, and items a human must review before verified.

Completion contract (Gate 26 — enables 'llm-wiki check-run'): after finishing, write .llm-wiki/runs/run-bootstrap-<timestamp>.json with fields: task="bootstrap", changedSource[] (source files you edited), touchedDocs[] (docs/llm-wiki/* you updated), logAppended (bool), validated {ran, result}. Then run 'llm-wiki check-run' to confirm each changed source is referenced by a touched doc, the log was appended, and validate passed. Keep the manifest small: those fields are the whole contract and check-run reads no others — an optional summary is fine at two sentences or less, and you should never paste diffs, file contents, logs, or test output into it (the wiki and docs/llm-wiki/log.md are where the narrative belongs). This records what the run did — it never replaces human review and never promotes a document to verified.

<!-- llm-wiki-generated v5 0caf572ceb3c4bce -->

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.