mermaid-diagrams
Skill17k starsChanged 2 months agoMITView on GitHub
Embed Mermaid diagrams in generated wiki pages. Use whenever documenting a runtime or request flow, a call sequence, a state machine or lifecycle, a data model or entity relationships, or non-trivial control flow, since these are clearer as a diagram than as prose. Also use when an update run touches a page that already contains a mermaid fence, or a page that contains a text fence a previous run degraded.
41 other projects use a version of this.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- KarhouTam/agent-skillstheir own version, first seen Oct 5, 2026
- compozy/compozytheir own version, first seen Oct 1, 2026
- gigio1023/agent-skillstheir own version, first seen Sep 29, 2026
- transon-top/skillstheir own version, first seen Sep 28, 2026
- ZeroTokenClaw/agents-skillstheir own version, first seen Sep 21, 2026
- MortuisVMain/ai-agent-superpowerstheir own version, first seen Sep 15, 2026
Who's talking about langchain-ai/openwiki
- A Hacker News story“OpenWiki: CLI that writes and maintains agent documentation for your codebase”Hacker News · Jul 1, 2026 · 96 points
- @midu.dev“¡Acaba de salir OpenWiki! Una herramienta para crear y mantener documentación de proyectos. Y crea …”Bluesky · Jul 4, 2026 · 6 likes
- @pmj.bsky.social“das ökosystem rund um die #KI harness ist schon fantastisch openwiki auch so ein kleines geniales dingens …”Bluesky · Oct 5, 2026 · 1 likes
- penpenguin/portfolio“docs(blog): add article about OpenWiki”GitHub · Aug 11, 2026 · 1 reactions
- @newsycombinatorbot.bsky.social“OpenWiki: CLI that writes and maintains agent documentation for your codebase (github.com) Discussion | …”Bluesky · Jul 5, 2026 · 1 likes
The biggest 5 of 43 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 43
Talked about on GitHub, Bluesky and Hacker News (43 times).
On GitHub · 38
- Aug 11, 2026docs(blog): add article about OpenWiki — penpenguin/portfolio1 reaction
- Jul 2, 2026Add https://github.com/langchain-ai/openwiki — jellydn/my-ai-tools1 reaction
- Nov 2, 2026feat(openwiki): Added — uniget-org/tools0 reactions
- Oct 30, 2026ci(docs): schedule OpenWiki source-grounded documentation PRs (#106) — pkking/ezwallpaper0 reactions
- Oct 30, 2026ci(docs): add scheduled OpenWiki generation and governed documentation PRs — pkking/ezwallpaper0 reactions
33 more on GitHub
- Oct 26, 2026fix: make example CI dependencies visible to Dependabot — jesselpalmer/openwiki0 reactions
- Oct 24, 2026Wiki for agents — commons-app/apps-android-commons0 reactions · 4 comments
- Oct 16, 2026R-200: integrate openwiki for project documentation upkeep — ray-manaloto/dotfiles0 reactions
- Oct 15, 2026addpatch: openwiki 0.7.2-1 — felixonmars/archriscv-packages0 reactions
- Oct 5, 2026feat(97): OpenWiki로 위키를 생성하고 결정 기록을 docs/adr 원본으로 분리 — chucoding/code-recall0 reactions
- Oct 4, 2026chore(dependencies): 🔧 bump the minor-and-patch group across 1 directory with 6 updates — organizzolini/codebase0 reactions
- Oct 4, 2026chore(dependencies): 🔧 bump the minor-and-patch group across 1 directory with 4 updates — organizzolini/codebase0 reactions · 1 comment
- Sep 25, 2026chore(dependencies): 🔧 bump the minor-and-patch group across 1 directory with 4 updates — organizzolini/codebase0 reactions
- Sep 14, 2026OpenWiki:自动生成和维护代码库文档或个人知识库 Wiki — Hibop/Hibop.github.io0 reactions
- Sep 14, 2026chore(dependencies): 🔧 bump the minor-and-patch group across 1 directory with 7 updates — organizzolini/codebase0 reactions · 1 comment
- Sep 14, 2026chore(dependencies): 🔧 bump the minor-and-patch group with 8 updates — organizzolini/codebase0 reactions · 4 comments
- Sep 11, 2026langchain-ai/openwiki — repowiki-cli/repowiki-cli0 reactions
- Aug 31, 2026OpenWiki 도입으로 프로젝트 문서화 자동화 — kakao-tech-campus-3rd-step3/Team18_BE0 reactions · 1 comment
- Aug 24, 2026research(knowledge): evaluate OKF and OpenWiki interoperability — leon0399/llame0 reactions
- Aug 19, 2026incorporate OKF / openwiki — industrial-curiosity/panopticon-ay-eye0 reactions
- Jul 21, 2026[OpenWiki] Plan OpenWiki integration for coding agent repo context — organizzolini/codebase0 reactions · 3 comments
- Jul 20, 2026[docs-knowledge][P0] Freeze documentation authority contract, rollout plan, and OpenWiki ADR — learn-ukrainian/learn-ukrainian.github.io0 reactions · 3 comments
- Jul 20, 2026[EPIC][docs-knowledge] Repository Knowledge System — docs authority, Astro truth, and OpenWiki — learn-ukrainian/learn-ukrainian.github.io0 reactions · 8 comments
- Jul 9, 2026Run OpenWiki on final codebase — elenamedea/48hours-NK-map0 reactions
- Jul 9, 2026OpenWiki — tue-bmd/zea0 reactions · 1 comment
- Jul 7, 2026Add July 7 OpenWiki script — olufemi424/content-viewer0 reactions
- Jul 7, 2026fix: infer openai-compatible provider from credentials in non-interactive runs — rohitvipin-inapp/openwiki0 reactions
- Jul 6, 2026docs: OpenWiki を独立したドキュメント更新フローとして検証する — treflebonbon/dotfiles0 reactions · 5 comments
- Jul 6, 2026[V7 review] OpenWiki: CLI that writes and maintains agent documentation for your codebase — wsysgz/VS_AI0 reactions
- Jul 5, 2026AI Community Trends -- 2026-07-06 — rahmanramsi/daily-digest-ai0 reactions
- Jul 4, 2026Evaluate open wiki — timothyrusso/HolidAI0 reactions
- Jul 3, 2026Install OpenWiki repo documentation agent — Kipnetic/bobblequest0 reactions
- Jul 3, 2026Add a scheduled repo-hygiene workflow (daily /docs PR) — dustinkeeton/wafflestack0 reactions · 1 comment
- Jul 2, 2026docs: add OpenWiki to the companion tools catalog — jellydn/my-ai-tools0 reactions · 1 comment
- Jul 2, 2026📱 AI 日报 · 2026-07-02 — Mystery406/ai-xiaohongshu-daily0 reactions
- Jul 1, 2026📰 데일리 뉴스 & 영감 | 2026-07-02 (Thursday) — wonbrand107-tech/wonbrand0 reactions
- Jul 1, 2026New template: wiki-openwiki-template (OpenWiki + Wiki CLI integration) — wazootech/wiki-templates0 reactions
- Jun 30, 2026Journal Workflow - Week of 2026-07-04 — beijaflor/gen-ai-journal0 reactions · 2 comments
On Bluesky · 4
- Jul 4, 2026¡Acaba de salir OpenWiki! Una herramienta para crear y mantener documentación de proyectos. Y crea automáticamente las PR para mantener… — @midu.dev6 likes and reposts · 1 reply
- Oct 5, 2026das ökosystem rund um die #KI harness ist schon fantastisch openwiki auch so ein kleines geniales dingens damit kann man seinem agenten… — @pmj.bsky.social1 likes and repost · 1 reply
- Jul 5, 2026OpenWiki: CLI that writes and maintains agent documentation for your codebase (github.com) Discussion | Main Link — @newsycombinatorbot.bsky.social1 likes and repost
- Jul 1, 2026OpenWiki: CLI that writes and maintains agent documentation for your codebase Discussion | hackernews | Author: handfuloflight — @news.karthihegde.dev1 likes and repost
On Hacker News · 1
- Jul 1, 2026OpenWiki: CLI that writes and maintains agent documentation for your codebase96 points · 31 comments
Used with
Projects with it also use backend-to-frontend-handoff-docs, lesson-learned and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
softaworksSkillbackend-to-frontend-handoff-docs
Create API handoff documentation for frontend developers. Use when backend work is complete and needs to be documented for frontend integration, or user says 'create handoff', 'document API', 'frontend handoff', or 'API documentation'.
Also in 3 projects that use this
softaworksSkilllesson-learned
Analyze recent code changes via git history and extract software engineering lessons. Use when the user asks 'what is the lesson here?', 'what can I learn from this?', 'engineering takeaway', 'what did I just learn?', 'reflect on this code', or wants to extract principles from recent work.
Also in 3 projects that use this
SupabaseSkillcopywriting
Write or audit UI copy (buttons, labels, empty states, error messages, tooltips, form text) anywhere in the monorepo. Load it before shipping or reviewing any user-facing text — including when copy is incidental to the task, like a new feature that adds buttons, toasts, dialogs, or validation messages.
Also in 5 projects that use this
MicrosoftSkillskill-creator
Guide for creating effective GitHub Copilot skills (.github/skills/) in this repository. Use when creating a new skill, updating an existing skill, or when asked about skill structure, format, or best practices for the vscode-documentdb project.
Also in 7 projects that use this
VercelSkillagent-browser
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
Also in 3 projects that use this
VercelSkillvercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Also in 3 projects that use this
- +2 more from softaworks
- +1 more from vercel-labs
Other versions41 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 41
- compozy/compozy★ 2.8ksame name
- softaworks/agent-toolkit★ 2.5ksame name
- pedronauck/skills★ 633same name
- hoodini/ai-agents-skills★ 281same name
- shep-ai/shep★ 262same name
- veelenga/claude-mermaid★ 214same name
- cohen-liel/hivemind★ 110same name
- magnus919/agent-skills★ 109same name
- ccheney/robust-skills★ 60same name
- justinwetch/Skill-RSI★ 22same name
31 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- openwikiSkill
- write-connectorSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 39 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
Never place semicolons or pipes inside node, message, or edge labels.
- Distinctive: line 32
Never place unescaped angle brackets in labels.
- Very specific: line 36
Never use a Mermaid reserved word as a participant name, alias, or node id: note, end, loop, alt, opt, par, and, else, activate, …
- Distinctive: line 38
Keep labels short. Move explanation into the surrounding prose or the caption, not the diagram.
- Distinctive: line 43
Do not rewrite a diagram that is still accurate.
- Very specific: line 44
If a page contains a text fence preceded by an HTML comment starting with "openwiki: mermaid parse failed", that is a diagram a previous …
“Common” is measured: kept by at least 6 in 10 of the 39 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Mermaid Diagrams In Generated Wiki Pages
Diagrams are part of high-quality wiki generation, not decoration. Where a flow, lifecycle, or data model is easier to grasp visually, embed a Mermaid diagram in a fenced ```mermaid block on the most relevant page.
Choosing a diagram type
sequenceDiagramfor runtime and request flows across components (auth flows, request lifecycles, agent tool loops).stateDiagram-v2for lifecycles and state machines (job states, connection states, run phases).erDiagramfor the data model: entities and their relationships.flowchart TDfor branching control flow and decision logic.
Discipline
- Ground every diagram in inspected source. Do not invent participants, states, entities, or relationships the code does not support.
- Cover the high-value cases: add a diagram wherever a page documents a request or runtime flow, a call sequence, a lifecycle or state machine, or a data model. A repository wiki usually has several such diagrams, not one overall. Skip pages that are navigation, reference tables, or pure configuration.
- Still prefer a few strong diagrams over decorating every page: one accurate diagram on the page that needs it beats a diagram forced onto every page.
- Give each diagram a one-line caption directly below it stating what it shows.
- OpenWiki validates every mermaid fence after your run and converts fences that fail to parse into plain text fences. A degraded diagram is a quality failure; follow the syntax rules below so it does not happen.
Syntax safety
These rules prevent the most common render breakages. When in doubt, rephrase the label.
- Never place semicolons or pipes inside node, message, or edge labels.
- Never place unescaped angle brackets in labels; write "returns Promise of User" instead of "returns Promise
<User>". - In
flowchart, wrap any label containing parentheses, brackets, or other punctuation in double quotes:A["calls foo(bar)"]. - In
flowchart, never use the bare wordendas a node id, and never start a node id withoorxfollowed by a dash (both are edge-marker syntax); rename the node. - In
sequenceDiagram, participant names with spaces or punctuation need an alias:participant AS as Auth Service. - Never use a Mermaid reserved word as a participant name, alias, or node id:
note,end,loop,alt,opt,par,and,else,activate,deactivate,class,state,click,link. For example a notification participant must beNotifier, notNote(which collides with thenotekeyword). - In
erDiagram, entity and attribute names must be single identifier-like tokens; put human phrasing in the relationship label. - Keep labels short. Move explanation into the surrounding prose or the caption, not the diagram.
Update runs
- A wrong diagram is a stale claim, not existing structure to preserve. If a source change makes a diagram inaccurate, update the diagram in the same edit as the surrounding prose.
- Do not rewrite a diagram that is still accurate. Regenerating unchanged diagrams creates diff noise.
- If a page contains a text fence preceded by an HTML comment starting with "openwiki: mermaid parse failed", that is a diagram a previous run degraded. Fix the syntax using the parser error in the comment, restore the ```mermaid fence, and delete the comment.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

