agentleFS
mgiovanimgiovani/cc-arsenal/skills/docs-rfc/SKILL.md

docs-rfc

Skill8 starsChanged 2 months agoMITView on GitHub

Create a numbered RFC (Request For Comments) document proposing a

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 7 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a new RFC document proposing and discussing a change.

    line 20
  2. Distinctive:

    Verify current state: explore the codebase to understand what exists today.

    line 26
  3. Distinctive:

    Check dependencies: confirm libraries/tools mentioned actually exist in the project.

    line 28
  4. Very specific:

    No Task tool available: explore directly with grep/glob/read before writing, covering the same four questions (current patterns, related …

    line 44
  5. Very specific:

    Check for a variant keyword: minimal, standard, or detailed

    line 52
  6. Distinctive:

    If a variant is found, remove it from the title

    line 53
  7. Very specific:

    Run git config user.name, falling back to "Development Team" if empty.

    line 70
  8. Very specific:

    Ensure docs/rfc/ exists, write populated content, set status to "Draft"

    line 92
  9. Distinctive:

    Write the RFC before starting implementation, not after

    line 116
  10. Distinctive:

    Document alternatives considered and why they were rejected

    line 118
  11. Distinctive:

    Keep it updated as a living document during review

    line 120

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

Create request for comments

Create a new RFC document proposing and discussing a change.

Anti-hallucination guidelines

RFCs propose changes to real systems, so ground every claim before writing:

  1. Verify current state: explore the codebase to understand what exists today.
  2. Reference actual code: don't invent APIs or patterns, find real examples.
  3. Check dependencies: confirm libraries/tools mentioned actually exist in the project.
  4. Validate assumptions: each claim about current state must be verified.

Workflow

Phase 1: explore and gather context

Understand the codebase before writing anything. If the Task tool is available, use the Explore agent:

Use Task tool with Explore agent:
- prompt: "Analyze the codebase to understand [RFC_TOPIC]. Find: 1) Current implementation patterns, 2) Related components and their interactions, 3) Existing similar features, 4) Technical constraints. Return verified findings with file paths."
- subagent_type: "Explore"

No Task tool available: explore directly with grep/glob/read before writing, covering the same four questions (current patterns, related components, existing similar features, technical constraints). Either way, keep what you find: it feeds the Background and Detailed Design sections in Phase 6.

Phase 2: parse arguments

  1. Extract proposal title from $ARGUMENTS
  2. Check for a variant keyword: minimal, standard, or detailed
  3. If a variant is found, remove it from the title
  4. Default variant: standard

Phase 3: determine RFC number

  • Scan docs/rfc/ for existing files matching RFC-XXXX-*
  • Increment the highest number by 1 (start at 0001 if none exist)
  • Format as a 4-digit padded number (e.g. 0001, 0023)

Phase 4: sanitize title for filename

Convert the title to kebab-case, lowercase, special characters stripped. Example: "Add GraphQL API Support" -> add-graphql-api-support. This sanitized form becomes part of the filename built in Phase 7.

Phase 5: get author information

Run git config user.name, falling back to "Development Team" if empty. This populates the author field the template expects in Phase 6.

Phase 6: load and populate template

Template location: assets/templates/, select based on variant:

  • minimal -> minimal.md: Summary, Motivation, Proposal, Open Questions. Use for small changes.
  • standard -> standard.md (default): adds Rationale and Alternatives, Implementation Plan, Testing Plan, Migration Strategy, Timeline. Use for most feature proposals.
  • detailed -> detailed.md: full set including Goals/Non-Goals, Security Considerations, Performance Implications, Monitoring and Metrics. Use for major/architectural changes.

Draft real content for every {{PLACEHOLDER}} present in the selected template: each variant has its own set (metadata fields, body sections, risk tables, alternatives, review history, and so on). Base each one on the Phase 1 findings or on explicit reasoning about the proposal; never leave a placeholder token literally in the output. The written RFC must contain zero unresolved {{...}} tokens.

Phase 7: create RFC file

  • Filename: docs/rfc/RFC-XXXX-kebab-case-title.md, using the number from Phase 3 and the sanitized title from Phase 4
  • Ensure docs/rfc/ exists, write populated content, set status to "Draft"

Phase 8: report creation

Show the RFC number, title, file path, and next-step guidance (share for feedback, update status as it progresses). This is the last step; nothing downstream consumes this report beyond the person reading it.

Usage examples

docs-rfc "Add GraphQL API Support"
docs-rfc minimal "Update Logging Format"
docs-rfc detailed "Migration to Microservices Architecture"

RFC status lifecycle

Draft -> In Review -> Accepted / Rejected (or Withdrawn at any point, Implemented after accepted work ships). Update the status field as the RFC moves through review.

Good practices

  • Write the RFC before starting implementation, not after
  • Include concrete examples and real code references, not hypotheticals
  • Document alternatives considered and why they were rejected
  • Link related ADRs, issues, or other RFCs
  • Keep it updated as a living document during review

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.