/sorah-guides:readmefrom sorah-guides
Writes, improves, and restructures READMEs for open-source libraries, CLIs, and services. Covers structure, taglines, examples, install conventions, badges, and license wording.
Ships in sorah-guides. 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.
Conventions for composing READMEs for open source libraries, CLI tools, and services. Derived from sorah's own projects and from the top-downloaded crates.io and rubygems.org projects. Project-specific conventions and an existing README's established style always take priority.
A README has one job: let a stranger decide within one screen whether the project solves their problem, then get them to a working first use. Everything else is optional and must earn its place.
*.gemspec, Cargo.toml, package.json, go.mod)required_ruby_version, rust-version, engines)--help) and real config samples in the repo (config.sample.yml, contrib/, examples/)LICENSE* files and copyright holder; SECURITY.md, CONTRIBUTING.md, docs/When improving an existing README, preserve its voice, heading style, and structure unless asked for a rewrite. Fix inaccuracies and stale content first, then add missing essentials.
| Shape | Examples | Length | Notes |
|---|---|---|---|
| Foundational library | libc, itoa, cfg-if | Very short | Purpose sentence, dependency snippet, one example, docs link, MSRV, license |
| Focused library | thiserror, anyhow, webmock, hocho | Short–medium | Example-driven; README may be the manual |
| Framework / large library | tokio, sidekiq, faraday | Medium, docs elsewhere | README is a hub: pitch, minimal example, links to guides/API docs |
| CLI tool | ripgrep, fd, mairu, envchain | Medium–long | Install matrix, quick usage, config, comparisons |
| Service / daemon | himari, ecamo, needroleshere | Medium–long | How it works, setup, configuration, security model, caveats |
Once a README passes ~500 lines, either add a table of contents or move reference material to docs/ and link it. Keep in the README even when docs move: tagline, pitch, install, minimal example, requirements, links to docs, where to get help, license.
Default order. Omit sections with nothing true to say.
# Name: tagline (or "# Name - tagline")
[badges, optional]
Intro paragraph(s)
## Features / Why / What? (optional)
## Requirements / Prerequisites (when non-obvious)
## Installation / Setup
## Usage / Getting started / Quick start
## Configuration
## How it works (services, security-sensitive tools)
## Comparison / Difference with X / Prior art
## Security / Security Model
## Caveats
## Development
## Contributing
## License
For per-shape sample READMEs, see examples/.
The title and first paragraph carry most of the README's persuasive weight.
Title. # Name followed by a tagline after : or -. The tagline is a short noun phrase, no trailing period.
# Acmesmith: A simple, effective ACME v2 client to use with many servers and a cloud
# Needroleshere - Yet Another AWS IAM Roles Anywhere helper
# Ecamo - SSL image proxy with authentication
First paragraph. "X is a [category] that [does what] [for whom/where]." One to four sentences, plain and factual. Then state the differentiator or mechanism.
Techniques that work:
linter)"find", "drop-in replacement of the official rolesanywhere-credential-helper"Avoid: spec-first openings ("This is an implementation of RFC 7159"), openings that describe the repository layout, and anything before the pitch other than badges and a logo.
$ only when command output is shown, to separate command from output.# config.ru, # ~/.aws/config, # /etc/systemd/system/foo.service.ruby, rust, toml, yaml, jsonc for commented JSON, ini for systemd units) so they highlight. Use console for $ transcripts with output. Plain command blocks may stay untagged.example.com, 123456789012, ALL_CAPS for CLI arguments.### 1. Configure ..., ### 2. Run ....Promotion in a README means making the value obvious with evidence, not adjectives. Pick techniques proportionate to the project; a small library needs none beyond a good opening and example.
## Comparison with other products and solutions with ### vs. X subsections, or ## Difference with X. Say when the alternative is the better choice; this is the single most credibility-building section.See references/promotion.md for verbatim patterns and exemplars.
Badges are optional. When used, keep 2–4 that answer a question the reader has: current version (gem/crates.io), CI status, API docs (docs.rs), and chat only if a community channel is actually staffed.
Each registry has idioms that readers expect. Consult references/ecosystems.md for:
bundle gem template, bundle add, MIT boilerplate[dependencies] snippet vs cargo add, MSRV, feature flags, dual-license text, include_str! doctestsSECURITY.md or a contact for vulnerability reports.bin/setup/rake release text for end-user-facing READMEs unless it is accurate and useful.CONTRIBUTING.md if it exists.LICENSE file exactly. Include a copyright line when the project has one. See references/ecosystems.md for wordings.##) only; do not mix with setext underlines.-, a colon, or two sentences), bold lead-ins on every bullet, "Whether you're X or Y", "seamless", "robust", "powerful", emoji section headers, and closing summary paragraphs.> [!WARNING]) sparingly, for one genuinely critical notice at most.TODO: Write usage instructions here, USER/[USERNAME] placeholders, UPDATE_WITH_YOUR_GEM_NAME...LICENSEREADME.md; rubygems.org does not, so gems rely on GitHub)references/promotion.md - Tagline formulas, comparison/why-not sections, benchmark presentation, social proof, stability statements, with verbatim examples from popular projectsreferences/ecosystems.md - Ruby, Rust, and CLI distribution conventions: install snippets, license boilerplate, MSRV, feature flags, badge markupreferences/exemplars.md - Heading skeletons of well-regarded READMEs (mairu, needroleshere, acmesmith, sidekiq, nokogiri, tokio, thiserror, ripgrep, uv, strong_migrations)Sample READMEs for fictional projects, showing structure and voice. Every fact in them is a placeholder:
examples/library.md - Focused Ruby gem (Rack middleware)examples/cli.md - Rust CLI tool with multiple install channels and numbered setup stepsexamples/service.md - Self-hosted service with How it works, Security Model, and CaveatsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sorah/config --plugin sorah-guides23 skills in this plugin
/codingThis skill should be used when writing or reviewing code in any language. Provides language-agnostic coding conventions for code quality, comments, error handling, and formatting. Project-specific conventions always take priority./commit-styleThis skill should be used when writing git commit messages, creating git commits, composing pull request titles and descriptions, or when the user asks to "commit", "git commit", "write commit message", "pull request", or "PR description". Provides conventions for subject lines, prefix patterns, body content, and verb choices./dsql-on-railsThis skill should be used when building, extending, or testing a Rails app on Amazon Aurora DSQL, or when moving a Rails app onto DSQL. Use it when writing a transaction, a uniqueness check, a schema change, a spec, a rake task, or CI for such an app, even if the user only says "add a model" or "fix this flaky spec" in such an app. Signs include `aws-sdk-dsql`, `pg-aws_rds_iam`, `aws_rds_iam_auth_token_generator`, a `*.dsql.<region>.on.aws` host, `ActiveRecord::SerializationFailure` with `OC000`/`OC001`, `retryable_transaction`, `non_idempotent_transaction`, `create index async`, `script/pdsql`, or the user mentioning "DSQL", "Aurora DSQL", or "OCC". Provides connection settings and adapter patches, OCC-aware transactions, schema constraints with psqldef, roles, per-developer schemas, RSpec setup, and CI against real clusters. Project-specific conventions always take priority./english-textThis skill should be used when writing English text on behalf of the user, such as GitHub issue/PR descriptions, code review comments, replies to maintainers or contributors, commit message bodies, business emails, or when the user asks to "write in English", "draft a reply", "write a PR description", "file an issue upstream", or "reply to this email". Provides register, phrasing, punctuation, and formatting conventions derived from the author's own GitHub activity, commits, and emails./github-ciThis skill should be used when writing, editing, or reviewing GitHub Actions workflows (`.github/workflows/*.yml`, composite actions in `.github/actions/`), or when setting up CI, a release pipeline, a Docker image build, or gem/crate publishing for a project. Use it whenever the user mentions "GitHub Actions", "CI", "workflow", "release workflow", "trusted publishing", "pin actions", "zizmor", "actionlint", or asks to "add tests to CI", "publish on tag", or "build a container image in CI", even if they never say "workflow". Provides the standard workflow layout (ci / `_test` / release), least-privilege and SHA-pinning rules, release and publishing patterns, and per-language test jobs. Project-specific conventions always take priority./japanese-textThis skill should be used when writing Japanese text, blog posts, diary entries, technical articles, prose, or when the user asks to write in Japanese, compose a blog post, draft a diary entry, or write technical content in Japanese. Provides writing style, orthography, and composition conventions across personal, technical, and corporate contexts.Other plugins' skills for the same job