agentleFS
VercelKnown publishervercel-labs/screen-relay/.agents/skills/architecture-diagram/SKILL.md

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

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.
  • Samin12Skill

    document-to-action-items

    Extract cited obligations, deadlines, tasks from documents.

    Also in 6 projects that use this

  • VercelSkill

    agent-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

  • VercelSkill

    agent-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

  • michaellam26Skill

    sdlc-review

    Trigger stage-specific reviews for an SDLC project and save results to reviews/

    Also in 5 projects that use this

  • Samin12Skill

    competitor-news-monitor

    Watch named companies for material news; cited digests.

    Also in 6 projects that use this

  • john-data-chenSkill

    teams-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

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
  1. Very specific:

    Keep the file standalone with inline CSS and SVG.

    line 15
  2. Distinctive:

    Add a short text flow beside the diagram.

    line 35
  3. Distinctive:

    Check both themes and confirm the embedded page stays transparent.

    line 39

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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=light and ?theme=dark. Without either, follow prefers-color-scheme and 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.

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.