pretty-mermaid
Generate and render Mermaid diagrams for architecture docs, READMEs, PRs, terminals, and CI as themed SVG or ASCII/Unicode art. Use this skill whenever the user provides Mermaid code or .mmd files; asks for a flowchart, sequence/state/class diagram, ERD, XY chart, or architecture
Profil de l’actif
Agents de code et de développement
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scénario
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Adéquation Agent
Claude Code + Browser agents + CLI
Compatible avec Codex, Claude Code, Cursor, CLI ou des Agents personnalisés.
Installer
Prêt
npx skills add imxv/Pretty-mermaid-skills --skill pretty-mermaid
Maintenance
À jour
1 jours depuis le dernier push
Risque
Revue nécessaire
Dependency or permission surface needs review
Qualité GitHub
1.1K
78/100 Qualité · 78/100 Confiance
Tags de couverture
Notes de revue
Dependency or permission surface needs review · Permission surface may require sandboxing
Carte d’adoption Agent
Confiance, audit et préparation à l’installation en un coup d’œil
Ces scores combinent les métadonnées publiques du dépôt, les signaux de revue OpenAgentSkill, la fraîcheur de maintenance et la préparation à l’installation. Ils servent à présélectionner et ne remplacent pas la revue humaine.
Qualité
SolideSolid option that is likely worth shortlisting for production workflows.
Confiance
Sandbox uniquementCandidate utile avec des signaux de confiance incomplets ou mixtes. Gardez-la dans un espace isolé jusqu’à ce que la boucle de résultats confirme son adéquation.
Audit
Revue nécessaireRevue lisible par machine de la préparation à l’installation, des métadonnées de sécurité, de la maintenance et du risque d’adoption.
Trust Score OpenAgentSkill v5
Revue humaine avant installation
Exécutez uniquement dans un sandbox et comparez les alternatives proches avant usage réel.
Stars
1.1K stars GitHub
Activité du dépôt
1.1K stars et 57 forks
Maintenance
1 jours depuis le dernier push
Licence
MIT
Installer
npx skills add imxv/Pretty-mermaid-skills --skill pretty-mermaid
Sécurité d’installation
Chemin d’installation standard de package ou runtime
Surface de permissions
shell or command execution, filesystem or document access
Résultats Agent
Pas encore de données de résultats Agent
Documentation
Contexte README/SKILL.md solide
Résumé des risques
Revoir avant production
- Financial research output is not financial advice; require human review before any live investment decision.
- Quality score needs review
- Permission surface needs review: shell or command execution, filesystem or document access
- Dependency/runtime risk: command execution surface, external package install surface
Préparation à l’installation
Chemin d’installation disponible
- Le chemin d’installation est disponible
- La preuve du dépôt est disponible
- La licence est déclarée
- Pas encore de preuve de résultat Agent-Proven
Métadonnées lisibles par Agent
Données de décision lisibles par machine pour ce skill.
Utilisez ce bloc ou le JSON intégré pour décider si un Agent doit installer ce skill, choisir une alternative ou demander d’abord une revue humaine.
Tâches adaptées
- workflows GitHub automation
- Équipes Claude Code
- Équipes qui valorisent les signaux d’adoption GitHub
- Inspect repository metadata
Agents adaptés
Décision d’installation
- Commande
- npx skills add imxv/Pretty-mermaid-skills --skill pretty-mermaid
- Politique
- Revoir
- Revue humaine
- Oui
Confiance et risque
- Confiance
- 70/100
- Audit
- 82/100
- Niveau de risque
- Revue nécessaire
Boucle de résultat
- Endpoint
- /api/agent/outcome
- ID d’événement
- resolve
- Résultats
- 5
Commande d’installation
npx skills add imxv/Pretty-mermaid-skills --skill pretty-mermaidNe pas utiliser quand
- Équipes qui nécessitent un SLA soutenu par le fournisseur
- Environnements fortement conformes sans revue interne de sécurité
- No major risk signals from current metadata
- Indices de permissions à haut risque : exécution shell ou de commande
- Dependency or permission surface needs review
Skill alternatif
Frontend Design
171.2K Stars
npx skills add anthropics/skills --skill frontend-design
Skill alternatif
Taste Skill: Anti-Slop Frontend
79.7K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Skill alternatif
Canvas Design
171.2K Stars
npx skills add anthropics/skills --skill canvas-design
Skill alternatif
Anthropic Brand Guidelines
171.2K Stars
npx skills add anthropics/skills --skill brand-guidelines
Sécurité Agent v2
46/100 · Éviter l’installation automatique
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
Élevé
Exécution shell ou de commande
Les métadonnées de la skill font référence à des workflows de terminal, CLI, shell, sous-processus ou exécution de commande.
Moyen
Browser automation
Skill may drive a browser or interact with web pages.
Moyen
Accès réseau
La skill récupère probablement des pages distantes, API, dépôts ou services externes.
Moyen
Accès au système de fichiers
La skill peut lire ou écrire des fichiers de projet, documents, artefacts générés ou l’état local de l’espace de travail.
- Indices de permissions à haut risque : exécution shell ou de commande
- Dependency or permission surface needs review
Cibles d’installation
Installer ce skill dans votre workflow Agent
Utilisez le point de terminaison public pour récupérer la commande, la checklist, les prompts et les liens canoniques.
OpenAgentSkill CLI
Resolve policy, run the source installer safely, and report a verified install receipt.
$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install imxv-pretty-mermaidPlan de résolution Agent
Laissez un Agent vérifier la pertinence avant l’installation.
L’API Resolve renvoie la skill sélectionnée, des alternatives, la politique de sécurité, les notes d’audit, la cible d’installation et un prompt prêt à l’emploi.
Ouvrir JSON
/api/agent/resolve?task=Use%20pretty-mermaid%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Texte Resolve
/api/agent/resolve?task=Use%20pretty-mermaid%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Relais d’installation
/api/skills/imxv-pretty-mermaid/install
L’Agent doit vérifier
- Task fit and alternatives from Resolve API.
- Audit score, trust score, and safety policy warnings.
- Install target compatibility for Codex, Claude Code, Cursor, or CLI.
Copier le prompt
Task: Use pretty-mermaid in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20pretty-mermaid%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/imxv-pretty-mermaid/install
Install command: npx skills add imxv/Pretty-mermaid-skills --skill pretty-mermaid
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Relais Agent
Donnez à l’Agent le chemin d’installation, pas un autre annuaire.
Utilisez le point de terminaison public pour récupérer la commande, la checklist, les prompts et les liens canoniques.
Relais d’installation
/api/skills/imxv-pretty-mermaid/install
Format texte LLM
/api/skills/imxv-pretty-mermaid/install?format=text
Trouver des alternatives
/api/skills/search?q=pretty-mermaid&limit=3
Prompt Agent
Use pretty-mermaid for this task. Review https://www.openagentskill.com/api/skills/imxv-pretty-mermaid/install, then install with: npx skills add imxv/Pretty-mermaid-skills --skill pretty-mermaidMétadonnées Registry
Profil lisible par Agent pour la sélection automatique de skills.
L’API Registry fournit les signaux de décision, confiance, audit, cas d’usage et installation sans analyser l’interface.
Manifest
/api/registry/manifest/imxv-pretty-mermaid
Texte LLM
/api/registry/manifest/imxv-pretty-mermaid?format=text
Alias d’installation
/api/registry/install/imxv-pretty-mermaid
Recommander
/api/registry/recommend?task=Use%20pretty-mermaid%20in%20an%20agent%20workflow&limit=3
Adéquation Agent
GitHub automation
Tags de cas d’usage
Plateformes
Claude Code, Browser agents
Rapport d’audit
Revue nécessaire · 82/100
Revue lisible par machine de la préparation à l’installation, des métadonnées de sécurité, de la maintenance et du risque d’adoption.
Panneau de décision Agent
Choix principal pour GitHub automation
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Rôle dans la pile
Choix principal
Pertinence principale
GitHub automation
Libellé de confiance
Prêt pour la production
Chemin d’installation
Commande prête
À utiliser lorsque
- workflows GitHub automation
- Équipes Claude Code
- Équipes qui valorisent les signaux d’adoption GitHub
Preuves
- 1,140 stars GitHub
- recent repository activity
- install command or GitHub repo available
- profil qualité 78/100
- 7 événements OpenAgentSkill
revoir d’abord
- No major risk signals from current metadata
Chemin d’implémentation
- 1Installez-le dans un Agent en sandbox et exécutez une tâche de GitHub automation de bout en bout.
- 2Compare output quality, latency, and failure behavior against at least one alternative.
- 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.
Profil de confiance
Sandbox uniquement
Candidate utile avec des signaux de confiance incomplets ou mixtes. Gardez-la dans un espace isolé jusqu’à ce que la boucle de résultats confirme son adéquation.
Adoption GitHub
Validé1.1K stars GitHub
Activité stars/forks
Info1.1K stars et 57 forks; l’activité des issues n’est pas disponible dans les métadonnées actuelles
Maintenance récente
Validé1 jours depuis le dernier push
Clarté de licence
ValidéMIT
Signaux positifs
- Revue IA approuvée
- Le chemin d’installation est disponible
- La preuve du dépôt est disponible
- Dépôt maintenu récemment
- Signal d’adoption GitHub significatif
- La commande d’installation ne présente aucun motif de haut risque évident
- La boucle de résultats est prête mais nécessite la première exécution réelle de l’Agent
Réviser avant installation
- Financial research output is not financial advice; require human review before any live investment decision.
- Quality score needs review
- Permission surface needs review: shell or command execution, filesystem or document access
- Dependency/runtime risk: command execution surface, external package install surface
- Permission surface: shell or command execution, filesystem or document access
- Pas encore de rapports de résultats Agent réels
- Une revue humaine est requise avant une installation sans surveillance
Action recommandée
Exécutez uniquement dans un sandbox et comparez les alternatives proches avant usage réel.
Profil qualité
Solide candidat pour les workflows Agent
Solid option that is likely worth shortlisting for production workflows.
Adéquation au workflow
Utilisez cette skill dans ces scénarios
Manage repositories
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Operate local tools
Local desktop
I need my agent to operate local files and desktop apps in a repeatable workflow.
Build and ship code
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Adéquation au workflow
Ajouter à un workflow complet
Inspect, patch, and verify code
Coding review agent
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Operate and verify web apps
Browser QA agent
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Design, build, test, and ship interfaces
Frontend and UI
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Liste d’alternatives
Comparer avant installation
Similar skills that may fit this task.
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Taste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Canvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
Anthropic Brand Guidelines
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
Vue d’ensemble
--- name: pretty-mermaid description: | Generate and render Mermaid diagrams for architecture docs, READMEs, PRs, terminals, chats, and CI as themed SVG, PNG, or ASCII/Unicode art. Use this skill whenever the user provides Mermaid code or .mmd files; asks for a flowchart, sequence/state/class diagram, ERD, XY chart, or architecture/workflow/data-model visualization; or wants to beautify, theme, batch-convert, or make a diagram terminal-friendly. Runs locally without a browser or DOM, with 15 built-in themes and custom colors. ---
# Pretty Mermaid
Create or render Mermaid diagrams with the bundled Node.js CLI. Use SVG for scalable documentation, PNG for sharing or raster-only consumers, and ASCII or Unicode for terminals and plain text.
## Working directory
Treat the directory containing this file as `<skill-root>`. Run bundled scripts from that directory, or invoke them with absolute paths. Keep user source and rendered output in the user's requested location; do not copy the renderer into their project.
## Workflow
1. Determine whether the user supplied Mermaid source or needs a diagram authored from prose. 2. Choose the diagram type and output format from the tables below. 3. Read only the relevant reference file when syntax, theme selection, or API behavior needs more detail. 4. Save new source as a `.mmd` file, preserving user terminology and relationships. 5. Render with a named theme or explicit colors. 6. Inspect the result. Fix syntax, clipping, crowded layout, or unclear labels and render again. 7. Return the source and output paths, plus the selected format and theme.
Do not overwrite an existing source or output file unless the user asked for replacement.
## Choose a diagram type
| Need | Diagram type | Starter | | --- | --- | --- | | Process, decision tree, architecture | Flowchart | `flowchart LR` | | API calls, messages, interactions | Sequence | `sequenceDiagram` | | Lifecycle or finite-state machine | State | `stateDiagram-v2` | | Classes, modules, relationships | Class | `classDiagram` | | Database entities and cardinality | ER | `erDiagram` | | Bars, lines, trends, comparisons | XY chart | `xychart-beta` |
Read `references/DIAGRAM_TYPES.md` when authoring non-trivial Mermaid syntax.
## Choose an output
| Output | Best for | Notes | | --- | --- | --- | | SVG | READMEs, docs, slides, websites | Scalable, themed, supports transparency | | PNG | Chats, previews, raster-only tools | Set `--format png`; no external converter required | | Unicode | Modern terminals and readable text previews | Default ASCII renderer output | | Plain ASCII | Logs and restricted terminals | Add `--use-ascii` | | ANSI-colored text | Interactive terminals | Set `--color-mode` |
## Core commands
Run these from `<skill-root>`.
### List themes
```bash node scripts/themes.mjs ```
### Render SVG
```bash node scripts/render.mjs \ --input diagram.mmd \ --output diagram.svg \ --theme tokyo-night ```
### Render terminal text
```bash node scripts/render.mjs \ --input diagram.mmd \ --output diagram.txt \ --format ascii \ --color-mode none ```
Add `--use-ascii` when Unicode box-drawing characters are not acceptable.
### Render PNG
```bash node scripts/render.mjs \ --input diagram.mmd \ --output diagram.png \ --format png \ --width 1200 \ --theme tokyo-night ```
### Batch render a directory
```bash node scripts/batch.mjs \ --input-dir ./diagrams \ --output-dir ./rendered \ --format svg \ --theme github-dark \ --workers 4 ```
Use batch rendering for three or more diagrams or when consistent options must be applied to a directory.
## Theme selection
- General dark documentation: `tokyo-night` - GitHub dark or light surfaces: `github-dark`, `github-light` - Print and presentations: `zinc-light` - High-contrast color: `dracula` - Cool, restrained palette: `nord`, `nord-light`
Read `references/THEMES.md` or open `docs/THEME_GALLERY.md` when visual theme choice matters. A named theme can be refined with explicit color flags.
## Useful options
### Shared styling
| Option | Purpose | | --- | --- | | `--theme <name>` | Apply one of the 15 built-in themes | | `--bg`, `--fg` | Set required base colors | | `--line`, `--accent`, `--muted` | Refine connectors, highlights, and secondary text | | `--surface`, `--border` | Refine node fill and stroke | | `--font <name>` | Set the SVG font family |
### SVG
| Option | Purpose | | --- | --- | | `--transparent` | Remove the SVG background | | `--padding <n>` | Set canvas padding | | `--node-spacing <n>` | Set horizontal node spacing | | `--layer-spacing <n>` | Set vertical layer spacing | | `--component-spacing <n>` | Separate disconnected components | | `--interactive` | Enable XY chart hover tooltips |
### PNG
| Option | Purpose | | --- | --- | | `--width <n>` | Set output width from 100 to 10000 pixels while preserving aspect ratio | | `--transparent` | Preserve a transparent background |
### Terminal output
| Option | Purpose | | --- | --- | | `--use-ascii` | Replace Unicode box drawing with plain ASCII | | `--padding-x`, `--padding-y` | Tune diagram spacing | | `--box-border-padding` | Tune padding inside node boxes | | `--color-mode <mode>` | `none`, `auto`, `ansi16`, `ansi256`, `truecolor`, or `html` |
Run `node scripts/render.mjs --help` or `node scripts/batch.mjs --help` for the authoritative CLI list.
## Authoring guidance
- Prefer short, concrete labels; preserve domain-specific terms from the user. - Use explicit edge labels when a branch or message is ambiguous. - Keep large diagrams readable by splitting unrelated concerns instead of shrinking text. - Use `LR` for wide flows and `TB` for narrow documents. - Avoid communicating meaning through color alone. - Use a light theme for print and confirm contrast against the final background. - For unfamiliar syntax, start from `assets/example_diagrams/` and consult the diagram reference.
## Validation
After rendering:
1. Confirm the command exits successfully and the output file is non-empty. 2. Confirm SVG output begins with `<svg`; confirm PNG output opens as a valid image; confirm text output contains visible diagram content. 3. Inspect visual output when layout matters, especially long labels, CJK text, disconnected components, and XY charts. 4. Confirm arrows, cardinalities, states, and labels match the source request. 5. Report any renderer limitation instead of silently dropping unsupported syntax.
Run both `npm test` and `npm run validate` when changing this skill, its scripts, templates, or references.
## Troubleshooting
- Missing dependency: run `npm install` in `<skill-root>`; the CLI also attempts a first-run install. - Unknown theme: run `node scripts/themes.mjs` and use an exact listed name. - Parse error: consult `references/DIAGRAM_TYPES.md`, reduce to the failing statement, then restore the diagram incrementally. - Crowded SVG: increase `--node-spacing`, `--layer-spacing`, or `--component-spacing`. - PNG color error: use concrete hex values for custom colors; unresolved external CSS variables cannot be rasterized. - Terminal color escape codes in redirected output: use `--color-mode none`.
## Reference routing
| Resource | Read or use when | | --- | --- | | `references/DIAGRAM_TYPES.md` | Authoring or debugging Mermaid syntax | | `references/THEMES.md` | Comparing themes or defining custom colors | | `references/api_reference.md` | Extending scripts or calling `beautiful-mermaid` directly | | `docs/THEME_GALLERY.md` | Choosing a theme visually | | `assets/example_diagrams/` | Starting from a supported diagram template | | `scripts/render.mjs` | Rendering one diagram | | `scripts/batch.mjs` | Rendering a directory in parallel | | `scripts/themes.mjs` | Listing installed themes |
Détails techniques
- Version
- 1.0.0
- Licence
- MIT
- Dernière mise à jour
- 23 août 2026
- Publié
- 21 août 2026
Instantané de décision
Choix principal
1,140 stars GitHub
Audit
Revue d’installation
Revue d’installation et d’adoption
- Sécurité
- 78/100
- Maintenance
- 100/100
- Installer
- 92/100
Preuves validées par Agent
Preuves validées par Agent
Rapports après resolve, revue, installation et une exécution limitée.
- Taux de réussite
- —
- Échec récent
- —
- Résultats
- 0
- Qualité de sortie
- —
- Échecs
- 0
- Non pertinent
- 0
- Installations
- 0
- Bloqué par le risque
- 0
- Configuration requise
- 0
- Production
- 0
Aucune donnée de résultat Agent pour l’instant. La première exécution peut signaler succès, besoin de configuration, blocage de risque, échec ou non-pertinence via /api/agent/outcome.
Installer
Ajouter au workflow Agent
Gratuit et open source. Examinez le rapport avant l’installation dans des Agents de production.
Boucle de croissance
Kit de partage
Brouillon guidé par scénario pour pretty-mermaid, prêt pour une publication manuelle sur X.
pretty-mermaid: Generate and render Mermaid diagrams for architecture docs, READMEs, PRs, terminals, and CI a... 1.1K stars https://www.openagentskill.com/skills/imxv-pretty-mermaid?ref=x
Réponse facultative avec commande d’installation
Listing + install path for pretty-mermaid: https://www.openagentskill.com/skills/imxv-pretty-mermaid?ref=x Install: npx skills add imxv/Pretty-mermaid-skills --skill pretty-mermaid
Source de la fiche
Indexé par Registry
Cette fiche a été indexée à partir de sources publiques et n’est pas marquée officielle tant qu’une revendication de mainteneur n’est pas approuvée.
- Créateur
- imxv
- Indexé par
- Index communautaire OpenAgentSkill
L’attribution renvoie au dépôt public ou au profil du créateur. Les créateurs peuvent revendiquer la fiche pour mettre à jour les signaux de propriété.
Revendiquer ce skillRevendication du propriétaire
Revendiquer cette fiche de skill
Cette fiche Indexé par Registry est attribuée à imxv, mais n’est pas encore marquée officielle. Revendiquez-la pour ajouter un signal de propriétaire vérifié et rendre les futures mises à jour de lancement, d’installation et d’audit plus fiables.
Kit de backlinks créateur
Ajoutez les badges de preuve à votre README
Affichez la fiche canonique, les signaux actuels de confiance et d’audit, ainsi que de vraies preuves Agent-Proven là où les développeurs évaluent le dépôt.
[](https://www.openagentskill.com/skills/imxv-pretty-mermaid)
[](https://www.openagentskill.com/skills/imxv-pretty-mermaid)
[](https://www.openagentskill.com/skills/imxv-pretty-mermaid/audit)
[](https://www.openagentskill.com/skills/imxv-pretty-mermaid)Auteur
imxv
@imxv
Tags
Adéquation plateforme
Signaux de santé
- Stars GitHub
- 1.1K
- Score de qualité
- 45/100
- Dernier push GitHub
- 23 août 2026
- Indications de framework
- Inconnu
- Vues OpenAgentSkill
- 7
- Copies d’installation
- 0
- Clics sortants
- 0
Signal de communauté
Indiquez si ce skill semble utile à votre workflow Agent. Les retours agrégés améliorent le classement au fil du temps.
Confiance et sécurité
Sandbox uniquement
- Adoption GitHub1.1K stars GitHubValidé
- Activité stars/forks1.1K stars et 57 forks; l’activité des issues n’est pas disponible dans les métadonnées actuellesInfo
- Maintenance récente1 jours depuis le dernier pushValidé
- Clarté de licenceMITValidé
- Complétude README/SKILL.mdLes métadonnées incluent suffisamment de contexte d’usage et de workflowValidé
- Risque dépendances/runtimecommand execution surface, external package install surfaceVérifier
Skills associés
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
171.2K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
79.7K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
171.2K StarsAnthropic Brand Guidelines
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
171.2K Stars