Skip to content
Back to skills

Artspec Rfcs

ASecurity

Draft, revise, version, and validate design RFC documents managed by ArtificialSpectrum (artspec). Use when creating a new RFC, updating a landed RFC's body, authoring ## Invariants or SemVer ## Changes sections, keeping bilingual RFC pairs in sync, or diagnosing check-rfcs CI failures.

  • 3,396 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added December 1, 2026
ai-agentsgotestinggitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Prism-Shadow/penguin-harness --skill artspec-rfcs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Artspec Rfcs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Artspec Rfcs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/prism-shadow-artspec-rfcs/badge)](https://www.skillsdirectory.com/skills/prism-shadow-artspec-rfcs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: artspec-rfcs
description: Draft, revise, version, and validate design RFC documents managed by ArtificialSpectrum (artspec). Use when creating a new RFC, updating a landed RFC's body, authoring ## Invariants or SemVer ## Changes sections, keeping bilingual RFC pairs in sync, or diagnosing check-rfcs CI failures.
---

# Agentic RFC Contract (`artspec-rfcs`)

Read `artspec.config.json` at the repository root first to learn this repository's `rfcs.dir`, `rfcs.prefix` (e.g. `RFC` or `PRFC`), `languages` (e.g. `["en"]` or `["en", "zh"]`), `rfcs.requiredSections`, and `rfcs.headings`. If `artspec.config.json` is absent, use the defaults (`dir: "rfcs"`, `prefix: "RFC"`, `languages: ["en"]`, headings `Changes` / `Invariants`).

## Design Philosophy — What Belongs in an RFC

1. **Record only what does not change — never paste full interfaces**:
   - An RFC captures durable concepts, boundaries, and invariants. A common mistake is pasting an entire `interface`, struct, or schema verbatim when not every field is worth freezing in an RFC.
   - **Change-frequency litmus test**: it can be hard to distinguish "design" from "implementation", **but it is easy to distinguish what changes**. If a description in an RFC has to be edited frequently across PRs, that part is implementation detail — stop patching it and revise it to capture only the truly invariant design underneath.
2. **An RFC is NOT a plan**:
   - Never use an RFC to record rollout plans, task checklists, schedules, or "what we are going to build next".
   - Write the **design you intend to establish** and discuss its concepts, contracts, trade-offs, and invariants.
3. **Do not link outside RFCs unless it is a permanent link to another specification**:
   - Link freely to sibling RFCs and to **permanent external specifications** (e.g. the WHATWG HTML Standard, SemVer 2.0, W3C TR, IETF RFCs).
   - **Never link to GitHub code permalinks** (`/blob/`, `/tree/`, `/commit/`, `/raw/`) or relative source paths (`../src/...`) — code pointers are implementation details, not specification. CI rejects them.
4. **Keep RFCs stable — ask "is it truly ready?" before merging**:
   - Landed RFCs are meant to stay stable. Before merging an RFC PR, explicitly ask: *is this design really ready to settle?*
   - **Implementation does not need the RFC to be merged first.** Even an **open** RFC PR is already a valid, valuable reference for implementation; let implementation validate the design before merging the RFC.

## Core Rules

1. **Separate design from implementation**: An RFC and its implementation code ship in separate pull requests.
2. **Filename & numbering**:
   - Name files `<PREFIX>-NNNN-<kebab-slug>.md` (and `<PREFIX>-NNNN-<kebab-slug>.<lang>.md` for every secondary language in `languages`).
   - Pick the next unused 4-digit number across both landed files and open `request-for-comments` PRs. Never reuse a retired or existing number.
3. **Immutable static header — NEVER write PR links or revisions by hand**:
   - Keep only timeless metadata at the top: `Feature Name`, `Start Date`, and optional `Related` RFC links.
   - **Forbidden in headers**: `RFC PR`, `PRFC PR`, `Implementation PR`, `Updated by`, `Rev`, `修订`, or provenance blockquotes. CI rejects them.
   - The site computes **Version** (highest SemVer under `## Changes`), **Latest PR** and per-version release PRs (all PRs labeled `rfcs.label` that edit the file), and **Updated** date automatically.
4. **Optional `## Invariants`** (or localized heading configured in `rfcs.headings`):
   - Omit when the design carries no permanent property.
   - When present, include only properties that pass three checks: **speaks concepts** (references defined concepts, not file paths), **matters** (breaking it defeats the RFC's purpose), and **survives implementation** (holds even if every implementing file is rewritten).
   - Follow the repo's configured style (`blockquote`: `### <Name>` followed by a one-sentence `> ...` statement; `bullet`: `- **Name**: ...`; or `any`).
   - Retire an invariant only by name in a new revision recorded under `## Changes`.
5. **Mandatory SemVer `## Changes` — at most ONE SemVer per PR** (or localized heading configured in `rfcs.headings`):
   - Every RFC closes with `## Changes`, starting at `### v1.0.0`.
   - Every heading must be unique and valid SemVer 2.0 (`vMAJOR.MINOR.PATCH`, never `v0.0.0`).
   - **Body edit ⇒ version bump**: modifying a landed RFC's body (anything at or after the first `## ` heading) requires raising the highest `### vX.Y.Z` heading. Header-only edits do not require a bump.
   - **One SemVer per PR (strictly enforced by CI)**: a single PR may introduce **at most one** new `### vX.Y.Z` entry per RFC (a brand-new RFC has exactly one entry; a revision PR adds at most one entry above the base branch). When iterating on review feedback before merge, **update that same single SemVer entry in place** — never append `v1.1.0`, `v1.2.0`, `v1.3.0`, … for each commit inside the same PR.
   - Across multi-language pairs, every language file must list the **exact same set of version headings**.
6. **No code permalinks or non-spec links**:
   - Do not include GitHub code permalinks (`/blob/`, `/tree/`, `/commit/`, `/raw/`) or relative links escaping the RFC directory (`../...`). CI rejects them.
7. **Mandatory PR description checklist**:
   - Every pull request that adds or modifies an RFC **must** include a checked confirmation box in the PR description attesting that the RFC follows `artspec-rfcs`:
     ```markdown
     - [x] I have written/updated this RFC in accordance with `artspec-rfcs`.
     ```
     (Localized text such as `- [x] 已按照 artspec-rfcs 书写 RFC` is also accepted as long as the box is checked `[x]` and names `artspec-rfcs`.)
   - `check-rfcs.yml` enforces this checkbox on PR open, edit, reopen, and push.

## Multi-Language Pairs

When `languages` includes more than one locale (e.g. `["en", "zh"]`):

- Ship all language files in the same pull request; mirror sections, invariants, and SemVer `## Changes` version headings across the pair.
- Link counterparts directly below the H1 (e.g. `[中文版](RFC-NNNN-slug.zh.md)` and `[English](RFC-NNNN-slug.md)`).
- Keep code identifiers, filenames, and SemVer headings verbatim in English.

## Templates

Read the templates in `references/template.en.md` (and `references/template.zh.md` for Chinese pairs) before drafting a new RFC.

## Verification & Pre-Merge Checklist

Before opening or updating a PR, run:

```sh
npx artspec check-rfcs --base origin/main
```

Fix every reported error before requesting review, ensure the PR description contains the checked `artspec-rfcs` box, and before merging ask: **is this RFC truly ready to stabilize, or should implementation validate it while the RFC remains open?**

Files in this skill

  • SKILL.md6.7 KB
  • references/template.en.md1.4 KB
  • references/template.zh.md1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.