c4 SKILL.md skillA
c4 from me2resh/apexyard is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add me2resh/apexyard/c4@git:20261015.37f5689Pins git:20261015.37f5689 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- me2resh/apexyard
- Path
.claude/skills/c4/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261015.37f5689, committed Oct 15, 2026
- First version recorded
- May 24, 2026
- Size
- 23,564 bytes
- Repository stars
- 542
- License
- MIT
Generate C4 L1 (Context) + L2 (Container) Mermaid diagrams from a project's codebase. Structurizr DSL escape hatch (--dsl) for L3+ component precision.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
Writing: read docs/skills/shared/writing-rule.md before you write a durable artifact. # /c4 — Generate C4 Architecture Diagrams Reads the target project's codebase and produces filled-in **Level 1 (System Context)** and **Level 2 (Container)** diagrams as Mermaid markdown. Saves the slog of filling in the templates by hand for a repo you already understand structurally. This skill complements `/handover` (which seeds a *stub* L2 once at onboarding). Use `/c4` whenever the architecture changes substantially and the diagrams need a refresh — or for a project that wasn't onboarded via `/handover`. For projects that hit Mermaid's ceiling — L3 (component) precision, auto-zoom across levels, tags/perspectives — pass `--dsl` to emit a **Structurizr DSL** workspace instead. See "Escape hatch: Structurizr DSL (L3+)" below. ## Path resolution Read the registry path via `portfolio_registry`, the per-project docs dir via `portfolio_projects_dir`, and the ideas backlog via `portfolio_ideas_backlog` — all from `.claude/hooks/_lib-portfolio-paths.sh`. Source the helper at the top of any bash block that touches those paths: ```bash …
Read the whole file at its exact version.
How to install
mdr add me2resh/apexyard/c4@sha256:69853fbf9ff2caa2The line at the top of this page pins the label git:20261015.37f5689, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_bqstyeci5pfolqkf)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between May 24, 2026 and Oct 15, 2026, about one every 36 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261015.37f5689 latest | 2026-10-15 | 37f5689 | 23,564 B | A | view · diff |
| git:20261008.3d1669c | 2026-10-08 | 3d1669c | 23,624 B | A | view · diff |
| git:20260910.aac255e | 2026-09-10 | aac255e | 23,626 B | A | view · diff |
| git:20260709.33c90f7 | 2026-07-09 | 33c90f7 | 23,479 B | A | view · diff |
| git:20260524.44f7e7a | 2026-05-24 | 44f7e7a | 15,121 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (23564 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
me2resh/apexyard · 542 stars · license MIT · pushed 2026-11-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_bqstyeci5pfolqkf GET https://markdownregistry.com/api/v1/resolve?ref=me2resh/apexyard/c4 GET https://markdownregistry.com/api/v1/blob/69853fbf9ff2caa26a99a03acdfadf92e5029f83eb1d6891a6a8968adc1bcde8
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from me2resh/apexyard
Every file in me2resh/apexyard