Best for
- Creating a new README for an application, CLI tool, internal tool, template, or framework
- Rewriting an outdated or weak README
- Improving after major repo changes (new tooling, restructure)
event4u-app/agent-config/src/skills/readme-writing/SKILL.md
Use when creating, rewriting, or significantly improving a README based on the actual repository structure, commands, and intended audience.
Decision brief
Use when creating, rewriting, or significantly improving a README based on the actual repository structure, commands, and intended audience.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/readme-writing"Inspect the Agent Skill "readme-writing" from https://github.com/event4u-app/agent-config/blob/6a5670b7881a676c0da90d2afb950298087c4ccb/src/skills/readme-writing/SKILL.md at commit 6a5670b7881a676c0da90d2afb950298087c4ccb. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Before drafting a single line, run a fresh repository inspection in this session. Do not rely on prior knowledge, prior turns, or the existing README prose. Produce an explicit evidence ledger:
Creating a new README for an application, CLI tool, internal tool, template, or framework
Write a README that is accurate, evidence-based, scannable, and useful for the intended audience. Reflects the real repository — not assumptions.
Analyze first, write second — inspect the repo before writing a single line
Before drafting a single line, run a fresh repository inspection in this session. Do not rely on prior knowledge, prior turns, or the existing README prose. Produce an explicit evidence ledger:
Permission review
The documentation asks the agent to read local files, directories, or repositories.
**Analyze first, write second** — inspect the repo before writing a single lineThe documentation asks the agent to create, modify, or delete local files.
**Analyze first, write second** — inspect the repo before writing a single lineThe documentation asks the agent to read local files, directories, or repositories.
If any cell is unknown, run `ls`, `grep`, `find`, or read the file beforeThe documentation asks the agent to create, modify, or delete local files.
The model tends to write generic boilerplate instead of repo-specific documentationEvidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 93/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 9 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Do NOT use when:
readme-writing-package insteadWrite a README that is accurate, evidence-based, scannable, and useful for the intended audience. Reflects the real repository — not assumptions.
Before drafting a single line, run a fresh repository inspection in this session. Do not rely on prior knowledge, prior turns, or the existing README prose. Produce an explicit evidence ledger:
ledger:
package: <name + version from manifest>
description: <verbatim from manifest>
cli_entry: <bin / entry from manifest, if any>
commands: <list of real commands from Taskfile / Makefile / package.json scripts>
install: <verified install path(s) from scripts/install.* or docs>
doc_targets: <list of /docs files actually linked from the new draft>
counts: <skills / rules / commands / personas / advisors — if surfaced as badges>
visual_keep: <line range of existing README header, banner, badge block to preserve>
If any cell is unknown, run ls, grep, find, or read the file before
writing — never invent. If the user asks to "use the existing banner",
locate the exact source lines and reproduce them byte-for-byte, including
the surrounding HTML.
Determine repository type:
| Type | Audience | Priority |
|---|---|---|
| Library/Package | Developers consuming it | Install → Usage → API |
| Application | Team / contributors | Setup → Dev workflow → Architecture |
| CLI tool | End users | Install → Commands → Examples |
| Template/Starter | Bootstrappers | What you get → Quickstart → Customize |
| Internal tool | Team members | Purpose → Setup → Common tasks |
| Agent/Framework | AI tools + maintainers | What it is → Install → Architecture → Extend |
Read these files to extract truth:
README.md (existing, if any)package.json, composer.json — name, description, scripts, dependenciesDockerfile, docker-compose.yml — runtime setupTaskfile.yml, Makefile — available commandsdocs/, agents/ — existing documentationExtract: project purpose, install path, main commands, requirements, key workflows, testing/linting commands, contribution flow.
Only include sections that provide value. Candidates:
Do NOT include sections "because READMEs usually have them." Skip empty or near-empty sections entirely.
Rules:
Formatting:
tree format)A reader scanning the README should answer within 10 seconds:
The first screen (before scrolling) must contain the title, summary, and either install command or quickstart. Everything else comes after.
Keep the README scannable. If it grows past ~150 lines, add a Table of
Contents; past ~300 lines, split deep content out to /docs/ or
references/. Use <details> only for secondary, bulky content (never
for install, first example, or requirements).
→ See docs/guidelines/docs/readme-size-and-splitting.md for thresholds,
splitting strategies (reference-split, deep-link tables, collapsibles),
multi-audience handling, and anti-patterns.
For every internal link in the new draft:
test -f the path. If a
directory, test -d. Strip #anchor and ?query before the check.file.md#section), grep the target file for
the heading slug. Missing anchor = broken link.For every dropped target, search the rest of the repository
(grep -r "<path>" over AGENTS.md, docs/, dist/agent-src*/,
.augment/, packages/). If no other file references it, mark
orphan-candidate. Surface the list to the user — do not delete
silently.
After writing, verify:
Taskfile.yml, Makefile, package.json scripts, etc.)kept / added / dropped with orphan-candidates flaggedTaskfile.yml / Makefile / package.json scriptsApply the Frugality Charter to every README you author.
Examples in this artifact:
Pre-save self-check:
screenshot-hygiene: anonymize sensitive
data and human-gate the embed before it ships. Illustrative / no-data visuals
(diagrams, placeholder-only UI) are the reconciled exception.AGENTS.md rather than linked?→ Final prose pass for audience-facing output: humanizer — remove AI-writing tells before delivery.
Frequently asked questions
Use when creating, rewriting, or significantly improving a README based on the actual repository structure, commands, and intended audience.
The source record exposes this install command: npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/readme-writing". Inspect the command and pinned source before running it.
Static rules flagged read-files, write-files in the source; the page lists the matching lines and excerpts.
Alternatives
enuno/unifi-mcp-server
Specialized guide for adding new MCP tools to the UniFi MCP Server following project standards, UniFi API patterns, and test-driven development practices. Use when implementing new UniFi Network Controller features as MCP tools.
NintendaDev/unikit-ai
Generate and maintain the project's TECHNICAL documentation from its codebase — scans the project structure, tech stack, and module boundaries, then writes a lean README landing page plus detailed topic pages (architecture, modules, setup, build, APIs), only the docs that are relevant. Use whenever the user wants to create, update, or validate documentation of the CODE or the project itself, e.g. "generate documentation", "create docs", "write the README", "update the project docs", "document th
vasilyu1983/AI-Agents-public
Scans public GitHub repos for agent skills, dev practices, and code patterns. Use when enriching skills, setting team policy, or researching a build domain.
SerendipityOneInc/ZooData-Skills
API endpoint reference for the ZooData data platform: the 12 commerce endpoints plus 10 keyword-intelligence endpoints (categories, markets, products, competitors, realtime ASIN, AI review analysis, raw reviews, price band, brand, history, and the keyword detail/trend/extends/search/ market-profile/product-traffic/competitor-keywords/traffic-profile/ traffic-timeline family) — their inputs/outputs, parameter quirks, Quick Start (auth, base URL), how credits are tracked (meta.creditsConsumed), an