baoyu-diagram SKILL.md skillA
baoyu-diagram from jimliu/baoyu-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add jimliu/baoyu-skills/baoyu-diagram@v1.118.0Pins v1.118.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- jimliu/baoyu-skills
- Path
skills/baoyu-diagram/SKILL.md- Versions recorded
- 5
- Latest version
- v1.118.0, committed Nov 1, 2026
- First version recorded
- Apr 16, 2026
- Size
- 16,177 bytes
- Repository stars
- 27,167
- License
- MIT
Create professional diagrams with configurable dark/light theme via CSS custom properties. Use this skill whenever the user asks for any kind of technical or conceptual diagram, visualization of a system, process flow, data flow, component relationship, network topology, decision tree, org chart, state machine, or any visual representation of structure/logic/process. Also trigger when the user says "画个图" "画一个架构图" "diagram" "flowchart" "sequence diagram" "draw me a ..." or uploads content and…
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
# Diagram Generator
Create SVG diagrams. Each SVG embeds its own styles, uses CSS custom properties for theming, and loads nothing over the network.
## Output Files
For a diagram saved as `<name>.svg`, produce exactly these files:
| File | What it is | Made by |
|------|-----------|---------|
| `<name>.svg` | Source SVG, CSS variables with dark theme values | You (the LLM) |
| `<name>.light.svg` | Same markup with light theme values | `theme-switch.ts --theme=light` |
| `<name>@2x.png` | Dark PNG at 2x scale | `main.ts` |
| `<name>.light@2x.png` | Light PNG at 2x scale | `main.ts --theme light` |
If the user asks for only one theme, or only SVG, produce just those files.
## Themes
All colors are CSS custom properties defined in the `:root` block of the SVG's `<style>`; markup references them as `var(--bg)`, `var(--color-primary-fill)`, etc. Never hardcode color values in SVG attributes.
Theme values live in `{baseDir}/themes/<name>.json` — one flat JSON object mapping CSS property names (keys starting with `--`) to colors. Other keys (e.g. `"description"`) are metadata, ignored by scripts. Built-in: `dark.json`, `light.json`.
…Read the whole file at its exact version.
How to install
mdr add jimliu/baoyu-skills/baoyu-diagram@sha256:cad323126d00c70dThe line at the top of this page pins the label v1.118.0, 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_iwbqcah7pql42ao2)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Apr 16, 2026 and Nov 1, 2026, about one every 50 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.118.0 latest | 2026-11-01 | 1e96a64 | 16,177 B | A | view · diff |
| v1.118.0 | 2026-11-01 | fe111a4 | 19,129 B | A | view · diff |
| v1.118.0 | 2026-11-01 | 172fb07 | 18,637 B | A | view · diff |
| v1.117.3 | 2026-05-20 | 6699b80 | 12,272 B | A | view · diff |
| git:20260416.39792f4 | 2026-04-16 | 39792f4 | 12,255 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 (16177 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
jimliu/baoyu-skills · 27,167 stars · license MIT · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_iwbqcah7pql42ao2 GET https://markdownregistry.com/api/v1/resolve?ref=jimliu/baoyu-skills/baoyu-diagram GET https://markdownregistry.com/api/v1/blob/cad323126d00c70da03ea5ea2de13b3fa76d3b430788f6d8d2573a6b3ed03a06
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.