pypi-readme-creator
БесплатноБез исполняемых скриптовНе проверенWhen creating a README for a Python package. When preparing a package for PyPI publication. When README renders incorrectly on PyPI. When choosing between…
Об этом скилле
PyPI README Creator
Generate professional, PyPI-compliant README files in Markdown or reStructuredText that render correctly on PyPI, GitHub, GitLab, and BitBucket.
When to Use This Skill
Use this skill when:
- Creating README files for Python packages intended for PyPI publication
- Converting between Markdown and reStructuredText formats
- Validating README markup before publishing to PyPI
- Setting up
pyproject.tomlmetadata for README inclusion - Generating README.rst files from Sphinx documentation
- Ensuring README compatibility across multiple platforms (PyPI, GitHub, GitLab, BitBucket)
- Troubleshooting README rendering issues on PyPI
- Creating documentation that balances technical accuracy with user accessibility
Core Capabilities
Supported Formats
PyPI's README renderer supports three formats with specific constraints:
Plain Text (
text/plain)- Use for minimal documentation
- No formatting capabilities
- Renders exactly as written
reStructuredText (
text/x-rst)- Rich formatting with directives and roles
- Critical limitation: Sphinx extensions NOT allowed on PyPI
- No
:py:func:,:ref:,:doc:, or other Sphinx-specific roles - Standard docutils directives only (admonitions, code blocks, tables)
- Use
sphinx-readmeextension to generate PyPI-compatible RST from Sphinx docs
Markdown (
text/markdown)- GitHub Flavored Markdown (GFM) by default
- Alternative: CommonMark
- Modern, widely supported format
- Excellent compatibility across platforms
Format Selection Strategy
Choose Markdown when:
- Starting a new project without existing RST documentation
- Prioritizing GitHub/GitLab compatibility
- Team prefers Markdown syntax
- Documentation is primarily user-facing
Choose reStructuredText when:
- Project uses Sphinx for documentation
- Need advanced table formatting
- Existing RST documentation infrastructure
- Using
sphinx-readmeto generate from Sphinx docs
Use sphinx-readme when:
- Maintaining Sphinx documentation alongside PyPI README
- Need consistent formatting between docs and README
- Want to leverage Sphinx features while generating PyPI-compatible output
- Converting Sphinx-heavy documentation to PyPI-friendly format
README Content Guidelines
Essential Sections
Include these sections for comprehensive project documentation:
Project Identity (Required)
- Project name and one-line description
- Badges (build status, PyPI version, license, coverage)
- Quick value proposition
Installation (Required)
- Primary installation method:
pip install package-name - Alternative methods:
uv add package-name, development installation - System requirements and Python version compatibility
Quick Start (Highly Recommended)
- Minimal working example (3-10 lines)
- Expected output or result
- Link to full documentation
Features (Recommended)
- Bulleted list of key capabilities
- What makes this package unique
- Comparison with alternatives (if applicable)
Usage Examples (Recommended)
- 2-3 concrete examples showing common use cases
- Progressive complexity (basic → intermediate)
- Code samples with expected output
Documentation Link (Required if comprehensive docs exist)
- Link to Read the Docs, GitHub Pages, or hosted documentation
- Brief description of what's in the full docs
Contributing (Recommended for open source)
- How to report issues
- How to submit changes
- Link to CONTRIBUTING.md if detailed
License (Required)
- License name and link to LICENSE file
- Brief permissions statement
Changelog/Release Notes (Optional)
- Link to CHANGELOG.md or GitHub releases
- Brief summary of latest version
Writing Style Principles
Follow these principles from documentation-expert and gitlab-docs-expert:
Clarity and Simplicity
- Write for users who are discovering your project for the first time
- Avoid jargon unless necessary and explained
- Use active voice and present tense
- Keep sentences concise (under 25 words)
Focus on the User
- Answer: "What can this do for me?" early
- Show working examples before explaining internals
- Provide copy-paste ready code snippets
- Include expected outputs to verify success
Accuracy and Synchronization
- Ensure code examples actually work with current version
- Test all commands before including
- Keep version numbers current
- Update README with each release
Promote Consistency
- Use consistent terminology throughout
- Follow same code style as project
- Match heading hierarchy (# → ## → ###)
- Use parallel structure in lists
Leverage Visuals and Examples
- Include code examples with syntax highlighting
- Show expected output or results
- Use badges for quick status information
- Consider diagrams for architecture (Mermaid on GitHub/GitLab)
Format-Specific Guidance
Markdown (README.md)
Syntax Highlighting
```python
import package_
Установить pypi-readme-creator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл pypi-readme-creator?
When creating a README for a Python package. When preparing a package for PyPI publication. When README renders incorrectly on PyPI. When choosing between README.md and README.rst. When running twine check and seeing rendering errors. When configuring readme field in pyproject.toml.
Как установить скилл pypi-readme-creator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pypi-readme-creator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic