agentleFS
certiniacertinia/debug-log-analyzer-mcp/.claude/skills/repo-docs/SKILL.md

repo-docs

Skill33 starsChanged 3 months agoBSD-3-ClauseView on GitHub

Where a fact belongs in this repo's docs, and the shape each file expects - README tools reference, generated token-cost blocks, MIGRATING, CLAUDE.md and DEVELOPING.md. Use when documenting a tool, parameter or response field, or when a doc figure no longer matches the code.

6 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions6 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 6

    1. YurunChen/repo-docs-skills★ 468same name
    2. phanghonghao/THU-Awesome-Skills★ 8same name
    3. vbonk/repo-template★ 8same name
    4. korya/swd-skills★ 2same name
    5. IsthisLee/agent-context-manager★ 1same name
    6. alanben/ClaudeSkills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

Files
SKILL.md

Repo docs

Voice comes from the developer-writing skill. This skill says which file a fact belongs in and what shape that file expects. Changelog entries have their own rules - use changelog-entry.

One fact, one file

FactFile
What a tool returns, its parameters, its response fieldsREADME.md, Tools Reference
What a 1.x caller must changeMIGRATING.md
What a reader of the released package can see changedCHANGELOG.md (changelog-entry skill)
Why a response is shaped that way; the shaping rulesDEVELOPING.md
What a contributor or agent needs before touching the codeCLAUDE.md
Why a budget number is what it isthe comment beside it in scripts/eval.mjs

Response-shaping policy never reaches the wire: not a .describe(), not a tool description. It is a contributor fact.

README shape, per tool

The Tools Reference gives each tool, in this order:

  1. One paragraph of what it answers and what it is best for - the served tool description in README voice, not a copy of it.
  2. The generated shape-<tool> block: every response field and its columns.
  3. Hand-written prose for what the block cannot say - what a column means, what makes one conditional, what an extra table joins to.
  4. The generated params-<tool> block.

A new parameter regenerates its own row. Write prose for it only if it changes what the rows carry.

Generated blocks - never hand-edit

README.md holds nine blocks between markers, all written by the eval run:

  • token-cost-definitions and token-cost-answers - the two token tables
  • params-<tool> - the parameter table, from the schema the client is served
  • shape-<tool> - the response fields, from the fixture the figures are measured against

pnpm run build && pnpm run eval:update regenerates them with the goldens. pnpm run eval fails when they drift, so a hand edit is a CI failure, not a saving.

The prose around those tables is hand-written and does not regenerate - the paragraph naming what the unsliced 19.7 MB sample log costs is measured with node scripts/eval.mjs --report <log> and has to be re-measured by hand when a response shape moves. It is the one figure in the file nothing checks.

Figures in prose

Any figure a reader can check must match the code: percentages against 1.x, token counts, corpus sizes, row caps such as NAME_LIMIT and the page budget. When a change moves one, grep the docs for the old number before you commit - README.md, DEVELOPING.md, CLAUDE.md and MIGRATING.md all quote them.

MIGRATING

One section per thing a 1.x caller must do, each with a mapping table where the change is a rename, and a sentence naming what to grep for in their own prompts, agents and skills. No rationale - that is the changelog's job and the issue's.

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.