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/0adf49a8ae84b0ff6e2de8759eea43257e020eff/src/skills/readme-writing/SKILL.md at commit 0adf49a8ae84b0ff6e2de8759eea43257e020eff. 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 | 7 | 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.
Alternatives
K-Dense-AI/scientific-agent-skills
Query and download public cancer imaging data from NCI Imaging Data Commons using idc-index. Use for accessing large-scale radiology (CT, MR, PET) and pathology datasets for AI training or research. No authentication required. Query by metadata, visualize in browser, check licenses.
K-Dense-AI/scientific-agent-skills
Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.
event4u-app/agent-config
ONLY when user asks for single-pass tech-stack detection or `agents/evidence/analysis/` write-up. Deep multi-pass audit → `universal-project-analysis`. Raw primitives → `project-analysis-core`.
event4u-app/agent-config
Use when creating or rewriting a README for a reusable package or library. Focus on installability, minimal usage example, compatibility, and developer onboarding.