agentleFS
d-oitd-oit/rust-2026-template/.agents/skills/architecture-diagram/SKILL.md

architecture-diagram

Skill11 starsChanged 6 months agoMITView on GitHub

Generate a human-friendly overview infographic by scanning the live project structure, including workspace crates, skills, and scripts. Use this skill whenever the user asks to regenerate, refresh, or update the overview diagram. Triggers on phrases like "update the overview", "regenerate the overview SVG", or "sync the overview".

27 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use competitor-news-monitor, document-to-action-items 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.
  • aivrarSkill

    competitor-news-monitor

    Watch named companies for material news; cited digests.

    Also in 5 projects that use this

  • aivrarSkill

    document-to-action-items

    Extract cited obligations, deadlines, tasks from documents.

    Also in 5 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 7 projects that use this

  • kevinnftSkill

    touchdesigner-mcp

    Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.

    Also in 5 projects that use this

  • kevinnftSkill

    python-debugpy

    Debug Python: pdb REPL + debugpy remote (DAP).

    Also in 7 projects that use this

  • braxtonROSE4Skill

    songwriting-and-ai-music

    Songwriting craft, AI music generation prompts (Suno focus), parody/adaptation techniques, phonetic tricks, and lessons learned. These are tools and ideas, not rules. Break any of them when the art calls for it.

    Also in 7 projects that use this

  • +4 more from aivrar
  • +1 more from kevinnft

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 27 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After the script exits:

    line 46
  2. Distinctive:

    If counts differ from the last known state, summarize what changed.

    line 49

“Common” is measured: kept by at least 6 in 10 of the 27 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

Overview Diagram

Generates a human-friendly overview infographic showing what the project is, how to get started, what's inside, and how it all connects.

Execution

Step 1 — Locate Project Root

ls .agents/ Cargo.toml 2>/dev/null || echo "NOT_FOUND"

Step 2 — Generate the Diagram

python .agents/skills/architecture-diagram/scripts/generate_overview.py \
  --root . \
  --out .template/overview.excalidraw \
  --svg-out .template/overview.svg

The script auto-discovers at runtime:

  • Workspace crates → cargo metadata (with Cargo.toml glob fallback)
  • AI skills → .agents/skills/*/ directories
  • Commands → .opencode/commands/*.md

Step 3 — Sync to Docs

cp .template/overview.svg docs/src/overview.svg

Step 4 — Confirm and Report

After the script exits:

  1. Tell the user the output path.
  2. Report counts: N crates · M skills.
  3. If counts differ from the last known state, summarize what changed.

Output

  • .template/overview.excalidraw — editable Excalidraw source
  • .template/overview.svg — generated SVG for docs embedding

Optional Dependencies

Node.js (for SVG export)

Required for SVG/PNG export from Excalidraw:

npm ci

Without Node.js, use --no-export to generate only the .excalidraw source.

CLI Flags

FlagDescription
--root PATHWorkspace root (default: .)
--out PATHExcalidraw output path (default: .template/overview.excalidraw)
--svg-out PATHSVG export path (default: .template/overview.svg)
--png-out PATHPNG export path (optional)
--no-exportSkip SVG/PNG export (Excalidraw only)

Rationalizations

RationalizationReality
"The overview is close enough, no need to regenerate"Stale diagrams mislead new contributors about project structure.
"I'll update the diagram manually"Manual edits break on next regeneration and introduce inconsistencies.

Red Flags

  • Committing workspace changes without regenerating the overview.
  • Manually editing the SVG instead of using the generator script.
  • Direct push failures caused by missing retry loops or unhandled concurrent updates on main (see case update-diagram-push-20260917 in .agents/ci/regression-matrix.json).

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.