Readme Dir.Create
БесплатноБез исполняемых скриптовНе проверенWrite or update a directory's README.md with structure, files, and executables
от gpsaggese★ 158 звёзд на GitHubОб этом скилле
Goal
- You are an expert technical writer specializing in software documentation.
- Given a dir
<DIR>, write itsREADME.mdfollowing.claude/skills/readme_dir.rules.mdand the template.claude/templates/readme_dir.template.md - Say in the README how it was generated, with the line
- Generated by `.claude/skills/readme_dir.create/SKILL.md` - End the README with the section
# Review roadmap: the map of the dir, how to run the tests, the reading speeds, and the table of files with the time to read each one- The skill
.claude/skills/review.create_code_tour/SKILL.mdreads this section to write the checklist that guides the review of the dir
- The skill
Workflow
Examine the Directory
- List all subdirectories, files (Python/Markdown), and executables
Write the README
Put the
Generated by ...bullet from the Goal right after the title, before the Summary bulletsStructure the README with the sections from
.claude/skills/readme_dir.rules.md:- Summary, as bold-labeled bullets (Goal, Input, Output, Users)
- Structure of the Dir
- Description of Files
- Description of Executables (if applicable)
- Output Dir (if the executables write a tree of files in one dir), as a
##section of the executables, before the first executable - Description of Workflows (if applicable)
- Description of Architecture (if applicable)
- Review roadmap, as the last section, see "Write the Review Roadmap"
Follow all formatting rules from
.claude/skills/readme_dir.rules.md:- Description limits (e.g., <20 words for subdirs, 1-line for files)
- Command formatting with
>prefix and proper code blocks - Example ordering (simple to complex)
- Table format for command references
- Bullets only, no prose paragraphs, including the intro of each section
- Many outputs as one sub-bullet per file or per group of files
Check the Commands
- Check each example command against the current CLI of its executable (e.g., with
--help) - Remove the args that the tool dropped, and rename the args that the tool renamed
- Check the commands in the workflows too
Take the Inventory
- List the tracked and untracked files of the dir, without ignored files:
> git ls-files --cached --others --exclude-standard <DIR> - Count the lines of every file with
wc -l - Mark the files with uncommitted changes:
> git status --short <DIR> - Skip these, and list them in the "Skipped" line with the reason:
- Logs:
*.log - Scratch files:
tmp.* - Caches:
__pycache__/,.ruff_cache/,.pytest_cache/ - Symlinks
- The checklist file
code_tour.md
- Logs:
- Keep a raw export in the table, but give it no time
- E.g., a CSV over 1000 lines that a person downloads
- Running the scripts of the dir can create
<SCRIPT>.logfiles next to the scripts- Say it in the "Skipped" line, so that the reader ignores these files
Classify the Files
- Put each file in exactly one kind:
doc:README.md,*.README.md, files underdocs/,log.md,todos.mdtest: files undertest/or namedtest_*.pycode: all the other*.pyand*.shfilesdata: prompts, YAML, CSV, JSON, and other inputs read by the code
- Find the entry points
- A file is an entry point if it is executable, or has
_mainandif __name__ == "__main__"
- A file is an entry point if it is executable, or has
- Pair each
codefile with:- Its doc, e.g.,
<FILE>.README.mdor the design doc that names it - Its test, e.g.,
test/test_<FILE>.py
- Its doc, e.g.,
- Find the test helpers, i.e., test files that have no
test_prefix, e.g.,test/epq_test_utils.py
Set the Reading Time
- Use these speeds, in lines per min, and print them just above the table of the
files:
- Skim: 100, for any kind of file
- Read
docanddata: 30 - Read
code: 20 - Read
test: 40
- Compute the minutes of a file as
ceil(lines / speed), with 1 as the minimum- The
Minscolumn of the table uses the speed of the file's kind
- The
- Sum the
Minsof the table, and print the total in mins and in hours, rounded to the hour
Order the Code
- Build the import graph of the files of the dir
- Read the
importlines of each file, and keep the imports that point to another file of the dir
- Read the
- Sort the
codefiles bottom up- A file with no imports from the dir comes first
- A file comes after all the files that it imports
- Break ties with the smaller file first
- Entry points come last, in the order that the docs give for running them
- If the graph has a cycle, report it in the line "Cycles in the import graph" and sort the files of the cycle by size
Find the Purpose of Each File
- For each file, read the docstring or the first lines, and the doc paired with it
- Write the purpose of a file in one short line
- If the purpose is not clear from the file, write only the file name and put
purpose unknownin the line - Do not guess
- If the purpose is not clear from the file, write only the file name and put
Write the Revie
Установить Readme Dir.Create в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Readme Dir.Create?
Write or update a directory's README.md with structure, files, and executables
Как установить скилл Readme Dir.Create?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Readme Dir.Create запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic