Add RFC-0052: Splitting Perfetto skills across hosts (#8355) Proposes how to split `ai/skills/perfetto/` so the coding agent bundle, the UI (#8266), google3 and Android CLI each get the subset they can run, without comment markers or hand copies. Content is written against named actions, each file declares the actions it requires, and one generator builds each host's bundle and a report of what it dropped. The RFC includes a prototype plan on `android_memory/` on top of #8266.
This repository is set up to automatically manage RFCs (Request for Comments) with GitHub Discussions integration.
TL;DR
rfcs branch without any review.We are deliberately lax on the definition of RFC to keep the process lax and have a low-barrier process to both document and discuss design decisions of any size and controversy level.
When you push or update an RFC markdown file, the system automatically:
RFC files must follow this naming pattern: <RFC_NUMBER>-<title-with-hyphens>.md
Examples:
0001-buffer.md0002-ui-taskbar.md0123-authentication-strategy.mdImportant: The RFC number must be exactly 4 digits (zero-padded).
repository-root/
├── 0001-buffer.md
├── 0002-ui-taskbar.md
├── media/
│ ├── 0001/
│ │ ├── buffer1.png
│ │ └── buffer2.svg
│ └── 0002/
│ └── ui-screenshot1.png
├── .github/
│ ├── workflows/
│ │ └── rfc-automation.yml
│ └── scripts/
│ └── sync_rfc_to_discussion.py
└── .markdownlint.json
All images (SVG or PNG) should be placed in /media/<RFC_NUMBER>/:
/media/0001/diagram.png/media/0001/architecture.svg/media/0002/screenshot.png/images/diagram.png (wrong location)/media/diagram.png (missing RFC number directory)You are strongly encouraged to use draw.io / diagrams.net for your diagrams as it is able to embed metadata in both svg and png files, allowing for later re-editing.
If you use VSCode, you might find these two extensions particularly useful:
Draw.io integration particularly useful, as it allows to create diagrams directly within VSCode simply by creating a new empy xxx.drawio.{svg,png} file.
Checkout/create the rfcs branch:
git checkout -b rfcs -t origin/rfcs
Create your RFC:: Copy the rfc-template.md
Add content: Edit your RFC file with your markdown content. Include:
Add media files (optional):
mkdir -p media/0001 touch media/0001/diagram.drawio.png # Edit with vscode or app.diagrams.net
Commit and push:
git add 0001-buffer.md media/0001/ git commit -m "Add RFC-0001: Buffer Management" git push
Automated actions:
Each RFC automatically gets a GitHub Discussion created in the repository. The discussion: