class-diagram skillA
class-diagram is agent-read markdown (skill) from athola/claude-night-market: Generates a Mermaid class diagram showing types, inheritance, and composition. Use when visualizing class hierarchies or documenting a module public API..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Class Diagram Generate a Mermaid class diagram showing types, their relationships, and public interfaces from a codebase. ## When To Use - Understanding class hierarchies and inheritance - Documenting public APIs of a module - Analyzing composition vs. inheritance patterns - Answering "what types exist and how do they relate?" ## When NOT To Use - Module-level imports (use `cartograph:dependency-graph`) - Runtime data movement (use `cartograph:data-flow`) ## Workflow ### Step 1: Explore the Codebase Dispatch the codebase explorer agent: ``` Agent(cartograph:codebase-explorer) Prompt: Explore [scope] and return a structural model. Focus on classes, dataclasses, protocols, type aliases, inheritance, and composition for a class diagram. Extract: class names, methods (public only), attributes, parent classes, and composed types. ``` ### Step 2: Generate Mermaid Syntax Transform the structural model into a Mermaid class diagram. **Rules for class diagrams**: - Use `classDiagram` diagram type - Show only public methods and key attributes - Use Mermaid relationship notation: - `<|--` for inheritance - `*--` for composition - `o--` for aggregation …
Read the whole file at its exact version.
How to install
mdr add athola/claude-night-market/class-diagram@git:20260713.f98719bmdr add athola/claude-night-market/class-diagram@sha256:c6f87ec0354e8c1fPin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_anjljfv7hmc5vlyo)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260713.f98719b latest | 2026-07-13 | f98719b | 3,415 B | A | view · diff |
| git:20260622.78871f4 | 2026-06-22 | 78871f4 | 3,282 B | A | view · diff |
| git:20260521.6f5c7d9 | 2026-05-21 | 6f5c7d9 | 2,652 B | A | view · diff |
| git:20260506.55fecfb | 2026-05-06 | 55fecfb | 2,583 B | A | view · diff |
| git:20260404.930da7c | 2026-04-04 | 930da7c | 2,582 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 (3415 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
athola/claude-night-market · 338 stars · license MIT · pushed 2026-09-22 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_anjljfv7hmc5vlyo GET https://markdownregistry.com/api/v1/resolve?ref=athola/claude-night-market/class-diagram GET https://markdownregistry.com/api/v1/blob/c6f87ec0354e8c1f35a78323d65df072b7cf689f1963da57a02c2b9399a914f7
Your agent 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.