write-rfc
БесплатноБез исполняемых скриптовНе проверенDraft a new RFC document for the Incan language project. Use when the user asks to write, create, or draft an RFC, or wants to propose a new language feature…
от encero-systems★ 75 звёзд на GitHubОб этом скилле
Write RFC — Incan Project
Canonical section order
Every Incan RFC must follow this section order. Omit optional sections only when they genuinely add nothing.
- YAML-style header block
- Summary — one tight paragraph; the central claim
- Core model (optional) — for complex RFCs: numbered foundation + mechanism list
- Motivation — the pain points that make this RFC necessary
- Goals — bullet list of what this RFC does
- Non-Goals — explicit exclusions (equally important as Goals)
- Guide-level explanation — how users think about and use the feature
- Reference-level explanation — precise normative rules
- Design details — syntax, semantics, interaction with existing features, compatibility
- Alternatives considered — what was rejected and why
- Drawbacks — honest trade-offs
- Implementation architecture (non-normative, optional) — recommended internal approach
- Layers affected — which compiler/tooling layers are touched
- Unresolved questions — open design questions
RFC numbering
Check workspaces/docs-site/docs/RFCs/ for the highest existing RFC number and increment by one. Do not reuse a number, even for a closed or superseded RFC.
Header block template
# RFC NNN: Title
- **Status:** Draft
- **Created:** YYYY-MM-DD
- **Author(s):** Name (@handle)
- **Related:**
- RFC NNN (brief description)
- **Issue:** —
- **RFC PR:** —
- **Written against:** v0.X
- **Shipped in:** —
Rules:
- "Related" entries are plain text —
RFC NNN (description)— never markdown reference links. Issuelinks to the governing issue; leave it as—until that issue is filed.RFC PRrecords only the PR or PRs that implement the RFC. Leave it as—until implementation PRs exist. Never put the proposal PR or a documentation-only PR in this field; opening an RFC proposal does not populate it.Written againstis the Incan version that was current when the RFC was drafted — the version whose syntax and semantics the RFC assumes. It records context, not intent. It never changes after the RFC is accepted.Shipped inis left as—until the feature is actually released. Never set it speculatively to a planned version — that belongs on the GitHub issue.
"Layers affected" section
This section describes what is touched, not how to implement it step by step. Prescriptive task lists belong in GitHub issues, not RFCs.
Never name this section "Implementation plan", "Suggested rollout", or similar.
## Layers affected
- **Parser / AST**: new syntax or AST nodes needed
- **Typechecker / Symbol resolution**: semantic checks or symbol table changes
- **IR Lowering**: how the new construct lowers to IR
- **Native lowering**: what changes in the MIR plan or native output
- **Stdlib / Runtime (the `incan_std_<component>` facets)**: runtime-side changes
- **Formatter**: new syntax needs formatter support
- **LSP / Tooling**: completion, hover, diagnostics impact
Omit layers that are genuinely unaffected.
RFC cross-references
Never use markdown reference-link syntax for RFC cross-references. Always use plain text.
- ✅
RFC 005 (Rust interop)or justRFC 005 - ❌
[RFC 005]— renders as broken literal text without a link definition
Formatting rules
- No hard wraps in prose paragraphs. Each paragraph is a single unbroken line; let the renderer wrap. Hard line-breaks at ~100 chars cause WYSIWYG display issues in docs.
- Code blocks in Incan examples use the
incanlanguage tag. - Rustdoc
//////!comments inside code examples: ≤ 120 chars per line.
RFCs are not implementation tickets
An RFC describes what the language should do and why — not how the compiler internals should be changed to achieve it.
Allowed:
- Describing the user-facing surface (syntax, semantics, type rules, error messages)
- Sharing motivating research, prior art, or design alternatives
- Defining normative rules a future implementer must satisfy
- Non-normative architecture notes that describe a recommended shape (clearly labeled as such)
Not allowed:
- "Change
check_expr/calls.rsto handle …" - "Add a field to
FunctionInfonamed …" - "In
lower/decl/functions.rs, match on …" - Any prose that reads like a diff or a task list targeting specific files, functions, or data structures
If you find yourself writing file paths or function names, stop and ask: am I describing the contract, or am I writing the implementation? The RFC owns the contract. The implementation lives in the issue tracker and the code.
Normative language in reference-level explanations
Use RFC-style normative language:
must/must not— required/prohibited behaviorshould/should not— recommended behaviormay— permitted but not required
Unresolved questions
- List one open design question per bullet.
- Each should be answerable before Draft →
Установить write-rfc в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл write-rfc?
Draft a new RFC document for the Incan language project. Use when the user asks to write, create, or draft an RFC, or wants to propose a new language feature or infrastructure change for Incan.
Как установить скилл write-rfc?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл write-rfc запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic