Create a Polished README.md for Any Project
Goal
Produce a high-quality README.md:
- Clear title + short tagline
- Optional logo
- Relevant badges
- Conversational hook
- “What is ?” section
- Getting Started with minimal, copy-pasteable examples
- Structure table of key packages/modules
- Friendly closing
Keep it accurate (no hallucinations), concise, and developer-friendly.
Tooling You May Use
- Repo metadata & history
git --no-pager log -n 20 --oneline
git --no-pager ls-files
git remote get-url origin
- Language fingerprints (pick what applies)
- Go:
go list -m (module path), check for go.mod
- Node: read
package.json
- Python:
pyproject.toml / setup.cfg
- Rust:
Cargo.toml
- Code & examples discovery
- Search
examples/, cmd/, docs/, internal/, pkg/, src/
- Look for a logo in
docs/img/*, assets/*, logo.*
- Coverage/CI hints
- Look for
codecov.yml, GitHub Actions in .github/workflows, etc.
Rule: Prefer facts from code/config over assumptions. If unsure, add a small “(optional)” note or omit.
Rules & Style
- Tone: friendly, crisp, “smart brevity” with tiny hints of personality.
- Accuracy: verify claims from code/tests; don’t invent features.
- Examples: minimal, runnable; show the shortest path to value.
- Badges: only include ones you can confidently compute (repo, language, docs).
- Links: prefer relative links for in-repo assets (e.g.,
docs/img/logo.png).
- Emojis: tasteful in headings (e.g., section icons) but don’t overdo it.
What to Extract
- Project name (language artifact or repo name)
- One-line tagline (what it is + why it matters)
- Logo path if present
- Badges (selectively based on tech & repo):
- GitHub default branch, Go version, Codecov, Docs site (pkg.go.dev/docs.rs/PyPI/npm), Go Report Card, CI status
- Core features (from code & docs)
- Getting Started:
- Library: install/import + minimum example
- CLI: install + first command + basic usage
- Service: install + how to run + basic API call
- Structure: key packages/modules with short descriptions + doc links
- Closing: short call for feedback/PRs
Output Format (write exactly this structure)
# <ProjectName> <optional emoji>
<optional logo image, if found>
**<Short tagline (1 line)>**
<Badges block (only if resolvable)>
---
<1–3 paragraph hook that frames the pain/problem and why this project helps. Keep it human.>
---
## 🧠 What is <ProjectName>?
<Explain what it does, who it’s for, and the main use cases. Bullet the top 3–5 benefits.>
- <Benefit 1>
- <Benefit 2>
- <Benefit 3>
---
## 🚀 Getting Started
### Installation
<Show language-appropriate install. Examples:>
- **Go (library)**
```bash
go get <module-path>
Minimal Example
<Provide the smallest runnable example. Use the project’s primary entry points.>
<tiny, working example>
<Optional: second example demonstrating a standout feature.>
🧱 Structure
<Brief sentence: “The project is organized into focused modules so you can depend only on what you need.”>
| Module/Path |
Description |
Docs |
<path/pkg> |
<1-line summary> |
Reference |
<path/pkg2> |
<1-line summary> |
Reference |
(Add 2–6 rows; keep it tight.)
📦 Tech & Integrations (optional)
- Language/Runtime: <e.g., Go 1.22, Node 20, Python 3.11>
- Key dependencies: <e.g., net/http, cobra, sqlx>
- Builds/CI: <e.g., GitHub Actions, Makefile targets>
✅ Status & Roadmap (optional)
- Current status: <alpha/beta/stable>
- Near-term: <3 bullets of planned work or invite contributions>
🤝 Contributing
PRs welcome! Please see CONTRIBUTING.md (if present) and open an issue for discussion.
📄 License
<Emoji + Project Vibe>!
<Short, friendly sign-off encouraging issues/PRs. One tasteful emoji.>
---
## Badge Heuristics (the agent should apply automatically)
- **Repo**: parse `git remote get-url origin` → `<host>/<owner>/<repo>`
- **Go**:
- Go version: `https://img.shields.io/github/go-mod/go-version/<owner>/<repo>`
- Go Reference: `https://pkg.go.dev/badge/<module-path>.svg` → link to `https://pkg.go.dev/<module-path>`
- Go Report Card: `https://goreportcard.com/badge/<module-path>` → link to report
- **Coverage (if Codecov present)**:
- `https://codecov.io/gh/<owner>/<repo>/branch/<default-branch>/graph/badge.svg`
- **General CI (if GH Actions workflows exist)**:
- `https://github.com/<owner>/<repo>/actions` (use named workflow badge if known)
- **Other ecosystems** (only if confident):
- Rust: `docs.rs` badge; crates.io version
- Python: PyPI version; Read the Docs
- Node: npm version; bundle size (optional)
If any badge cannot be resolved confidently, **omit it**.
---
## Minimal Algorithm
1. Detect language & module/package name from project files.
2. Derive repo `<owner>/<repo>` from `git remote`.
3. Find optional logo path (`docs/img/*`, `assets/*`, `logo.*`).
4. Enumerate modules/paths (limit to top 2–6 user-facing).
5. Locate/compose a minimal “hello world” example for the main use case.
6. Assemble the README using the **Output Format**.
7. Validate links (badge URLs, docs references) exist; remove any broken ones.
8. Output final Markdown only (no extra commentary).
---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/madflojo) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-15 -->
1---2name: init-readme3description: Generate a polished, accurate README.md from a repository by inspecting code, config, and structure. Use when bootstrapping a README, refreshing docs, or the user asks for project overview/getting started instructions. Use when this capability is needed.4---56# Create a Polished README.md for Any Project78## Goal9Produce a high-quality `README.md`:10- Clear **title + short tagline**11- Optional **logo**12- Relevant **badges**13- Conversational **hook**14- “What is <Project>?” section15- **Getting Started** with minimal, copy-pasteable examples16- **Structure** table of key packages/modules17- Friendly **closing**1819Keep it accurate (no hallucinations), concise, and developer-friendly.2021---2223## Tooling You May Use24- Repo metadata & history25 - `git --no-pager log -n 20 --oneline`26 - `git --no-pager ls-files`27 - `git remote get-url origin`28- Language fingerprints (pick what applies)29 - Go: `go list -m` (module path), check for `go.mod`30 - Node: read `package.json`31 - Python: `pyproject.toml` / `setup.cfg`32 - Rust: `Cargo.toml`33- Code & examples discovery34 - Search `examples/`, `cmd/`, `docs/`, `internal/`, `pkg/`, `src/`35 - Look for a logo in `docs/img/*`, `assets/*`, `logo.*`36- Coverage/CI hints37 - Look for `codecov.yml`, GitHub Actions in `.github/workflows`, etc.3839**Rule:** Prefer facts from code/config over assumptions. If unsure, add a small “(optional)” note or omit.4041---4243## Rules & Style44- **Tone:** friendly, crisp, “smart brevity” with tiny hints of personality.45- **Accuracy:** verify claims from code/tests; don’t invent features.46- **Examples:** minimal, runnable; show the *shortest path* to value.47- **Badges:** only include ones you can confidently compute (repo, language, docs).48- **Links:** prefer relative links for in-repo assets (e.g., `docs/img/logo.png`).49- **Emojis:** tasteful in headings (e.g., section icons) but don’t overdo it.5051---5253## What to Extract54- **Project name** (language artifact or repo name)55- **One-line tagline** (what it is + why it matters)56- **Logo path** if present57- **Badges** (selectively based on tech & repo):58 - GitHub default branch, Go version, Codecov, Docs site (pkg.go.dev/docs.rs/PyPI/npm), Go Report Card, CI status59- **Core features** (from code & docs)60- **Getting Started**:61 - *Library*: install/import + minimum example62 - *CLI*: install + first command + basic usage63 - *Service*: install + how to run + basic API call64- **Structure**: key packages/modules with short descriptions + doc links65- **Closing**: short call for feedback/PRs6667---6869## Output Format (write exactly this structure)7071```markdown72# <ProjectName> <optional emoji>73<optional logo image, if found>7475**<Short tagline (1 line)>**7677<Badges block (only if resolvable)>7879---8081<1–3 paragraph hook that frames the pain/problem and why this project helps. Keep it human.>8283---8485## 🧠 What is <ProjectName>?86<Explain what it does, who it’s for, and the main use cases. Bullet the top 3–5 benefits.>8788- <Benefit 1>89- <Benefit 2>90- <Benefit 3>9192---9394## 🚀 Getting Started9596### Installation97<Show language-appropriate install. Examples:>9899- **Go (library)**100 ```bash101 go get <module-path>102 ```103- **Node (library/CLI)**104105 ```bash106 npm i <package-name>107 # or108 pnpm add <package-name>109 ```110- **Python (library/CLI)**111112 ```bash113 pip install <package-name>114 ```115### Minimal Example116117\<Provide the smallest runnable example. Use the project’s primary entry points.>118```<language>119<tiny, working example>120```121\<Optional: second example demonstrating a standout feature.>122123---124125## 🧱 Structure126127\<Brief sentence: “The project is organized into focused modules so you can depend only on what you need.”>128129| Module/Path | Description | Docs |130| ------------- | ---------------- | -------------------------------- |131| `<path/pkg>` | <1-line summary> | [Reference](doc-link-or-api-ref) |132| `<path/pkg2>` | <1-line summary> | [Reference](doc-link-or-api-ref) |133134(Add 2–6 rows; keep it tight.)135136---137138## 📦 Tech & Integrations (optional)139140* Language/Runtime: \<e.g., Go 1.22, Node 20, Python 3.11>141* Key dependencies: \<e.g., net/http, cobra, sqlx>142* Builds/CI: \<e.g., GitHub Actions, Makefile targets>143144---145146## ✅ Status & Roadmap (optional)147148* Current status: \<alpha/beta/stable>149* Near-term: <3 bullets of planned work or invite contributions>150151---152153## 🤝 Contributing154155PRs welcome! Please see `CONTRIBUTING.md` (if present) and open an issue for discussion.156157---158159## 📄 License160161<SPDX identifier or link to LICENSE>162163---164165## <Emoji + Project Vibe>!166167\<Short, friendly sign-off encouraging issues/PRs. One tasteful emoji.>168```169170---171172## Badge Heuristics (the agent should apply automatically)173174- **Repo**: parse `git remote get-url origin` → `<host>/<owner>/<repo>`175- **Go**:176177 - Go version: `https://img.shields.io/github/go-mod/go-version/<owner>/<repo>`178 - Go Reference: `https://pkg.go.dev/badge/<module-path>.svg` → link to `https://pkg.go.dev/<module-path>`179 - Go Report Card: `https://goreportcard.com/badge/<module-path>` → link to report180- **Coverage (if Codecov present)**:181182 - `https://codecov.io/gh/<owner>/<repo>/branch/<default-branch>/graph/badge.svg`183- **General CI (if GH Actions workflows exist)**:184185 - `https://github.com/<owner>/<repo>/actions` (use named workflow badge if known)186- **Other ecosystems** (only if confident):187188 - Rust: `docs.rs` badge; crates.io version189 - Python: PyPI version; Read the Docs190 - Node: npm version; bundle size (optional)191192If any badge cannot be resolved confidently, **omit it**.193194---195196## Minimal Algorithm1971981. Detect language & module/package name from project files.1992. Derive repo `<owner>/<repo>` from `git remote`.2003. Find optional logo path (`docs/img/*`, `assets/*`, `logo.*`).2014. Enumerate modules/paths (limit to top 2–6 user-facing).2025. Locate/compose a minimal “hello world” example for the main use case.2036. Assemble the README using the **Output Format**.2047. Validate links (badge URLs, docs references) exist; remove any broken ones.2058. Output final Markdown only (no extra commentary).206207---208> Converted and distributed by [TomeVault](https://tomevault.io/claim/madflojo) — claim your Tome and manage your conversions.209<!-- tomevault:4.0:skill_md:2026-04-15 -->