mirror of
https://github.com/magnus919/agent-skills.git
synced 2026-09-12 20:16:29 +03:00
1.4 KiB
1.4 KiB
README Patterns
Every README Needs
- Project name and one-line description — What is this? Why should I care?
- Quickstart — The fastest path from zero to running. Copy-paste friendly.
- Installation — All methods (package manager, source, Docker)
- Configuration — Environment variables, config files, CLI flags
- Usage — Basic usage with examples. Show the common patterns.
- API reference — If a library/SDK, link to full API docs
- Contributing — Link to CONTRIBUTING.md
- License — One line, link to LICENSE
Quickstart Pattern
## Quickstart
\`\`\`bash
# Install
pip install my-tool
# Run with default config
my-tool analyze path/to/file
# View output
cat results.json
\`\`\`
That's it. For detailed options, see [Configuration](#configuration).
Key rules:
- Three commands max from zero to visible output
- Defaults should be sensible — no required configuration to "just try it"
- If Docker is an option, show it as
docker run
Installation Variants
## Installation
### pip (recommended)
\`\`\`bash
pip install my-tool
\`\`\`
### Homebrew
\`\`\`bash
brew install my-tool
\`\`\`
### From source
\`\`\`bash
git clone https://github.com/user/my-tool.git
cd my-tool
pip install -e .
\`\`\`
Always list in preference order. Pre-release/alpha installs should be marked clearly.