Configure readme

From laurigates/claude-plugins · View interactive version

Configure readme is an AI agent skill from the GitHub repository laurigates/claude-plugins. Slim README.md (badges, quick start, docs index) with the detail moved into docs/ pages. Use when creating or auditing a README, splitting a long one, or adding badges.

How to use this skill

Skill file

When to Use This Skill

| Use this skill when... | Use another approach when... |

|------------------------|------------------------------|

| Creating a README.md for a new project from scratch | Editing specific README content — use direct file editing |

| Splitting a long README into a slim README plus docs/ pages | Writing detailed API documentation — use /configure:docs |

| Auditing a README against the slim shape (header, description, quick start, docs index, licence) | Creating a GitHub Pages documentation site — use /configure:github-pages |

| Adding shields.io badges or a documentation index table | Writing a changelog — use release-please automation via conventional commits |

| Ensuring the quick start uses the correct install command for the detected stack | Only need to update a single section — edit the file directly |

The Slim Shape

The README is the only template. It is read on the repository page, on package

registries and often inside release archives, so it stays short and points into

docs/ for everything else.

| README.md keeps | docs/ gets (only pages that have content) |

|-----------------|---------------------------------------------|

| Header: logo or banner, title, badges | usage.md — command line, configs, outputs, recipes |

| What the project does, in two or three sentences | configuration.md — options, environment variables, config files |

| Quick start: install, one example command, an outputs table where the tool writes files | architecture.md (or pipeline.md) — stages, components, technology |

| Documentation index: a table linking each docs/ page | development.md — building, checks, project layout, contributing, releases |

| Licence | |

Sections such as Features, Tech Stack, Usage reference, Configuration,

Architecture, Project Structure, Development, Contributing and Releases belong

in docs/. A README that carries them is non-compliant, and the fix moves them.

Context

Parameters

Parse from $ARGUMENTS:

Execution

Execute this README configuration workflow:

Step 1: Detect project metadata

Read name, description, version, licence, repository and keywords from the

detected package file (package.json, pyproject.toml, Cargo.toml, or the

module path in go.mod). With no package file, fall back to the directory name,

the first line of the existing README, the git remote URL and the LICENSE file.

Package file formats are in REFERENCE.md.

Step 2: Inventory the README and docs/

  1. Read README.md and classify each ## section with the section-to-page map in

REFERENCE.md: keep (header, description, quick start,

documentation index, licence) or move (and to which docs/ page).

  1. Check the kept parts: description is two or three sentences; quick start has

an install command and one example command; the documentation index links

every docs/ page; badges and a licence are present.

  1. Read the existing docs/*.md pages so moved content merges into them instead

of duplicating.

  1. Find files that point at README sections:

rg -n 'README(\.md)?(#|\s*§)' --glob '!node_modules' plus prose such as

"see the README". Each hit that names a section being moved needs repointing.

Step 3: Report compliance

Run the link check and print the compliance report (format in

REFERENCE.md): PASS / PARTIAL / MISSING for each kept part, and

MOVE → docs/<page>.md for each detail section still in the README.

bash "${CLAUDE_SKILL_DIR}/scripts/check-readme-links.sh"

If --check-only is set, stop here.

Step 4: Move the detail sections into docs/

Unless --fix is set, confirm the planned moves with AskUserQuestion first.

  1. Create only the docs/ pages that receive content; a project with no

configuration gets no configuration.md.

  1. Move each section's text as written, demoting headings one level under the

page's # title. Merge into an existing page rather than creating a second

one on the same topic.

  1. Generate the project layout for development.md with

tree -L 2 -I 'node_modules|target|__pycache__|.git|dist|build' --dirsfirst.

  1. Fix relative links inside moved text: a link that was src/x.py from the

root is ../src/x.py from docs/.

Step 5: Write the slim README

Write README.md from the slim template in REFERENCE.md: header

with logo (unless --no-logo or no asset exists) and badges, two or three

sentences, quick start, documentation index table, licence. Take the install and

example commands from the detected stack:

| Package Manager | Install | Run | Test | Build |

|----------------|---------|-----|------|-------|

| npm/bun (package.json) | Read scripts from package.json | npm run dev | npm test | npm run build |

| uv/poetry (pyproject.toml) | uv sync / poetry install | uv run python -m pkg | uv run pytest | - |

| cargo (Cargo.toml) | cargo install --path . | cargo run | cargo test | cargo build --release |

| go (go.mod) | go install ./... | go run . | go test ./... | go build |

Test and build commands go in docs/development.md, not the README.

Step 6: Repoint references and verify links

  1. Update every hit from Step 2.4 to the section's new page, for example

README.md#configuration becomes docs/configuration.md, and prose that

cites a README section by name cites the new page instead.

  1. Re-run check-readme-links.sh and fix each broken_link / broken_anchor

row until it reports STATUS=OK.

Step 7: Update standards tracking

Update .project-standards.yaml, and remove a readme_style key left by an

earlier version of this skill (the slim shape is the only template):

components:
  readme: "2026.11"
  readme_has_logo: true|false
  readme_badges: ["license", "ci", "version"]
  readme_docs_pages: ["usage", "development"]

Step 8: Report results

Print the files written, the sections moved and where, the references repointed,

and the final link-check status. Results format in REFERENCE.md.

Output

Provide:

  1. Compliance report against the slim shape
  2. The slim README.md and each docs/ page written or updated
  3. References repointed, and the link-check result
  4. Suggestions (logo, badges, missing quick-start example)

Agentic Optimizations

| Context | Command |

|---------|---------|

| Quick compliance check | /configure:readme --check-only |

| Split and rewrite without prompting | /configure:readme --fix |

| Check relative links and anchors | bash "${CLAUDE_SKILL_DIR}/scripts/check-readme-links.sh" --project-dir . |

| Find references to README sections | rg -n 'README(\.md)?(#\|\s*§)' --glob '!node_modules' |

| Generate project tree | tree -L 2 -I 'node_modules\|target\|__pycache__\|.git\|dist\|build' --dirsfirst |

See Also

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.