Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

creating-docs-diagrams

Skill by rivet-dev

Converts Mermaid diagrams on Rivet documentation pages into hand-authored inline SVG. Built for contributors who add, replace, or review docs diagrams on the rivet-dev website.

  • Score 85
  • 7k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install creating-docs-diagrams

Built from the published package, never by AI.

git clone --depth 1 https://github.com/rivet-dev/rivet /tmp/rivet && mkdir -p ~/.claude/skills && cp -r /tmp/rivet/.claude/skills/creating-docs-diagrams ~/.claude/skills/creating-docs-diagrams

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install creating-docs-diagrams in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill guides work on diagrams in Rivet's documentation. It covers pages under website/src/content/docs and asks the assistant to replace Mermaid blocks with literal inline SVG that fits the site's self-hosted visual style. Architecture diagrams are the exception and should use the website's global Diagram MDX component instead of raw SVG.

The workflow inventories each Mermaid block, then keeps every node, boundary, edge direction, and label intact. It adds role and aria-label attributes with unique marker IDs, and it checks website previews at desktop and 390 CSS pixel widths. Screenshots are reviewed for dead space, clipped labels, and crossing paths before a final grep and build validation. The skill is for contributors to the rivet-dev website and its documentation.

Written from the project's SKILL.md and checked against it.

What it can do

  • Mermaid inventoryFinds Mermaid blocks in docs pages and records nodes, edges, and labels before editing.
  • Architecture topologyDraws nested deployment boundaries and bidirectional links as inline SVG using a compact pattern.
  • Sequence diagramsBuilds participant boxes, dashed lifelines, and ordered message arrows as inline SVG.
  • Accessible markupAdds role="img" and a complete aria-label to each SVG, with unique marker IDs.
  • Responsive checksCaptures desktop and 390px screenshots and checks for overflow and clipped labels.
  • Build validationGreps for leftover Mermaid, foreignObject, and style tags, then runs the Astro or website build.

What you need

  • Checkout of the rivet-dev website repository
  • Website preview server
  • Playwright for screenshots
  • Astro or the website build tooling

Try asking

  • Convert the Mermaid flowchart on this docs page to inline SVG.
  • Review this docs diagram for clipped labels and missing aria-labels.
  • Draw a sequence diagram of client and runtime messages for this page.

Good to know

  • Cookbook Mermaid diagrams under website/src/content/cookbook are not converted.
  • Posts, changelog entries, and other content trees are out of scope unless named.
  • Architecture diagrams should use the Diagram component, not raw SVG.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/creating-docs-diagrams/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to creating-docs-diagrams

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

creating-docs-diagrams: common questions

Does this convert all Mermaid diagrams to SVG?

No. It applies only to docs pages under website/src/content/docs. Cookbook Mermaid stays as Mermaid.

Which diagram types does it cover?

It covers architecture topology and sequence diagrams. Architecture diagrams should use the website's Diagram component, and raw SVG is for sequence diagrams and other figures that component does not cover.

How are the diagrams checked?

Each changed diagram is screenshotted at desktop and 390px widths, and the pixels are inspected for dead space, clipped labels, and crossing paths.

How do I install creating-docs-diagrams?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is creating-docs-diagrams free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is creating-docs-diagrams safe to use?

It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to creating-docs-diagrams?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

creating-docs-diagrams Install

Add to stack

Loading.