Agent skill

Domain Diagram

by shuotao in shuotao/REVIT_MCP_study

引導剛寫完 domain 的老師把 SOP 流程圖像化:先討論主流程、做流程健檢(迴圈/死路/缺口),再把流程整理成結構化 spec,交由 .claude/skills/domain-diagram/scripts/mermaidfromspec.py 確定性地產出 GitHub 原生 mermaid 圖與健檢結論並回嵌…

No licenceAuto-check passedDevelopment

Install Domain Diagram

skills CLI
$ npx skills add shuotao/REVIT_MCP_study --skill domain-diagram -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install shuotao/REVIT_MCP_study domain-diagram --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/shuotao/REVIT_MCP_study.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/domain-diagram .claude/skills/domain-diagram && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
domain-diagram
GitHub stars
102
Token cost
~816 tokens
SKILL.md length
215 words
Files
5 (incl. scripts, references)
Skills in repo
24
Repo updated
First seen
Licence
None found

At a glance

引導剛寫完 domain 的老師把 SOP 流程圖像化:先討論主流程、做流程健檢(迴圈/死路/缺口),再把流程整理成結構化 spec,交由 .claude/skills/domain-diagram/scripts/mermaidfromspec.py 確定性地產出 GitHub 原生 mermaid 圖與健檢結論並回嵌…

  • Works in 5 steps: 討論(Discuss) → 產出流程 spec(Author the spec) → 跑腳本:健檢 + 產圖(Audit & render) → …
  • Tasks that involve Diagrams
  • SKILL.md covers 最高原則:模型不手寫圖, 啟動前提, Sub-Workflows and Quick Reference, plus 3 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Domain Diagram is an agent skill from shuotao/REVIT_MCP_study. 引導剛寫完 domain 的老師把 SOP 流程圖像化:先討論主流程、做流程健檢(迴圈/死路/缺口),再把流程整理成結構化 spec,交由 .claude/skills/domain-diagram/scripts/mermaidfromspec.py 確定性地產出 GitHub 原生 mermaid 圖與健檢結論並回嵌 domain。模型不手寫圖,畫圖一律過腳本以保證一致性。觸發條件:使用者提到 domain 流程圖、流程圖像化、把 domain 畫成圖、mermaid、流程健檢、迴圈檢查、圖表型態、diagram、flowchart、visualize domain、畫流程。

Its SKILL.md is about 820 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `references/programmatization-roadmap.md`, `references/spec-schema.md` and `references/troubleshooting.md`).

It sits in Development, covering Diagrams. It works with Mermaid and GitHub. The repository describes itself as: LEARN HOW TO BUILD UP YOUR REVIT MCP.

When your agent uses it

  • Tasks that involve Diagrams

Example prompts

  • “/domain-diagram”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. 討論(Discuss)
  2. 產出流程 spec(Author the spec)
  3. 跑腳本:健檢 + 產圖(Audit & render)
  4. 回嵌 domain(Embed)
  5. 修正迴圈(Refine)

What it can do on your machine

Read from SKILL.md and the folder at commit 2faacc5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • mermaid.live
    • github.com
    • mermaid.js.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Domain Diagram loads about 816 tokens when it runs, and up to ~2.4k if it reads all its reference files. Until then it costs about 78 tokens; SKILL.md has 215 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~78
When it runs · the whole SKILL.md, loaded when a task matches
~816
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 215 words (~816 tokens).

“把一份剛寫好的 domain/*.md 變成一張 GitHub 直接渲染、能幫作者抓邏輯漏洞的 Mermaid 圖。 知識(方法)在 domain/domain-flow-visualization.md;本 skill 只負責互動編排。 啟動時務必先讀該 domain。”

— opening of SKILL.md by shuotao
name
domain-diagram

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (scripts, references) in .claude/skills/domain-diagram of shuotao/REVIT_MCP_study.

  • SKILL.md
  • references/programmatization-roadmap.md
  • references/spec-schema.md
  • references/troubleshooting.md
  • scripts/mermaid_from_spec.py

Open the folder on GitHubat commit 2faacc5

Compare with similar skills

Domain Diagram next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Domain Diagram compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Domain Diagram this skillshuotao/REVIT_MCP_study102—~816Automated safety check: PassNone
GitDiagram Repository Overviewahmedkhaleel2004/gitdiagram18k—~427Automated safety check: PassMIT
Design Doc MermaidSpillwaveSolutions/design-doc-mermaid1761 repos~5.6kAutomated safety check: PassNone
GitDiagram Repo Architectureahmedkhaleel2004/gitdiagram18k—~429Automated safety check: PassMIT
Deep Repository Architecture Analyzeryzddmr6/repo-analyzer492—~2.2kAutomated safety check: PassMIT
Work Issuejoesaby/astro-mermaid123—~891Automated safety check: PassMIT

Similar skills

  • GitDiagram Repository Overview

    ahmedkhaleel2004/gitdiagram

    Explains the architecture of a public GitHub repository through GitDiagram: how the code is organized, the main components with paths, and a Mermaid diagram.

    18k GitHub stars~427 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Design Doc Mermaid

    SpillwaveSolutions/design-doc-mermaid

    Create Mermaid diagrams (flowchart, sequence, class, ER, state, C4, architecture) from text or source code.

    176 GitHub starsUsed in 1 repo~5.6k tokens
    DevelopmentAuto-check passed
  • GitDiagram Repo Architecture

    ahmedkhaleel2004/gitdiagram

    Explains how a public GitHub repository is built by fetching its GitDiagram architecture diagram, components and optional explainer video.

    18k GitHub stars~429 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Produces an in-depth architecture report on an open-source project or framework, explaining why it is designed the way it is rather than just what the code does.

    492 GitHub stars~2.2k tokensUpdated 5 mo ago
    DevelopmentAuto-check passed
  • Work Issue

    joesaby/astro-mermaid

    End-to-end workflow for resolving a GitHub issue in astro-mermaid — triages complexity, then runs brainstorm → TDD → implement → docs/spec → code review at the right depth.

    123 GitHub stars~891 tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Mermaid Rasterize

    JocysCom/FocusLogger

    Rasterize specific mermaid blocks inside a markdown file into PNG images.

    213 GitHub stars~835 tokensUpdated 3 mo ago
    DevelopmentAuto-check passed

More from shuotao/REVIT_MCP_study

All 24 skills in this repo
  • Archicad Skill Adapter

    shuotao/REVIT_MCP_study

    Translates Revit-oriented BIM Skill intent and terminology into a guarded Archicad MCP workflow while preserving the original Domain method and Revit route.

    102 GitHub stars~1.7k tokensUpdated 1 mo ago
    Auto-check passed
  • Dll To MCP Tool

    shuotao/REVIT_MCP_study

    Wrap a standalone Revit IExternalCommand (.cs / DLL, WPF dialog allowed) into a revit-mcp MCP tool.

    102 GitHub stars~2.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Quantity Takeoff Excel

    shuotao/REVIT_MCP_study

    Create or review auditable Revit quantity-takeoff Excel reports for partition walls, baseboards, interior wall finishes, room schedules, and scaffolding.

    102 GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Align Views On Sheets

    shuotao/REVIT_MCP_study

    批次對齊 view 範圍 + viewport 在 sheet 上的位置:三階段流程結合 ScopeBox、titleblock 對齊與 viewport 定位。階段一用 setscopeboxforviews 把一組 view 的 CropBox 綁到指定 ScopeBox(範圍統一);階段二(可選)用 aligntitleblocksonsheets 對齊圖框 instance 位置(解決…

    102 GitHub stars~3.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Batch Apply View Template

    shuotao/REVIT_MCP_study

    批次將指定的 ViewTemplate 套用到多個 view:支援以圖紙(sheets)或 view 名稱/ID 選取目標 view,可搭配 viewTypeFilter 過濾類型,並提供 dryRun 預覽 + skipIfSameTemplate 避免重複套用。適用於:跨專案複製後統一視圖樣式、出圖前批次校正 view template、把整本圖集的 view 改成統一…

    102 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Batch Material

    shuotao/REVIT_MCP_study

    批次材質修改(複製原材質模式):為每個 Type 的原材質建立複本,只修改複本的 Appearance diffuse color,保留 Graphics 顏色與其他屬性。適用於渲染白模(Enscape/V-Ray 看到白色,平面圖切割圖案維持原材質)。也支援復原(assignexistingmaterial)。觸發條件:使用者提到材質、material、白色模型、white…

    102 GitHub stars~497 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Categories

Questions about Domain Diagram

What does Domain Diagram do?

引導剛寫完 domain 的老師把 SOP 流程圖像化:先討論主流程、做流程健檢(迴圈/死路/缺口),再把流程整理成結構化 spec,交由 .claude/skills/domain-diagram/scripts/mermaidfromspec.py 確定性地產出 GitHub 原生 mermaid 圖與健檢結論並回嵌…. Domain Diagram is an agent skill from shuotao/REVIT_MCP_study.

When should I use Domain Diagram?

Domain Diagram fits situations like: tasks that involve Diagrams.

How do I install Domain Diagram in Claude Code?

Run `npx skills add shuotao/REVIT_MCP_study --skill domain-diagram -a claude-code`. Or copy the skill folder (.claude/skills/domain-diagram in shuotao/REVIT_MCP_study) into .claude/skills/domain-diagram in your project. Claude Code loads it when a task matches its description.

How do I install Domain Diagram in Codex?

Run `npx skills add shuotao/REVIT_MCP_study --skill domain-diagram -a codex`. Or copy the skill folder (.claude/skills/domain-diagram in shuotao/REVIT_MCP_study) into .agents/skills/domain-diagram in your project. Codex loads it when a task matches its description.

Can I use Domain Diagram in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add shuotao/REVIT_MCP_study --skill domain-diagram -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/domain-diagram, .gemini/skills/domain-diagram, .github/skills/domain-diagram and .opencode/skills/domain-diagram in your project.

What does Domain Diagram need to run?

Going by SKILL.md and its folder, Domain Diagram needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Domain Diagram access the network?

SKILL.md names 3 domains. As links in the text: mermaid.live, github.com and mermaid.js.org. This is read from the text; nothing was executed.

Is Domain Diagram safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Domain Diagram use?

No licence was found for Domain Diagram or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Domain Diagram use?

About 816 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.6k tokens, read only when the agent opens those files.

What are the alternatives to Domain Diagram?

Skills that share tags, products or a category with Domain Diagram: GitDiagram Repository Overview (ahmedkhaleel2004/gitdiagram, 18k stars), Design Doc Mermaid (SpillwaveSolutions/design-doc-mermaid, 176 stars), GitDiagram Repo Architecture (ahmedkhaleel2004/gitdiagram, 18k stars) and Deep Repository Architecture Analyzer (yzddmr6/repo-analyzer, 492 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Domain Diagram?

shuotao (a GitHub user) maintains it in shuotao/REVIT_MCP_study, which has 102 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on August 31, 2026.

Source: shuotao/REVIT_MCP_study on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.