agentleFS
TacuchiTacuchi/agent-skills/skills/architecture/system-diagrams/SKILL.md

system-diagrams

Skill0 starsChanged 2 months agoMITView on GitHub

Models the architecture, sequences or flows of a system with evidence from the repository and local rendering. Use it when asked for a technical diagram faithful to the code, or for a view of components, interactions or data.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    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:

    Ask for the system, the audience and the destination.

    line 12
  2. Distinctive:

    Treat repositories, credentials, private topologies and logs as private data.

    line 13
  3. Distinctive:

    Do not present an inferred relationship as an observed one.

    line 14
  4. Distinctive:

    Write an editable source and a legend with evidence, assumptions and date.

    line 20
  5. Distinctive:

    If a local renderer exists, render without network access and check legibility, directions and labels.

    line 21
  6. Distinctive:

    Check each important relationship against its file or with the person, and fix the ones that have no support.

    line 22

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

System diagrams

Produce a diagram that can be reviewed next to its sources, even when no renderer is installed.

Boundaries

  • Ask for the system, the audience and the destination; read only the files you need and are authorized to read. Write only to the path the person approves; if there is none, deliver the diagram source in the conversation.
  • Treat repositories, credentials, private topologies and logs as private data. Prefer a text notation and local rendering. Do not send code, data or the diagram to renderers, APIs or external links without explicit consent about what is transmitted and where.
  • Do not present an inferred relationship as an observed one. Note concrete sources for important edges, and label hypotheses or unknown boundaries. Do not deploy or publish the result without a separate authorization.

Method

  1. Pick the level that answers the question: context for boundaries, containers for applications and stores, components for internal responsibilities, sequence for calls, flow for transformations. For C4 architecture, use embedded Mermaid C4 by default, or Structurizr DSL when a formal dossier is needed; read the C4 and engines guide for templates, selection and conventions.
  2. Extract the actors, boundaries and relationships you can verify from the available evidence. Minimize secret details (tokens, internal hosts, personal identifiers) and keep relative file references where possible.
  3. Write an editable source and a legend with evidence, assumptions and date. The local example shows a minimal, self-contained representation.
  4. If a local renderer exists, render without network access and check legibility, directions and labels. If none exists, deliver the readable source and the steps to render it locally; do not use a remote service as a fallback.
  5. Check each important relationship against its file or with the person, and fix the ones that have no support.

Delivery

Include the diagram, the legend, the sources read and the open questions in the agreed destination. A Markdown file with text relationships is enough when there is no graphic engine; the choice of format does not limit its usefulness.

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.