/doc:rfc runs instead · from doc
Drafts, reviews, lists, updates, and transitions status of architecture RFCs. Activated when user mentions RFC, technical proposal, or architecture proposal.
This skill never runs in Claude Code
It ships in doc at skills/, but /doc:rfc (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Manage architecture RFCs with 5 operations: create, review, list, update, status.
Parse $ARGUMENTS to determine the action:
| First word | Remaining args | Operation |
|---|---|---|
create | <topic> | Draft a new RFC |
review | <path-to-rfc> | Review an existing RFC |
list | (none) | List all RFCs |
update | <path-to-rfc> | Update specific RFC sections |
status | <number> <status> | Transition RFC status with validation and side effects |
| (empty) | Ask the user which action to perform |
If the first word does not match any action, treat the entire $ARGUMENTS as a topic and default to create.
Used by all operations. Search for RFC files across all convention paths (exclude *.spec.md companion files):
docs/rfcs/*.mddocs/20-architecture/rfcs/*.md (jd-docs — detected via .jd-config.json or docs/20-architecture/ directory).arkhe/rfcs/*.md (arkhe convention)arkhe/rfcs/*.mdFor create and update, resolve a write directory:
docs/20-architecture/rfcs/docs/rfcs/ exists → docs/rfcs/docs/rfcs/ as defaultDraft a populated RFC — NOT a blank template. Gather context, write a spec, then write a real first draft with honest self-assessment.
create (or ask if empty)docs/30-research/, docs/50-research/, docs/research/), memory files, relevant source code, and ADRs (docs/20-architecture/22-adr/, docs/20-architecture/adr/, docs/adr/). See WORKFLOW.md for detail.AskUserQuestion for meaningful alternatives.NNNN-<slug>.${CLAUDE_SKILL_DIR}/templates/rfc-spec-template.md. Fill Problem Statement, Key Constraints, Success Criteria, and Scope Boundaries with concrete content. Write to <dir>/NNNN-<slug>.spec.md. Present to user for confirmation via AskUserQuestion. See WORKFLOW.md for spec guidance.${CLAUDE_SKILL_DIR}/templates/rfc-template.md for section structureDraft, Date to today.<dir>/NNNN-<slug>.md/rfc review <path> for adversarial design review (uses rfc-critic agent)Adversarial review of the RFC using the rfc-critic agent — a dedicated red-team reviewer that reads the Author's Notes as attack vectors and checks spec alignment.
docs/rfcs/*.md and docs/20-architecture/rfcs/*.md)NNNN-<slug>.spec.md alongside the RFC. If found, read it..arkhe/roadmap/architecture.md (arkhe convention)docs/20-architecture/ directory (jd-docs convention)docs/architecture.md or docs/architecture/ (generic)doc:rfc-critic). Pass: the RFC content, spec content (if found), architecture standards (if found). See WORKFLOW.md for delegation details./rfc update <path> to address findingsList all architecture RFCs with their current status.
# RFC: [Title] or first # heading), Status (Draft/Review/Approved/Rejected/Superseded — default "Unknown"), Author (default "—"), Date (default "—")# Architecture RFCs
| # | Title | Status | Author | Date |
|---|-------|--------|--------|------|
**Summary**: X total — Y Draft, Z Review, W Approved
/rfc create <topic>Re-draft specific sections of an existing RFC based on new context or feedback.
/rfc review, use review findings to identify sections needing changes.spec.md file exists and the update touches Goals, Non-Goals, or Architecture Overview, verify the RFC still aligns with the spec. Flag drift to the user./rfc review <path> to verify the updatesTransition RFC status with validation, warnings, and side effects.
NNNN-*.md. Read current status from **Status**: field.AskUserQuestion to confirm**Status**: field in the RFC## Author's Notes section entirelyValid statuses: Draft | Review | Approved | Rejected | Superseded
Note: The update operation still handles inline status changes during content updates. Use /rfc status for dedicated status transitions with validation.
[describe here]What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/adrCreate, review, and manage Architecture Decision Records (ADRs) with auto-numbering, template detection, quality review, and index maintenance. Use when user mentions "ADR", "architecture decision", "document this decision", "create ADR", "review ADR", editing ADR files (docs/adr/, doc/adr/, .adr/), or discussing architectural choices and tradeoffs./code-explanationExplains complex code through clear narratives, visual diagrams, and step-by-step breakdowns. Use when user asks to explain code, understand algorithms, analyze design patterns, wants code walkthroughs, or mentions "explain this code", "how does this work", "code breakdown", or "understand this function"./diagrammingCreates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual documentation./diataxisAudit, classify, validate, and scaffold documentation using the Diataxis framework (Tutorials, How-to guides, Reference, Explanation). Use when user mentions "diataxis", "documentation framework", "quadrant", "doc audit", "doc coverage", "collapsed document", "tutorial vs how-to", "quadrant purity", "documentation types", or wants to classify docs by type./doc-coauthoringGuide users through structured collaborative documentation creation. Use when user wants to write documentation, update README, create architecture docs, draft proposals, technical specs, decision docs, refactor documentation, create API docs, or document code./doc-freshnessDetect documentation drift, stale references, and cross-document inconsistencies in any project. Scans for code-doc drift (API/function changes not reflected in docs), cross-doc drift (conflicting information across documents), and stale references (broken links, deleted files, outdated versions). Use when checking "doc freshness", "stale docs", "documentation drift", "broken links", "outdated documentation", "doc accuracy", "docs out of date", "doc audit", "doc health", or "verify documentation".
npx claudepluginhub joaquimscosta/arkhe-claude-plugins --plugin docOther plugins' skills for the same job