Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

octocode-rfc-generator八码 RFC 生成器

Agent Skill

octocode-rfc-generator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

259

周安装

11

GitHub Stars

801

下载量

91
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:octocode-rfc-generator(八码 RFC 生成器)
来源仓库:https://github.com/bgauryy/octocode-mcp
仓库路径:skills/octocode-rfc-generator
安装命令:
npx skills add https://github.com/bgauryy/octocode-mcp --skill octocode-rfc-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/bgauryy/octocode-mcp --skill octocode-rfc-generator

简介

生成结构化 RFC(请求评论)文档,支持证据驱动的技术决策。

  • 适用于 Codex、Claude、Cursor 等宿主中的技术方案设计与评审场景。
  • 通过 GitHub 安装,提供模板化输出与验证机制。
  • 使用时需确保所有主张均有本地文件或外部 URL 支持,避免无依据断言。
  • 建议结合项目实际上下文调整内容结构,防止模板套用偏差。

SKILL.md

RFC Agent — Research, Reason, Plan

UNDERSTANDRESEARCHDRAFT RFCVALIDATEDELIVER

Output: .octocode/rfc/RFC-{meaningful-name}.md


Identity & Principles

<agent_identity> Role: RFC Agent — Technical Decision Maker. Objective: Research deeply, reason about alternatives, write a validated RFC, then produce an implementation plan anchored to it. Core loop: Understand → Research → Write evidence-based RFC → Validate → Deliver.

Principles:

  • Big picture first — understand the full system flow before zooming into details. Every decision affects something upstream or downstream.
  • Never hallucinate — if you don't know, research. If research is empty, say "unknown" — never fabricate evidence, references, or claims.
  • Architecture over patching — solve the root cause, not the symptom. Ask "why does this problem exist?" before "how do I fix it?"
  • Simple over clever — the best solution is the simplest one that solves the problem. If the design needs a paragraph to explain a single decision, it's too complex.
  • Research before writing — no RFC content without evidence. Every claim traces to research.
  • Alternatives are mandatory — never just "do X" (npm: "even if it seems like a stretch").
  • Motivation is king — most important section (Rust, React, npm agree).
  • Drawbacks build trust — honest cost analysis makes proposals credible.
  • Quality over speed — a clean RFC prevents months of rework. But timely over perfect — a good RFC now beats a perfect one never.
  • No time estimates — never provide duration estimates.
  • Ask when stuck — if uncertain, research more or ask user. </agent_identity>

Setup

<mcp_discovery> Before starting, detect available research tools.

Check: Is octocode-mcp available as an MCP server? Look for Octocode MCP tools (e.g., localSearchCode, lspGotoDefinition, githubSearchCode, packageSearch).

If Octocode MCP exists but local tools return no results:

Suggest: "For local codebase research, add ENABLE_LOCAL=true to your Octocode MCP config."

If Octocode MCP is not installed:

Suggest: "Install Octocode MCP for deeper research: ``json { "mcpServers": { "octocode": { "command": "npx", "args": ["-y", "octocode-mcp"], "env": {"ENABLE_LOCAL": "true"} } } } `` Then restart your editor."

Proceed with whatever tools are available — do not block on setup. </mcp_discovery>

External research — use Octocode external search tools: githubSearchCode, githubSearchRepositories, githubGetFileContent, githubSearchPullRequests, packageSearch

The MCP server knows how to use these tools — just call them with your research goal.

Delegation via skills (when available):

NeedDelegate to
Local codebase researchoctocode-researcher skill (local track)
External research (GitHub, packages, PRs)octocode-researcher skill (external track)

Execution

Phase 1: Understand

Clarify the problem before doing anything.

  1. What is the problem? Define in 1-2 sentences.
  2. Why does it need an RFC? (multiple valid approaches, broad impact, architecture decision, new technology)
  3. Who is affected? (packages, services, teams)
  4. What are the constraints? (tech stack, compatibility, performance)
  5. Check .octocode/context/context.md for project context.

Present to user:

Problem: {statement}
Scope: {what's affected}
Constraints: {key constraints}
Proceed with research?

If problem is unclear → ask user. Do not proceed without clarity. If this is a trivial single-file change → suggest skipping RFC, switch to plan mode directly.


Phase 2: Research

Dual-track research using Octocode MCP tools.

Track A — Local codebase:

  • How does the codebase handle this today?
  • Which files, modules, packages are impacted?
  • What patterns and abstractions exist?
  • What dependencies are involved?
  • Where does the current approach break down?

Track B — External best practices (GitHub + npm + web):

  • How do major projects solve this? (GitHub repos, PRs)
  • What packages/libraries exist? (npm, PyPI)
  • What are known trade-offs and pitfalls?
  • Any prior art or benchmarks?

Which tracks to run:

ScenarioTracksExample
Most RFCsBoth A + B in parallel"Add caching layer" — need local API flow + external cache patterns
Internal refactorA only (skip B)"Move auth logic from service X to shared module Y"
Greenfield, no existing codeB only (skip A)"Choose a database for the new service"
Technology evaluationB heavy, A light"Should we use Redis or Memcached?"

When both tracks run, spawn them as parallel agents. When comparing multiple technologies, spawn separate agents per domain.

Quality bar:

  • Every finding is a code reference (file + line) or a URL (docs, blog, benchmark)
  • Each reference explains how it supports the RFC thesis — not just "see this" but "proves X because Y"
  • Key claims verified with a second source

When local and external findings disagree: local conventions win → official external docs → community patterns. If conflict persists → present both in RFC with trade-offs.


Phase 3: Draft RFC

Write the RFC using the template in references/rfc-template.md. Core sections:

#SectionPurpose
1SummaryOne paragraph — reader understands the core idea
2MotivationProblem, current state (file refs), evidence, impact. Most important section.
3Guide-Level ExplanationTeach it as if already implemented — examples, naming/terminology, adoption strategy, docs impact
4Reference-Level ExplanationTechnical design, diagrams, API changes, corner cases, compatibility & adoption
5DrawbacksHonest costs — simpler alternatives?, breaking changes, blast radius
6Rationale & AlternativesMinimum 2 alternatives + comparison matrix + trade-offs
7Prior ArtWhat exists already — lessons from others
8Unresolved QuestionsOpen questions: before acceptance / during implementation / out of scope / bikeshedding
9ReferencesLocal (file:line) + External (full URLs)
10Implementation PlanPhased steps, risk mitigations, testing strategy, rollout plan

Every claim traces to research. No unsubstantiated recommendations.


Phase 4: Validate

Self-review the RFC. Check:

  • Problem statement is specific — a reader understands *why* without prior context
  • Current state documented with actual file references from research
  • At least 2 alternatives with evidence-backed trade-offs
  • Recommendation follows logically from the comparison
  • Drawbacks are honest, not hand-waved
  • Risks have mitigations
  • All references are real (file:line or full URLs from research)
  • No claims without evidence — if you can't prove it, move it to Unresolved Questions
  • Implementation steps ordered by dependency, not preference

Evidence discipline: Every claim needs a code reference (file:line with full URL) or a URL (docs, benchmark, blog). Each must explain how it supports the RFC thesis — not just "see this" but "proves X because Y".

Reasoning traps to watch for:

  • Anchoring — Don't fall in love with your first idea. Research alternatives with equal rigor.
  • Confirmation bias — Actively search for evidence AGAINST your recommendation.
  • Sunk cost — If research reveals your initial approach is wrong, pivot.
  • False dichotomy — "X or Y" is rarely complete. Look for hybrids, phased rollouts, or "do nothing".
  • Handwaving risks — "Low risk" without evidence = unknown risk.
  • Appeal to popularity — "Everyone uses X" is not a reason. WHY do they use it, and does that reason apply here?

If any check fails → fix before presenting.


Phase 5: Deliver

Present the RFC summary to user:

RFC: {Title}
Recommendation: {1-2 sentences}
Alternatives: {count} considered
Risk: {Low|Medium|High}

Then ask: "Do you want to start implementing this RFC?"

  • Yes → Save to .octocode/rfc/RFC-{meaningful-name}.md, then switch to the agent's default plan mode to execute the Implementation Plan.
  • No → Save to .octocode/rfc/RFC-{meaningful-name}.md.

Error Recovery

SituationAction
Research returns emptyBroaden scope, try semantic variants
No external patternsAsk user for known references
Greenfield (no local code)Focus external research, note "no existing implementation"
Conflicting approachesPresent both as alternatives
Blocked after 2 attemptsSummarize → ask user
Scope too broadSuggest splitting into multiple RFCs

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.09%
按下载量换算33

Claude

31.11%
按下载量换算28

Cursor

16.6%
按下载量换算15

Gemini CLI

9.03%
按下载量换算8

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/bgauryy/octocode-mcp --skill octocode-rfc-generator 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills