craft-repository-readme
Skill15 starsChanged 4 months agoMITView on GitHub
Create or overhaul polished, trustworthy GitHub repository READMEs with a logo, meaningful badges, hero visuals, navigation, quickstart instructions, verified links, sponsor content, and repository metadata. Use when a user asks to write, beautify, professionalize, brand, audit, or publish a project README, especially when they want a README with images, badges, demos, links, or donation QR codes.
- Reads credentials
In this repository8 other files it gives its agents.
- anatomySkill
- atypica-researchSkill
- 飞书多 Agent 配置助手Skill
- haiguitangSkill
- heang-designSkill
- heang-worldSkill
- OpenClaw 网络优化助手Skill
- shuorenhuaSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
28 rules. About 0 are common, 26 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈26
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use audit mode when the user asks for feedback only.
- Distinctive: line 13
Use build mode when the user asks to create or improve the README.
- Distinctive: line 14
Use publish mode only when the user asks to commit, push, open a pull request, or update repository settings.
- Distinctive: line 29
Treat README work as a release review.
- Distinctive: line 31
Search tracked files and staged changes for API keys, private keys, tokens, passwords, cookies, internal hostnames, private IPs, and …
- Distinctive: line 32
Never paste secrets from local configuration, chat history, shell history, or deployment files.
- Distinctive: line 37
Stop and surface a concrete blocker if publication would expose sensitive material.
- Distinctive: line 41
Write the README for this sequence:
- Distinctive: line 50
Read references/readme-patterns.md before rebuilding a README layout or selecting badges.
- Distinctive: line 54
Use this order when the project has the assets to support it:
- Very specific: line 63
Prefer repository-owned assets under a stable docs/, .github/, or assets/ path.
- Distinctive: line 65
Do not use fake build badges, placeholder metrics, giant badge walls, decorative counters, or hotlinked assets that the project does not …
- Distinctive: line 79
Add architecture, API reference, compatibility, roadmap, FAQ, or troubleshooting only when the project warrants them.
- Distinctive: line 85
When the user provides and authorizes a sponsor image or QR code:
- Very specific: line 88
Use a clear heading such as 支持项目 or Sponsor near the lower part of the README.
- Distinctive: line 89
Add alt text, a reasonable width, and one sentence explaining what support funds.
- Distinctive: line 90
Never alter, decode, or regenerate a payment QR code unless explicitly requested.
- Distinctive: line 92
Do not let sponsorship outrank the quickstart, documentation, or security information.
- Distinctive: line 96
Run the project's relevant build, test, lint, or smoke commands when practical.
- Distinctive: line 104
Add strict flags when the corresponding elements are required:
- Distinctive: line 115
Every install and run command matches the repository.
- Distinctive: line 121
No secret, placeholder, local absolute path, or unverified claim remains.
- Distinctive: line 125
When publication is in scope:
- Distinctive: line 128
Commit with a focused message and push through the repository's normal workflow.
- Distinctive: line 129
Prefer a pull request when branch protections or collaboration practices require one.
- Distinctive: line 130
Update the GitHub description, homepage, topics, and social preview only when the user requested repository settings changes and the values …
- Distinctive: line 136
All prominent claims and commands are verified against the repository.
- Distinctive: line 139
No secret or private environment detail is exposed.
≈ “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
Craft Repository README
Turn a repository into a clear, credible landing page. Base every claim, command, badge, and link on the actual project; visual polish must never outrun accuracy.
Choose the operating mode
- Use audit mode when the user asks for feedback only. Inspect and report; do not edit or publish.
- Use build mode when the user asks to create or improve the README. Edit the repository and validate the result.
- Use publish mode only when the user asks to commit, push, open a pull request, or update repository settings. Follow the repository's normal Git workflow.
1. Inspect the real project
Before drafting, inspect:
- Existing
README*, contribution, security, license, changelog, and deployment documents. - Package manifests, entry points, example environment files, test commands, screenshots, logos, and public URLs.
- Git remote, default branch, release tags, CI workflows, and hosting configuration.
- Repository-level instructions such as
AGENTS.mdorCONTRIBUTING.md.
Derive the product name, one-sentence value proposition, audience, supported platforms, install commands, run commands, and deployment story from evidence. If a material fact cannot be verified, omit it or label it clearly as planned.
2. Run a public-scope and security check
Treat README work as a release review. Before exposing details:
- Search tracked files and staged changes for API keys, private keys, tokens, passwords, cookies, internal hostnames, private IPs, and personal paths.
- Never paste secrets from local configuration, chat history, shell history, or deployment files.
- Link to
.env.example; never reproduce values from.env. - Confirm that screenshots, QR codes, names, and contact links are intentionally public.
- Preserve license, trademark, attribution, and third-party asset notices.
Stop and surface a concrete blocker if publication would expose sensitive material.
3. Design the story before the decoration
Write the README for this sequence:
- Recognize — name, logo, concise promise.
- Trust — a small set of truthful badges and a real product visual.
- Understand — what it does, who it is for, and its key difference.
- Try — shortest verified path from clone to working result.
- Adopt — configuration, deployment, architecture, limitations, and support.
- Participate — contribution, security, license, sponsors, and community.
Read references/readme-patterns.md before rebuilding a README layout or selecting badges.
4. Build a compact branded header
Use this order when the project has the assets to support it:
- Linked logo with descriptive alt text and a restrained display size.
- Project name and one-line value proposition.
- Four to eight meaningful badges.
- Primary links such as live demo, documentation, issue tracker, or download.
- Optional in-page navigation for a long README.
- One strong hero image, product screenshot, or short demo.
Prefer repository-owned assets under a stable docs/, .github/, or assets/ path. Reuse an existing logo before generating a new one. If the user requests a new visual and an image-generation skill is available, use it, then optimize the result for repository display.
Do not use fake build badges, placeholder metrics, giant badge walls, decorative counters, or hotlinked assets that the project does not control.
5. Select only useful sections
A compact project normally needs:
- What it is and why it exists.
- Feature highlights grounded in implemented behavior.
- Quickstart with copyable, tested commands.
- Configuration using safe placeholders.
- Screenshots or demo when visual proof materially helps.
- Deployment or production notes when the project is deployable.
- Contributing, security, license, and acknowledgements links when those files exist.
Add architecture, API reference, compatibility, roadmap, FAQ, or troubleshooting only when the project warrants them. Do not create empty boilerplate sections.
For Chinese projects, write natural Chinese first and retain technical identifiers in their original form. Add an English version only when requested or when the repository already maintains one.
6. Add sponsorship without disrupting the product story
When the user provides and authorizes a sponsor image or QR code:
- Copy it into a stable repository-owned asset path.
- Use a clear heading such as
支持项目orSponsornear the lower part of the README. - Add alt text, a reasonable width, and one sentence explaining what support funds.
- Never alter, decode, or regenerate a payment QR code unless explicitly requested.
Do not let sponsorship outrank the quickstart, documentation, or security information.
7. Verify the README as executable documentation
Run the project's relevant build, test, lint, or smoke commands when practical. Then run the bundled checker:
python3 craft-repository-readme/scripts/validate_readme.py \
--repo-root . \
--readme README.mdAdd strict flags when the corresponding elements are required:
python3 craft-repository-readme/scripts/validate_readme.py \
--repo-root . \
--readme README.md \
--require-logo --require-badges --require-hero --require-sponsorAlso verify manually:
- Every install and run command matches the repository.
- Relative image and document links resolve with GitHub's case-sensitive paths.
- External links use the intended canonical domains.
- Heading anchors and table-of-contents links work.
- Images have descriptive alt text and reasonable dimensions.
- The README renders well on both desktop and narrow screens.
- No secret, placeholder, local absolute path, or unverified claim remains.
8. Publish deliberately
When publication is in scope:
- Review
git diffand keep unrelated changes out of the commit. - Commit with a focused message and push through the repository's normal workflow.
- Prefer a pull request when branch protections or collaboration practices require one.
- Update the GitHub description, homepage, topics, and social preview only when the user requested repository settings changes and the values are verified.
- Re-open the rendered README on GitHub after publishing and check images, badges, links, and mobile layout.
Completion criteria
- The first screen communicates name, purpose, trust signals, and the primary next action.
- All prominent claims and commands are verified against the repository.
- Logo, hero, badges, and sponsor content are intentional rather than ornamental.
- Links and local assets resolve.
- No secret or private environment detail is exposed.
- Validation passes, and the requested publish step is complete.
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.

