Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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…

BbgnsurfTechот BbgnsurfTech★ 30 звёзд на GitHub18 установок в других каталогах

Об этом скилле

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.toml metadata 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:

  1. Plain Text (text/plain)

    • Use for minimal documentation
    • No formatting capabilities
    • Renders exactly as written
  2. 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-readme extension to generate PyPI-compatible RST from Sphinx docs
  3. 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-readme to 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_
Полный SKILL.md на GitHub

Установить pypi-readme-creator в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/markdown-template.mdreferences/rst-template.rstreferences/sphinx-readme-example.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить pypi-readme-creator с