AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Architect Diagram

skill-eugenelim-agent-ready-repo-architect-diagram · by eugenelim

Use when the user asks for a diagram of a system, integration, flow, state, data model, or deployment topology. Triggers on "show me", "draw", "diagram of", or artifact-shaped nouns like "sequence", "C4 Container view", "state machine". Produces Mermaid diagrams (flowchart, sequenceDiagram, C4, stateDiagram-v2, erDiagram) routed by intent. Cloud-aware (AWS, Azure, GCP, and primitives providers li…

No reviews yet
0 installs
41 views
0.0% view→install

Install

$ agentstack add skill-eugenelim-agent-ready-repo-architect-diagram

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-eugenelim-agent-ready-repo-architect-diagram)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Architect Diagram? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Skill: architect-diagram

Produce Mermaid diagrams that survive enterprise wiki rendering and stay readable at a glance. Structural discipline (boundaries, technology labels, trust zones) beats pretty.

Mode detection — pick one at entry

Read the user's message and route once. Don't ask the user to flag intent.

| Signal | Mode | | --- | --- | | Vague idea, no code or paths in scope. "Draw me how a checkout flow could look." | design | | Repo path, file list, or "the system as it is today" in scope. | document | | Diagram pasted into the conversation + "is this ok / what's wrong". | review | | Existing diagram + a diff request ("add a caching layer", "remove X"). | update |

If two modes plausibly fit, ask once which the user wants.

  • design — generate from the user's words. Fabricate component

names only where the user hasn't named one; flag fabrications.

  • document — read the code or paths first; only diagram what is

actually there. Never invent names.

  • review — quick rubric pass against references/diagram-rubric.md;

if the user wants severity-tagged findings, route to the architect-review skill (if installed) for the full critique.

  • update — apply the requested diff. Surface side-effects the user

didn't ask for (orphaned nodes, broken trust boundaries).

Procedure

  1. Route by mode (above). For document mode, read before drawing.
  1. **In document or update mode — extend "read the repo" to "read the

landscape."** Only in these two modes, and only when the as-is system integrates beyond the repo boundary and an internal knowledge-retrieval surface is reachable this session (an enterprise-knowledge MCP tool, an internal CLI, an in-repo doc set — public web does not count), load references/knowledge-surfaces.md and consult the descriptive current-system facets (current landscape, interfaces, operational reality) to ground the beyond-repo boxes, arrows, and edge labels. Name what you drew from (the surface, or "repo only / none"). A node or edge you can't ground stays ` or becomes a question — never a guess (this strengthens the never-fabricate-names rule below); a surface-derived edge the repo contradicts is **flagged**, not silently drawn over. This step does **not** apply in **design** mode (you're drawing the user's hypothetical — fabrication is allowed-but-flagged) or **review** mode (route to architect-review`).

  1. Pick the notation from intent. Always load

references/notation-routing.md — it carries the intent → notation decision table, the split-when-too-big rule, and the don't draw cases (comparison, checklist, two-component flow).

  1. Load the syntax reference for the chosen notation

references/mermaid-{flowchart,sequence,c4,state,er}.md, one file per notation, on demand. For C4 Container drafts, the starter shape is in assets/c4-container.mmd.

  1. Load cross-cloud patterns for any cloud-aware diagram. Load

references/cloud-patterns.md whenever the diagram crosses cloud boundaries — boundary stack, public-vs-private subnets, async vs. sync edges, trust-boundary labeling, storage shapes. Then layer the vendor-specific reference:

  • **Any AWS / Azure / GCP service — or a primitives provider

(Hetzner and its class)** → load references/cloud-.md (incl. cloud-primitives.md) for boundary vocabulary, subgraph nesting, and gotchas. Multi-cloud → load multiple references.

  • Agentic platform named → load

references/agentic-.md (bedrock-agentcore, ai-foundry, vertex-agent-engine). A diagram of AgentCore is not "AWS with a Lambda in it".

  1. Draft the diagram inline. Default to flowchart TB with

subgraph nesting and emoji or text markers — renders cleanly in GitHub, Confluence, Azure DevOps Wiki, and GitLab. Only if the user's target renderer is known to support it, mention Mermaid's newer architecture-beta syntax as an alternative — load references/mermaid-architecture-beta.md for the trade-offs and skeleton before offering. Do not default to it; rendering is inconsistent across enterprise wikis. When the diagram distinguishes more than one category of thing or relationship, load references/visual-encoding.md — map each visual channel (shape, grouping, position, edge style, marker) to meaning by data type, and keep colour as reinforcement only, never the sole carrier.

  1. Self-check against references/diagram-rubric.md. Fix

violations before showing the user. The non-negotiables: every Container has a technology label; no bare relation labels; fits one screen (≤15 nodes); document mode never fabricates names; trust boundaries are visible (dashed subgraph border or explicit comment).

  1. Offer to save. Scan for an obvious home (docs/architecture/,

diagrams/, docs/). Suggest a kebab-case .mmd filename. Saving is an offer, never automatic.

Anti-patterns to refuse

  • Drawing without naming the trust boundary. A cross-account or

cross-tenant arrow without a labeled boundary is a security hazard rendered as art. Add the boundary, then draw.

  • Picking the notation the user named when the intent disagrees.

If the user asks for a "sequence diagram" of what talks to what, the right answer is a Container view. Push back; offer both.

  • Defaulting to architecture-beta because it looks nicer.

Enterprise wikis render flowchart consistently; architecture-beta is uneven. Mention it as an option, not the default.

  • Fabricating service or component names in document mode. Read

the code; if a name isn't there, mark the node `` or ask.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.