/polymath-writing:adrfrom polymath-writing
Write an Architecture Decision Record (Michael Nygard format) to docs/adrs/NNNN-<slug>.md; frontmatter validated by the ADR artifact schema. Records a made decision, not a proposal to debate (rfc).
Ships in polymath-writing. 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.
Capture a decision so future contributors know what was decided and why. ADRs are immutable once accepted — supersede them instead of editing.
Mode: analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked [TBD] or [VERIFY], never filled in.
polymath-writing:adr.docs/adrs/, docs/adr/, doc/architecture/decisions/, an .adr-dir file from adr-tools) and use it; create docs/adrs/ only if none exists. Determine the next number: the highest existing NNNN- prefix + 1 (default 0001).${workflow.slug} wins; otherwise lowercase it, replace each run of characters outside a-z0-9 with -, trim - at the ends, and cut to ≤ 60 characters at a -. An existing file at the target path is updated in place (show the diff), never duplicated.ADR.md.docs/adrs/NNNN-<slug>.md:
ADR artifact schema: artifact: ADR, title, status (enum), deciders (string or array), date.Superseded by NNNN), so readers can follow the chain.docs/adrs/NNNN-<slug>.md.mustPass:
- id: adr-valid
type: artifactValid
path: docs/adrs/${adr_number}-${workflow.slug}.md
artifact: ADR
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
6 skills in this plugin
/architecture-docWrite a C4-style architecture document; System Context + Containers (+ Components when interesting) with mermaid diagrams. Describes structure, not a decision (adr) or proposal (rfc)./architecture-review-facilitationRun an architecture review as a process — entry criteria, reviewer checklist, decision log, and follow-up actions — pairing the design artifact with a red-team pass./editorial-passReview and tighten prose in a Markdown artifact for a target tone (terse, formal, friendly) without dropping information; preserve quotations and load-bearing constraints./rfcDraft a lightweight design RFC to docs/rfcs/<slug>.md; Summary, Motivation, Detailed design, Drawbacks, Alternatives, Unresolved questions. A proposal to debate, not a recorded decision (adr)./runbookWrite or refresh an operational runbook for an alert/symptom; structured as TL;DR + Pre-checks + Steps + Verification + Rollback + Escalation.npx claudepluginhub mohammadbafkar/polymath --plugin polymath-writing