Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

configure-readme

БесплатноЗапускает вложенные скриптыНе проверен

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…

laurigatesот laurigates★ 61 звезда на GitHub

Об этом скилле

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

  • Project root: !pwd
  • Project name: !basename $(pwd)
  • README exists: !find . -maxdepth 1 -name 'README.md'
  • Docs pages: !find . -maxdepth 2 -path './docs/*.md'
  • Package files: !find . -maxdepth 1 \( -name 'package.json' -o -name 'pyproject.toml' -o -name 'Cargo.toml' -o -name 'go.mod' \)
  • Git remotes: !git remote -v
  • License file: !find . -maxdepth 1 -name 'LICENSE*'
  • Assets directory: !find . -maxdepth 2 -type d \( -name 'assets' -o -name 'public' -o -name 'images' \)
  • Logo files: !find . -maxdepth 3 -type f \( -name 'logo*' -o -name 'icon*' \)

Parameters

Parse from $ARGUMENTS:

  • --check-only: Report compliance against the slim shape without modifications (CI/CD mode)
  • --fix: Apply the split and README rewrite without prompting
  • --badges <shields|custom>: Badge style preference (default: shields)
  • --no-logo: Skip the logo even if assets exist

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).
  2. 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.
  3. Read the existing docs/*.md pages so moved content merges into them instead of duplicating.
  4. 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.
  2. 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.
  3. Generate the project layout for development.md with `tree -L 2 -I 'node_modul
Полный SKILL.md на GitHub

Установить configure-readme в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Glob
Grep
Read
Write
Edit
Bash(bash ${CLAUDE_SKILL_DIR}/scripts/check-readme-links.sh *)
Bash(find *)
Bash(rg *)
Bash(basename *)
Bash(git remote -v)
AskUserQuestion
TodoWrite
WebSearch

Вложенные файлы

REFERENCE.mdevals.jsonscripts/check-readme-links.sh

FAQ

Что делает скилл configure-readme?

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.

Как установить скилл configure-readme?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл configure-readme запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить configure-readme с