/mif-docs:python-pep <the proposed Python change>from mif-docs
Write a Python Enhancement Proposal (PEP) — a formal design document proposing a change to the Python language, standard library, or process, with the canonical RFC822 header preamble plus Abstract, Motivation, Rationale, Specification, Backwards Compatibility, Security Implications, How to Teach This, Reference Implementation, Rejected Ideas, and Open Issues. Use when the user is proposing or drafting a Python language/stdlib/process change in PEP form. Anti-trigger; for a project's own architecture decision use an ADR skill, and for end-user task instructions use a how-to.
Ships in mif-docs. 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.
Produces a Python Enhancement Proposal: the standardized design document the CPython community uses to propose and record changes. A PEP argues a change on its merits, specifies it precisely enough to implement, and survives review by the Steering Council or a delegate. It is not a tutorial, a changelog, or a bug report — it is a durable, reviewable design record.
Draft ──> Accepted ──> Final
│ │
├─> Rejected (turned down on its merits)
├─> Withdrawn (the author abandons it)
├─> Deferred (no champion / not ready)
└─> Superseded (replaced by a later PEP)
Status: field always reflects exactly one of these states at
a time — a PEP is never simultaneously Draft and Rejected, or Accepted and
Superseded. State this single-state constraint explicitly any time you
discuss, review, or recommend a Status: value — don't let it stay implicit
just because it's obvious to you; the reader needs it spelled out too.PEP, Title, Author,
Status, Type (one of the three above), Created, and — for Standards
Track — Python-Version.When asked to review, critique, or give feedback on a draft PEP (rather than author one from scratch), a list of named gaps is not a review — it's a todo list the author still has to solve alone. For every gap you flag, also supply the concrete text that fills it, not just an instruction to fill it:
Status: Draft instead of "fix the Status
field to a valid lifecycle state."Naming a gap tells the author what's missing; drafting the fix tells them what "done" looks like and saves a review round-trip. Include both in every review output — the diagnosis and the corrected text — never the diagnosis alone.
type: semantic — a PEP is declarative design knowledge, not a time-bound log
or a how-to. Climb to L2 with namespace (e.g. pep/standards-track), tags,
and title when known. Gate every output with mif-validate --level 1.
The frontmatter lets an agent answer questions about a PEP without parsing the prose: is this proposal still current, where did it come from, what backs the design, and which other PEPs does it touch. The L1 floor carries none of that — to a machine it is opaque text. The climb adds the answers as structured fields:
id, type, created + body. A complete PEP, but opaque to a
machine. See templates/good-l1.md.modified,
temporal (validity window + ttl), provenance (source + trust), typed
citations[], and a relationships[] link. See templates/good.md, which
gates at mif-validate --level 3.See templates/good.md (a conformant Standards Track PEP at L3),
templates/good-l1.md (the same PEP at the L1 floor), and templates/bad.md
(a PEP with a malformed header and missing required sections — the most common
review-blocking errors).
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub modeled-information-format/mif-docs-plugin --plugin mif-docs47 skills in this plugin
/academicWrite a formal academic research report — Abstract, Background, Method, Findings, Discussion, References — with a selectable citation style (author-date/APA or numbered/Vancouver-IMRaD) and optional APA Method sub-sections. Use when the deliverable is a scholarly write-up for a research or technical-expert audience that demands traceable evidence and explicit method. Anti-trigger; for an informal trade-off narrative use google-design-doc, for a practitioner decision report built around a mandatory comparison table use engineering./adrWrite an Architectural Decision Record (ADR) in the Structured MADR format — one decision, its drivers, the options weighed with risk, the chosen outcome, the consequences accepted, and an audit trail — validated by the structured-madr Action in both smadr and MIF modes. Use when a team is making or capturing a consequential, hard-to-reverse technical choice and needs it documented with rationale. Anti-trigger; for a how-to use diataxis-how-to, for requirements use prd or feature-spec, not an ADR./ai-architecture-docWrite a composite AI-spec architecture document that embeds an arc42/C4-style structure plus testable non-functional requirements and an ADR-style decision log in one spec-channel artifact. Use for an architecture spec a coding agent can consume. Anti-trigger; for a pure narrative use arc42-arch-doc, for diagrams alone use c4-model-diagram./arc42-arch-docAuthor an arc42 architecture document — the 12-section industry template (introduction & goals, constraints, context, solution strategy, building blocks, runtime, deployment, cross-cutting concepts, decisions, quality requirements, risks & tech debt, glossary) that captures a system's architecture as durable declarative knowledge. Use when the user needs a system/software architecture description, an arc42 doc, a software architecture document (SAD), or to record how a system is structured and why. Anti-trigger; for a single decision use an ADR (structured-madr/Nygard), and for task steps use a runbook/how-to./audit-docsAudit MIF documents under one or more paths for accuracy, taxonomy alignment, editorial consistency, and frontmatter/provenance/temporal/relationship/citation conformance. Deterministic script checks run first at zero Agent cost; cross-document checks are guaranteed (three bounded Agent calls); per-file judgment runs as batched, schema-validated Agent calls over only the files that changed since the last audit. Use when the user asks to audit, review, or check a set of MIF documents for conformance/quality./briefingWrite a one-page briefing or standup update — Headline, What's New, Why It Matters, What's Next / Asks — for a recurring audience that already holds context and needs the delta fast. Use for a terse status or situational update, not a narrative summary. Anti-trigger; for a longer standalone summary of a larger document written for a first-time reader use exec-summary, for a released-version history use changelog.