readme-creation
Skill10 starsChanged 6 months agoMITView on GitHub
Generate self-contained README files that enable instant developer onboarding. Use when creating or updating directory or root repository documentation. Triggers: "create readme", "readme", "document directory", "write readme", "root readme".
2 other projects use a version of this.
Adopted by
Most recently taken up by
- nnennandukwe/skillstheir own version, first seen Sep 3, 2026
- e-dul/opencl-labtheir own version, first seen Mar 23, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- nnennandukwe/skills★ 4same name
- e-dul/opencl-lab★ 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 repository12 other files it gives its agents.
- commit-message-creationSkill
- contacts-managementSkill
- documentation-reviewSkill
- dot-gitlab-syncSkill
- issue-creationSkill
- living-design-documentsSkill
- meeting-agenda-creationSkill
- meeting-memo-creationSkill
- next-session-handoffSkill
- pull-merge-request-creationSkill
- senior-mentorSkill
- skill-creationSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
27 rules. About 0 are common, 16 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈16
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
Check ./assets/upgrade-from-*.md for migration instructions when updating READMEs created with older skill versions.
- Distinctive: line 68
Use your judgment - patterns work well for consistent naming conventions, explicit lists work better for small or varied collections.
- Very specific: line 72
Check ./assets/readme-template.md for README template
- Very specific: line 73
If not found, search /readme-template.md in repository
- Distinctive: line 74
If still not found, use minimal structure from this skill
- Very specific: line 78
Preferred: Use tree command for hierarchical view (may not be installed on all systems):
- Very specific: line 87
Fallback: Use ls or IDE file listing for flat view.
- Very specific: line 101
Use tree or list files at THIS level only (non-recursive)
- Distinctive: line 103
Look for naming patterns in files/subdirectories
- Very specific: line 104
Detect if this is a root README: Check if the target directory contains a .git/ directory or is the repository root
- Distinctive: line 105
If root README detected, follow the Root README Mode below before proceeding to Step 2
- Distinctive: line 106
If subdirectory README, read root README.md and parent README.md for context
- Distinctive: line 114
Check for LICENSE, CONTRIBUTING.md, SECURITY.md at project root
- Distinctive: line 115
If all three exist, likely a public repo - ask user to confirm
- Distinctive: line 116
If missing, likely a private repo - ask user to confirm
- Very specific: line 122
Check for .github/ directory at project root - indicates GitHub
- Very specific: line 123
Check for .gitlab/ directory at project root - indicates GitLab
- Distinctive: line 124
If both or neither, ask user which platform
- Distinctive: line 141
Ask: "If a dev lands here with zero context, do they understand in 30 seconds?"
- Distinctive: line 144
No broken assumptions about prior knowledge?
- Very specific: line 157
Inline formatting: Use _underscore_ for italics, not *single-star*.
- Distinctive: line 159
Prose: Do not insert hard newlines to simulate visual wrapping.
- Distinctive: line 161
Consistency: Use the same term for the same concept throughout.
- Distinctive: line 170
Non-recursive: Document THIS level only, link to subdirectory READMEs
- Distinctive: line 171
Pattern over listing: Consider documenting naming patterns for large directories
- Very specific: line 172
Link to README.md: Use Dir not ../dir/
- Distinctive: line 173
Root README mode: Always confirm repo visibility (public/private) and platform (GitHub/GitLab) with user before generating a root README
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
README Generation
Generate self-contained README files that enable developers to instantly understand any directory without reading parent or child documentation.
Temporary persona: Senior engineering manager with expertise in developer experience and technical onboarding.
When to Use This Skill
- Creating README for a new directory
- Updating existing README after structural changes
- Ensuring consistent documentation across repository
Upgrade Guides
Check ./assets/upgrade-from-*.md for migration instructions when updating READMEs created with older skill versions.
Core Philosophy
READMEs are entry points, not manuals.
| Principle | Implication |
| Self-contained | Stands alone - no need to read parent first |
| 30-second test | Purpose clear within 30 seconds of scanning |
| Context flows down | Provides context, links to children for details |
| Loose coupling | If directory moves, README still makes sense |
What Makes a README Effective
Good README:
- First 3 lines answer "What is this and why does it exist?"
- Structure visible at a glance (scannable headers)
- Links OUT to details, doesn't duplicate them
- Works as standalone landing page
Anti-patterns:
- Requires reading parent README to understand context
- Buries purpose below directory structure
- Duplicates content from other files
- Documents subdirectory internals (violates loose coupling)
- Over 100 lines (too much for quick orientation)
Documenting Patterns (Large/Flat Directories)
For directories with many similarly-named files, consider documenting the naming pattern instead of listing every file. This reduces maintenance when files are added or removed.
Example pattern table:
| Pattern | Purpose |
[type]-[tech-and-description].md | Guides categorized by type |
[skill-name]/ | Skill directories with standard structure |
Use your judgment - patterns work well for consistent naming conventions, explicit lists work better for small or varied collections.
Asset Resolution
- Check
./assets/readme-template.mdfor README template - If not found, search
**/readme-template.mdin repository - If still not found, use minimal structure from this skill
Directory Exploration
Preferred: Use tree command for hierarchical view (may not be installed on all systems):
tree -L 2 --dirsfirst [directory] # 2-level depth, directories first
tree -L 1 --dirsfirst # 1 level, directories firstTree ordering convention: Directories first (lexicographically), then files (lexicographically). This matches common IDE file explorers and tree --dirsfirst output.
Fallback: Use ls or IDE file listing for flat view.
Git Operations (Read-Only)
Setup: Pipe all git commands to cat to avoid interactive mode.
Safe commands: git status | cat, git ls-files | cat, git log --oneline -5 | cat
Forbidden: git commit, push, pull, merge, rebase, add, reset, clean, stash
Process
Step 1: Understand Context
- Use
treeor list files at THIS level only (non-recursive) - Identify: What problem does this directory solve?
- Look for naming patterns in files/subdirectories
- Detect if this is a root README: Check if the target directory contains a
.git/directory or is the repository root - If root README detected, follow the Root README Mode below before proceeding to Step 2
- If subdirectory README, read root README.md and parent README.md for context
Root README Mode
Root READMEs are a special case requiring additional context gathering. Auto-detect the following, then always confirm with the user before generating:
Repo visibility:
- Check for LICENSE, CONTRIBUTING.md, SECURITY.md at project root
- If all three exist, likely a public repo - ask user to confirm
- If missing, likely a private repo - ask user to confirm
- Public repos: Include References to LICENSE, CONTRIBUTING.md, SECURITY.md if they exist; suggest creating them if missing
- Private repos: Skip license/contributing/security sections; ask about internal docs, wikis, or team-specific resources
Platform detection:
- Check for
.github/directory at project root - indicates GitHub - Check for
.gitlab/directory at project root - indicates GitLab - If both or neither, ask user which platform
- GitHub repos: Reference GitHub Issues for questions/support
- GitLab repos: Reference GitLab Issues for questions/support
Step 2: Write with 30-Second Test in Mind
Structure for scannability:
- Title - identity
- Overview - what and why (most critical - first thing devs read)
- Directory structure or patterns - what's here (this level only)
- Quick links - where to go next
- Prerequisites/Getting Started - how to use (if operational)
- References - additional context (root READMEs: adjust per visibility and platform)
Step 3: Validate Self-Containment
Ask: "If a dev lands here with zero context, do they understand in 30 seconds?"
- Purpose clear without reading parent?
- No broken assumptions about prior knowledge?
- Links provide escape hatches to details?
- Root READMEs: Does the References section match the repo's actual visibility and platform?
Output Format
Present README in markdown following template structure. Target ~50 lines, max 100.
General Doc Constraints
Apply to all generated output. If a discovered template deviates from any rule (e.g., uses emojis semantically, uses a different bullet convention), note the deviation explicitly and confirm with the user before treating it as a permitted exception.
- Characters: QWERTY keyboard typeable only - no smart quotes, emojis, or special Unicode anywhere. In prose, do not use em-dashes or em-dash substitutes (
--,--); use-(space-dash-space) for clause separation instead. Exceptions:↑for ToC navigation; Unicode box drawing characters fortree-style directory rendering. - Inline formatting: Use
_underscore_for italics, not*single-star*. Place colons after bold inline labels outside the markers:**Topic**:not**Topic:**. - Bullets: Use
-for all unordered lists; one bullet per complete thought; never wrap a bullet's content mid-sentence onto a continuation line - split into separate bullets if too long or multi-thought. Nested sub-bullets for component grouping are permitted. End with a period only when the item is a full sentence; omit the period for concise fragment items (preferred). - Prose: Do not insert hard newlines to simulate visual wrapping. Keep each prose paragraph on one continuous physical line and let editors or viewers wrap it visually. Exception: commit message bodies use one sentence per line for
git logreadability. - Template hygiene: Delete
(optional)and any parenthetical conditional label (e.g.,(if operational)) from a section header the moment the section is populated - treat it as a.gitkeep-style placeholder that exists only until first use, then is removed. Omit the entire section (header and body) when unused. Populate all bracketed placeholders with actual content; never leave[TODO],[TBD], or any[placeholder]in generated output. - Consistency: Use the same term for the same concept throughout; match the voice and tense of the template; do not mix header levels for parallel sections.
- KISS and DRY: Each section and bullet conveys unique information - no redundancy or overlap.
General Doc Constraints v1.2.0 - KemingHe/common-devx
Skill Constraints
- Self-contained: README makes sense without parent context
- 30-second rule: Purpose clear at first scan
- Non-recursive: Document THIS level only, link to subdirectory READMEs
- Pattern over listing: Consider documenting naming patterns for large directories
- Link to README.md: Use
[Dir](../dir/README.md)not../dir/ - Root README mode: Always confirm repo visibility (public/private) and platform (GitHub/GitLab) with user before generating a root README
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
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.

