name: octocode-rfc-generator description: "Use when you need an RFC, design doc, architecture proposal, migration plan, implementation plan, or research-backed technical decision before coding. Leverages Octocode local/GitHub/npm/binary tools via MCP or CLI to gather evidence, compare alternatives, map blast radius, and produce a validated RFC with a practical implementation plan."
Octocode RFC Generator
Use this skill when a change needs thinking before coding: architecture choices, migrations, cross-package changes, risky refactors, implementation plans, or formal RFC/design docs. The output is evidence-backed and actionable, not a brainstorm.
Core flow:
UNDERSTAND → RESEARCH → COMPARE OPTIONS → WRITE RFC / PLAN → VALIDATE → DELIVER
If the task is a trivial one-file edit with no design choice, say an RFC is unnecessary and suggest using octocode-engineer directly.
How to run this skill
Frame the work. Read
references/workflow.mdfirst, before researching — it defines mode selection (RFC / Plan / Decision / Migration / Validation), the understand checklist, option comparison, the validation gate, and delivery format.Gather cited evidence. While researching current state, prior art, packages, history, or binaries, follow
references/research-playbook.mdfor the exact MCP/CLI tool map per evidence type, the per-scenario research tracks, evidence-citation rules, and recovery moves when a search comes up empty.Write the document. When producing a full RFC, copy the body sections (Summary through Prior Art) from
references/rfc-template.md. After drafting the body, append the closing sections fromreferences/rfc-implementation.md(Unresolved Questions, Future Possibilities, References, Implementation Plan). For a lighter implementation plan, use the trimmed plan skeleton inreferences/workflow.mdinstead of the full template.
Non-negotiables
- Do not guess facts that tools can verify; cite local claims with
file:lineand external claims with a GitHub path/line or PR/commit link. - Always compare at least two alternatives unless the user explicitly asks for a single implementation plan.
- Order implementation steps by dependency, not preference; avoid time estimates.
- Default output location when saving is approved:
.octocode/rfc/RFC-{meaningful-name}.md. Ask before saving; otherwise keep the document in chat.