agentleFS
bgauryybgauryy/octocode/skills/octocode-rfc-generator/SKILL.md

octocode-rfc-generator

Skill947 starsChanged 3 months agoMITView on GitHub

Use when a consequential change needs a decision before coding: write or improve an RFC, design doc, architecture proposal, migration plan, option comparison, rollout plan, or measurable implementation contract. If the idea is still open-ended, use octocode-brainstorming first.

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 2 are distinctive, and 10 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 10

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never assert RFC status from memory or from another RFC's claims.

    line 20
  2. Very specific:

    When researching evidence, load references/octocode.md then references/research-playbook.md — delegate exact research and keep claims …

    line 29
  3. Very specific:

    When existing code has readiness work, load references/rfc-prerequisites.md before planning — expose baselines, blockers, owners, and setup.

    line 30
  4. Very specific:

    When comparing options and writing the decision, load references/rfc-template.md — structure alternatives, goals/non-goals, reversibility, …

    line 31
  5. Very specific:

    When building the execution plan, load references/rfc-implementation.md — close open questions, order dependencies, and define …

    line 32
  6. Very specific:

    When defining acceptance and KPI targets, load references/rfc-kpi.md — connect user stories, metrics, decision rules, and verification in a …

    line 33
  7. Very specific:

    When preserving sources, load references/rfc-resources.md — record provenance without moving decisive citations out of the RFC.

    line 34
  8. Very specific:

    When you reassess, rate, or clean up an existing RFC, load references/rfc-audit.md — the dated ## Audit Reasoning block, with live-code …

    line 35
  9. Very specific:

    When improving this skill, prefer octocode-graph-eval.

    line 36
  10. Very specific:

    Use octocode-brainstorming before RFC when worth-building is unresolved.

    line 39
  11. Very specific:

    Use octocode-skills when changing this skill folder.

    line 40
  12. Distinctive:

    Before delivery validate the document contract section by section and report the real result.

    line 41

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Octocode RFC Generator

Produce evidence-backed decisions that an implementer and reviewer can execute. Flow: UNDERSTAND → RESEARCH → PREREQUISITES → COMPARE → WRITE → CLOSE QUESTIONS → KPI → VALIDATE → DELIVER. For existing RFCs, run REASSESS (see references/workflow.md § Reassess existing RFCs) instead of WRITE — audit against live code, not prior checkboxes.

Lobby rules

  • Skip RFC mode for trivial edits. Ask one focused question when uncertainty changes shape, owner, scope, or decision criteria.
  • Compare at least two alternatives, including do-nothing, unless the user explicitly requests one implementation plan.
  • Recommendations require verifiable facts; cite exact anchors and commands/checks that actually ran.
  • RFC.md owns goals, scope, and decision. Other files link to its anchors rather than restating them.
  • Resolve every open question with evidence or an explicit deferral; no recommendation may rest on an uncertain claim.
  • Order implementation by dependency, not estimates; bind requirements to acceptance and verification.
  • Reviewing, rating, or cleaning up .octocode/rfc/ (delete/implemented/fixed calls) always requires a dated ## Audit Reasoning block written into the RFC itself, backed by fresh reads of the live code.
  • Never assert RFC status from memory or from another RFC's claims.
  • Stop when: the change is a trivial one-file edit (route to octocode-research); a brainstorming handoff is marked Prototype First, Narrow, Park, or not ready; uncertainty changes artifact shape, owner, scope, or tradeoff priority; two research attempts fail (state what is known and ask for direction); scope needs splitting into separate RFCs or phases; an unresolved blocker would have to be assumed satisfied; or a save, delete, or archive under .octocode/rfc/ awaits explicit approval.

Artifact route

  • Small, reversible, single-package work: produce only RFC.md with plan, acceptance, and inline references.
  • Otherwise, after save approval, create <workspace>/.octocode/rfc/{name}/: RFC.md (decide), PREREQUISITES.md (ready, existing code only), IMPLEMENTATION.md (build), KPI.md (verify), and RESOURCES.md (source appendix).

Smart routes — load only what the current step needs

  • To understand the ask and select a mode before drafting, load references/workflow.md — gates, claim ledger, artifact set, traceability, validation, and delivery order.
  • When researching evidence, load references/octocode.md then references/research-playbook.md — delegate exact research and keep claims auditable.
  • When existing code has readiness work, load references/rfc-prerequisites.md before planning — expose baselines, blockers, owners, and setup.
  • When comparing options and writing the decision, load references/rfc-template.md — structure alternatives, goals/non-goals, reversibility, and pre-mortem.
  • When building the execution plan, load references/rfc-implementation.md — close open questions, order dependencies, and define rollout/rollback.
  • When defining acceptance and KPI targets, load references/rfc-kpi.md — connect user stories, metrics, decision rules, and verification in a traceability matrix.
  • When preserving sources, load references/rfc-resources.md — record provenance without moving decisive citations out of the RFC.
  • When you reassess, rate, or clean up an existing RFC, load references/rfc-audit.md — the dated ## Audit Reasoning block, with live-code evidence, is required before any keep/fix/delete call.
  • When improving this skill, prefer octocode-graph-eval; otherwise load references/improve-loop.md — enforce measurable accept/revert.

Related routes and verification

  • Use octocode-brainstorming before RFC when worth-building is unresolved; octocode-research to close factual questions; octocode-graph-eval for KPI rigor.
  • Use octocode-skills when changing this skill folder.
  • Before delivery validate the document contract section by section and report the real result.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.