Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

mermaid

/mermaid

Tworzy zwięzłe, zweryfikowane składniowo diagramy architektury w Mermaid dla komponentu repozytorium, dokumentu, przepływu zależności lub opisu użytkownika.

Repozytorium
beancount-io ↗
Licencja
MIT
Ostatnia zmiana repozytorium
27.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Tworzy zwięzłe, zweryfikowane składniowo diagramy architektury w Mermaid dla komponentu repozytorium, dokumentu, przepływu zależności lub opisu użytkownika.

Oryginalny opis (EN)

Create concise, syntax-verified Mermaid architecture diagrams. Use when the user asks to diagram a repository component, document, system, dependency flow, or supplied description in Mermaid.

Jak działa

  1. Conventions
  2. Verify (mandatory, before answering)
  3. Output
Sekcje z nagłówków SKILL.md, w oryginale · 23 linii, 437 słów
Podgląd SKILL.md
---
name: mermaid
description: >-
  Create concise, syntax-verified Mermaid architecture diagrams. Use when the user asks to diagram a repository component, document, system, dependency flow, or supplied description in Mermaid.


allowed-tools: Bash(npx -y @mermaid-js/mermaid-cli@11.16.0:*), Write, Read
metadata: {"internal": true}
---

Draw a mermaid architecture diagram in markdown for: $ARGUMENTS

## Conventions

- **Boxes are services/components**: `svc[bex-api]`. Use `[(...)]` for datastores. Humans (user, developer, operator) are triangles: `user@{ shape: tri, label: "user" }`.
- **A box that is not a long-running service must say so in its label** — readers assume boxes are services and ask "where is this running?". Mark scheduled/ephemeral work (`cron["backup pod (spawned nightly, exits when done)"]`) and inert config objects (`secret["Secret foo (k8s object, created once)"]`). Draw humans as triangles: `operator@{ shape: tri, label: "operator" }`. Never draw a manual procedure as a peer box of running infrastructure: give runbook/recovery flows their own subgraph whose title says it's manual and where it runs (`subgraph "disaster recovery — manual runbook, any docker host"`), with the human actor inside.
- **Arrows are dependency direction**: `A --> B` means A depends on (calls, reads, deploys to) B — never the reverse.
- **Concise but to the point**: only load-bearing services and edges. No styling, no colors, no legend. Label an edge (`A -->|gRPC| B`) only when the relationship isn't obvious. Default to `flowchart TB`; use `LR` only if the graph is much wider than deep. Use `subgraph` only for real boundaries (cluster, node, network, trust zone, automated vs. manual) — subgraphs are how the diagram answers "where does this run?". An edge may target a whole subgraph by id (`subgraph cluster["app cluster"]` … `op --> cluster`).
- If $ARGUMENTS refers to this repo, read the relevant docs/code first — start with the root `AGENTS.md` for the package map, the scoped `<package>/AGENTS.md` for the package's architecture, and `docs/adrs/` for recorded decisions. Don't diagram from guesswork.

Syntax gotchas that break rendering: quote labels containing `(`, `)`, `[`, `{`, or `-->`-like text (`a["Queue (SQS)"]`); never name a node bare `end` or `graph`; subgraph titles with spaces need quotes.

## Verify (mandatory, before answering)

1. Write the diagram body (no ` ```mermaid ` fence) to a unique `.mmd` file under a gitignored scratch directory — `.agents/tmp/` at the repository root, or the current package's `tmp/`.
2. Run: `npx -y @mermaid-js/mermaid-cli@11.16.0 -i <file>.mmd -o <file>.svg` — exit 0 means the syntax is valid. (First run downloads a headless browser; that's expected.) The version is pinned deliberately (supply-chain: codex-security #17) — bump it consciously, don't revert to floating.
3. On failure, read the parse error, fix the diagram, and re-verify. Never output a diagram that hasn't passed.

## Output

A single ` ```mermaid ` fenced block, followed by a short explanation of the key dependency flow. If the user asked to put the diagram into a file, insert the verified block there instead.

Wersje

RepozytoriumWynikLicencja
Ta strona · bex-co/beancount-io100MIT
rp1-run/rp1100Apache-2.0
TerminalSkills/skills100Apache-2.0
antoinebou12/uml-mcp100MIT
microclaw/microclaw100MIT
greedychipmunk/agent-skills100MIT
fprochazka/claude-code-plugins100MIT
carlheath/ogmios100MIT
Zate/cc-plugins100MIT

Migawka bazy z 28.10.2026 · wersja paczki dcb812d5ea82 (skrót SHA-256 całej paczki)

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100c4-architecture
    Tworzy dokumentację architektury w modelu C4 z diagramami Mermaid: kontekst, kontenery, komponenty i wdrożenie.
  • 9009-mermaid
    Tworzy poprawny diagram Mermaid z opisu architektury, cyklu życia lub przepływu, w pętli planu, generowania i przeglądu.
  • 100mermaid-diagramming
    Tworzy diagramy Mermaid w niebiesko-szarym motywie projektu, na przykład przepływy, sekwencje i diagramy architektury w plikach markdown.
  • 90mermaid-diagram-generator
    Tworzy diagramy Mermaid dla kodu Arduino: strukturę programu, maszyny stanów, diagramy czasowe, architekturę zadań i opisy przepływów.
  • 100c4-architecture
    Tworzy dokumentację architektury w modelu C4 z diagramami Mermaid: kontekst, kontenery, komponenty i wdrożenie.
  • 100mermaid-diagrams
    Tworzy diagramy oprogramowania w Mermaid: przepływy, sekwencje, klasy, ERD, C4, stany, git, kołowe i Gantta, do dokumentowania architektury, bazy danych i ścieżek użytkownika.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.