Install
openclaw skills install @zhaoqyu/python-pep-authoring-skillDraft, review, edit, or prepare Python Enhancement Proposals using the official python/peps repository rules. Use when working on PEP text, PEP metadata headers, PEP process/status decisions, reStructuredText PEP formatting, python/peps pull requests, or validation with check-peps.py, pre-commit, and local rendering.
openclaw skills install @zhaoqyu/python-pep-authoring-skillUse this skill for Python Enhancement Proposal work that needs to follow the official python/peps repository, not generic Python code style. It covers PEP drafting, PEP review, metadata/header validation, reStructuredText formatting, repository checks, and contribution workflow.
The bundled references summarize the official python/peps repository at commit 63b05773e2b5e8355910df520e8cf319f70944be from 2026-06-28. When working inside a current checkout of github.com/python/peps, prefer the checkout's local files over these summaries.
references/process-and-policy.md for PEP workflow, statuses, authorship, sponsors, review, and maintenance.references/header-and-rst-rules.md for PEP 12 header order, metadata formats, PEP section template, and reST rules.references/repo-validation.md for python/peps checkout commands, check-peps.py, pre-commit, spelling, and rendering.python/peps checkout is available, inspect local source files before editing:
peps/pep-0001.rstpeps/pep-0012.rstpeps/pep-0012/pep-NNNN.rstCONTRIBUTING.rstREADME.rstcheck-peps.py.pre-commit-config.yamlStatus: Draft, a sponsor if required, a valid discussion plan, and the PEP 12 template structure.python check-peps.py peps/pep-NNNN.rst for a single PEP, then make lint, make spellcheck, and make html or python build.py when appropriate.When asked to create or revise a new PEP:
peps/pep-0012/pep-NNNN.rst as the source template if the official repo is present. Do not use rendered HTML as a template.peps/pep-NNNN.rst with zero padding. The PEP: header itself is not zero-padded.Python-Version when the feature targets a Python release; omit it for interoperability standards that initially live outside the stdlib.Discussions-To: Pending and Post-History: Pending only when the canonical thread does not exist yet; update them after the thread is created.python/peps, update .github/CODEOWNERS.Use this structure for PEP reviews:
Findings
- [P1] Missing sponsor for non-core authors - peps/pep-NNNN.rst:4
Explain the official rule, why it blocks or weakens the PEP, and the smallest fix.
Open Questions
- Mention only questions that affect process, metadata, or content readiness.
Validation
- List commands run and whether rendering/linting passed.
Use priorities consistently:
P0: would break rendering, validation, or repository acceptance outright.P1: process or metadata issue likely to block PEP editor approval.P2: clear PEP 1/PEP 12/repo-rule issue that should be fixed.P3: editorial polish, clarity, or optional improvement.If there are no findings, say that directly and mention any validation not run.