/dev-agents:readme-generatorfrom dev-agents
Generates and improves README files for Rust, TypeScript/JavaScript, and Python projects following ecosystem conventions for badges, installation, MSRV, and feature flags.
Ships in dev-agents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generate professional README files or improve existing ones. Applies ecosystem-specific best practices from curated examples (see references/examples.md).
[!IMPORTANT] Always detect project type FIRST before generating. Wrong template = wrong conventions.
| Project Type | Detection | Key Requirements |
|---|---|---|
| Rust library | Cargo.toml + src/lib.rs | crates.io badge, docs.rs, MSRV, feature flags |
| Rust CLI | Cargo.toml + src/main.rs | Multi-platform install (cargo, brew, apt, etc.) |
| TypeScript | package.json + tsconfig.json | npm/yarn/pnpm/bun tabs, bundle size badge |
| Python | pyproject.toml or setup.py | pip/poetry/conda, Python versions badge |
[!IMPORTANT] Use GitHub callouts in generated Rust READMEs (GitHub and crates.io) to highlight critical information. Do NOT use them in TypeScript/npm or Python/PyPI READMEs: they render as plain blockquotes there. Use bold text (
**Note:**,**Tip:**,**Important:**) instead.
Use these callout blocks in generated README files:
> [!NOTE]
> Useful information that users should know, even when skimming content.
> [!TIP]
> Helpful advice for doing things better or more easily.
> [!IMPORTANT]
> Key information users need to know to achieve their goal.
> [!WARNING]
> Urgent info that needs immediate user attention to avoid problems.
> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.
| Callout | Use For | Example |
|---|---|---|
[!NOTE] | Additional context, FYI | "This crate re-exports types from X" |
[!TIP] | Best practices, recommendations | "Use --release for production builds" |
[!IMPORTANT] | Breaking changes, requirements | "Requires Rust 1.70+" |
[!WARNING] | Potential issues, deprecations | "This API will change in v2.0" |
[!CAUTION] | Dangerous operations, data loss | "This command deletes all data" |
Place callouts strategically:
Rust library with MSRV:
## Installation
\`\`\`toml
[dependencies]
my-crate = "1.0"
\`\`\`
> [!IMPORTANT]
> Requires Rust 1.70 or later. See [MSRV policy](#msrv-policy).
CLI tool with destructive command:
## Usage
\`\`\`bash
my-tool clean --all
\`\`\`
> [!CAUTION]
> The `--all` flag removes ALL cached data including user preferences. This cannot be undone.
Library with async feature:
## Features
> [!TIP]
> Enable the `async` feature for non-blocking I/O. Recommended for high-throughput applications.
\`\`\`toml
my-crate = { version = "1.0", features = ["async"] }
\`\`\`
Python package (PyPI, no callouts):
## Installation
\`\`\`bash
pip install my-package
\`\`\`
**Note:** Requires Python 3.10 or later.
# Check for project markers
ls -la Cargo.toml package.json pyproject.toml setup.py tsconfig.json 2>/dev/null
Decision tree:
Cargo.toml exists → Rust project
[[bin]] or src/main.rs → CLI tool (use references/rust-cli.md)references/rust-library.md)package.json exists → JavaScript/TypeScript
tsconfig.json exists → TypeScript (use references/typescript.md)references/typescript.md)pyproject.toml or setup.py → Python (use references/python.md)[!TIP] Extract metadata from project files — don't ask the user for info that's already in Cargo.toml/package.json.
Extract from project files:
Rust:
# Get package info
grep -E "^name|^version|^description|^license|^rust-version" Cargo.toml
# Get features
grep -A 50 "^\[features\]" Cargo.toml | head -50
# Check for binary
grep -E "^\[\[bin\]\]" Cargo.toml || ls src/main.rs 2>/dev/null
TypeScript/JavaScript:
# Get package info
cat package.json | jq '{name, version, description, license, keywords}'
# Check for types
ls src/*.ts tsconfig.json 2>/dev/null
Python:
# From pyproject.toml
grep -E "^name|^version|^description|^license" pyproject.toml
# Or from setup.py
grep -E "name=|version=|description=" setup.py
After detecting project type, read the appropriate reference file:
references/rust-library.mdreferences/rust-cli.mdreferences/typescript.mdreferences/python.md[!WARNING] Never use placeholder text like
[TODO]or<description>in final output. Extract real values or ask user.
Apply the template structure. Essential sections in order:
Hero section (required)
Visual hook (highly recommended)
assets/, docs/, or images/Installation (required)
Usage/Examples (required)
Features (recommended)
API/Configuration (if applicable)
Contributing (recommended)
License (required)
[!NOTE] When improving, preserve existing custom sections and contribution acknowledgments. Don't overwrite user's content.
When improving an existing README:
Audit current state:
cat README.md
Check against requirements:
Common improvements:
Preserve existing content:
See references/badges.md for complete badge syntax by ecosystem.
Quick reference:
<!-- Rust -->
[](https://crates.io/crates/CRATE)
[](https://docs.rs/CRATE)
<!-- TypeScript/npm -->
[](https://www.npmjs.com/package/PACKAGE)
[](https://bundlephobia.com/package/PACKAGE)
<!-- Python -->
[](https://pypi.org/project/PACKAGE)
[](https://pypi.org/project/PACKAGE)
Before completing, verify:
[!CAUTION] These mistakes make READMEs significantly worse. Check against this list before completing.
What SKILL.md sets; muted values are Claude Code's defaults
'create readme', 'generate readme', 'write readme', 'improve readme', 'update readme', 'fix readme', 'readme for this project'.
Three short reads, in order
21 skills in this plugin
/agent-handoffHandoff protocol for the dev-agents multi-agent system. Subagents communicate via Markdown+frontmatter files in .local/handoff/. ALWAYS read on agent startup./arch-inspectArchitecture and code quality audit protocol for Rust, TypeScript, and Luau/Lua projects. Activates expert knowledge across type safety, modularity, testability, readability, DRY, async concurrency, error-handling design, API stability, observability, and lint/manifest hygiene, with language checklists from the stack profile. Called by arch-analyst at startup via Skill(...); invoked directly as /arch-inspect [focus] it delegates the audit to a background arch-analyst./continuous-improvementOrchestrate a continuous improvement cycle: spawn live-tester for live testing, researcher for dependency monitoring and research, arch-analyst for code quality and architecture review, and security-analyst for vulnerability scanning. Read-only; aggregates findings into a cycle journal. Runs as an agent team when CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1, otherwise (including headless `claude -p`, /loop, /schedule) as background subagents./fast-yamlValidate, format, and convert YAML/JSON files using the fast-yaml (fy) tool. Supports bidirectional YAML/JSON conversion and the YAML 1.2.2 spec with parallel processing for batch operations./init-projectInitialize a Rust, TypeScript, Luau/Lua, or polyglot project for the dev-agents plugin: scaffold .local/ working directories, .claude/rules/ project rules, testing knowledge base, a project verify skill, and .gitignore entries. Run once when starting a new project./live-testingLive testing protocol for Rust, TypeScript, and Luau/Lua projects: sync, discover project structure, execute the built binary, CLI, server, or web app end-to-end, detect anomalies, track coverage, file bug issues. Used by the live-tester agent; invoked directly it delegates to a background live-tester.npx claudepluginhub bug-ops/claude-plugins --plugin dev-agentsOther plugins' skills for the same job