architecture-diagram
Skill456 starsChanged 17 days agoApache-2.0View on GitHub
Create or update architecture and flow diagrams for screen-relay's docs. Use when a docs page needs a diagram of components, data flow, or a pipeline, or when an existing diagram in docs/public/diagrams changes.
53 other projects use a version of this.
Adopted by
Most recently taken up by
- Arupbiswas09/claude_skillstheir own version, first seen Nov 29, 2026
- openamer-max/max-scriptstheir own version, first seen Nov 29, 2026
- frankhefeng/kiro-bootstraptheir own version, first seen Nov 22, 2026
- NG-Bullseye/architecture-diagram-skilltheir own version, first seen Nov 22, 2026
- aboylabs/ai-agent-skillstheir own version, first seen Nov 22, 2026
- zyx0407/skillstheir own version, first seen Nov 16, 2026
Used with
Projects with it also use document-to-action-items, agent-desktop-linux and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Samin12Skilldocument-to-action-items
Extract cited obligations, deadlines, tasks from documents.
Also in 6 projects that use this
VercelSkillagent-desktop-linux
Linux setup and troubleshooting for agent-desktop: the AT-SPI bus, toolkit identity, X11 versus Wayland, capture consent, and headless refusals.
Also in 3 projects that use this
VercelSkillagent-desktop-macos
macOS setup and troubleshooting for agent-desktop: accessibility permissions, native element identity, application-owned surfaces, and headless refusals.
Also in 3 projects that use this
michaellam26Skillsdlc-review
Trigger stage-specific reviews for an SDLC project and save results to reviews/
Also in 5 projects that use this
Samin12Skillcompetitor-news-monitor
Watch named companies for material news; cited digests.
Also in 6 projects that use this
john-data-chenSkillteams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
Also in 8 projects that use this
- +2 more from vercel-labs
- +1 more from Samin12
Other versions53 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 53
- NousResearch/hermes-agent★ 267ksame name
- lahfir/agent-desktop★ 27ksame name
- vercel-labs/agent-desktop★ 27ksame name
- Cocoon-AI/architecture-diagram-generator★ 7.4ksame name
- Tommy-yw/RunbookHermes★ 546same name
- Mathews-Tom/armory★ 340same name
- konraddzbik/architecture-diagram-skill★ 143same name
- proyecto26/system-design-skills★ 118same name
- microsoft/github-copilot-modernization★ 48same name
- ulises-jeremias/agent-toolkit★ 28same name
43 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- technical-writerSkill
- coreSkill
- screen-relaySkill
- vercel-sandboxSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 50 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Keep the file standalone with inline CSS and SVG.
- Distinctive: line 35
Add a short text flow beside the diagram.
- Distinctive: line 39
Check both themes and confirm the embedded page stays transparent.
“Common” is measured: kept by at least 6 in 10 of the 50 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Architecture diagram
Diagrams are standalone HTML files that the docs embed with the Diagram component. Follow the technical-writer skill for any prose.
Folder convention
- Save each diagram as
docs/public/diagrams/<slug>/index.html, using a short kebab-case slug. - Keep the file standalone with inline CSS and SVG. Start from references/template.html and follow references/style.md.
- Support
?theme=lightand?theme=dark. Without either, followprefers-color-schemeand default to dark. Keep the page background transparent for embeds. - Give the SVG a
<title>and<desc>that describe its flow.
Draw the real mechanism
Draw for the page's reader. Show what they see, do, and how the flow connects. Use plain English labels; omit code identifiers, protocols, endpoints, codecs, and library names unless the page is for contributors. Use at most 5-7 nodes in an overview diagram and move extra detail to the page text. Use the solid borders, Geist tokens, spacing, type, icons, arrows, and labels in references/style.md and references/template.html.
Use orthogonal connectors only, and never rotate text. Align nodes on shared rows and columns. Size the viewBox to the content with 16–24px margins and no large empty areas. For separately labeled directions between the same nodes, use parallel lines 16px apart with one label above and one below. A shared label can use one bidirectional line.
Embed it
<Diagram name="architecture" title="screen-relay architecture" aspectRatio="720 / 288" />Set aspectRatio to the SVG viewBox width and height. The component passes the site theme to the diagram.
Text version
Add a short text flow beside the diagram. Keep the same nodes, order, and arrow labels so it works without the image and for screen readers.
Check it
Check both themes and confirm the embedded page stays transparent. At the 720px viewBox width, verify that text fits inside nodes, labels do not touch lines or each other, arrows stop 4-6px before node edges, and spacing follows the 8px grid.
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
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.

