Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计异常

arch-mmd拱形 MMD

Agent Skill

arch-mmd 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

303

周安装

13

GitHub Stars

公开资料未说明

下载量

106
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:arch-mmd(拱形 MMD)
来源仓库:https://github.com/aravhawk/claude-code-utils
仓库路径:skills/arch-mmd
安装命令:
npx skills add https://github.com/aravhawk/claude-code-utils --skill arch-mmd
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/aravhawk/claude-code-utils --skill arch-mmd

简介

用于生成 Mermaid 架构图, 映射代码库高层结构。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

  • 适合快速可视化系统组成与数据流向。
  • 使用时需扫描项目入口与核心模块以提取关键节点。
  • arch-mmd 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Architecture Diagram Generator

Create or update an ARCHITECTURE.mmd Mermaid diagram that maps out the codebase's high-level architecture. The goal is a clean, readable overview — not an exhaustive map of every file.


PHASE 1: EXPLORE THE CODEBASE

Scan the project to understand its architecture at a high level:

  1. Identify project type — framework, language, monorepo vs single app
  2. Find the entry point(s) — what kicks things off (CLI, web server, main function)
  3. Identify the core modules — the 5-15 key components that form the backbone (not every file)
  4. Trace the main data flow — the primary happy path from input to output
  5. Find external dependencies — databases, APIs, third-party services (only the important ones)
  6. Note major boundaries — client/server, package boundaries in monorepos

PHASE 2: BUILD THE DIAGRAM

Use graph TD (top-down) as the default direction. Use graph LR only if the architecture is clearly pipeline-shaped.

Simplicity is paramount

The diagram should be immediately readable on a single screen. Think of it as an architecture overview you'd sketch on a whiteboard — not a full system blueprint.

  • Target 8-20 nodes for most projects. Small projects may have fewer, large monorepos may stretch to ~25 max. If you're exceeding 20, you're almost certainly too granular.
  • Do NOT use subgraph — they add visual clutter and nesting complexity. Use color coding to group related nodes instead.
  • Minimize edge crossings — structure nodes so the flow reads cleanly top-to-bottom (or left-to-right). If connections are crisscrossing everywhere, reorganize.
  • One level of detail — pick a consistent abstraction level. Don't mix "the entire frontend" as one node alongside individual Python files as separate nodes.

Node labels

Include the file/module name and a brief description using <br/> for multi-line labels:

ENGINE["engine.py<br/>CodeLoader + Orchestrator"]
CLI["cli.py<br/>Arg parsing + validation"]

For simple/obvious nodes, a single-line label is fine:

DB[(PostgreSQL)]

Keep labels short — max ~5-6 words per line.

Node IDs

Use short, uppercase IDs: CLI, ENGINE, AUTH, DB, API

Connections

  • Use --> for standard flow
  • Label edges sparingly — only when the relationship isn't obvious from context: -->|"REST"|, -->|"WebSocket"|
  • Use & fan-in syntax when multiple nodes feed into one target:
P1 & P2 & P3 --> AGENT
  • Avoid excessive connections. Not every interaction needs an arrow. Show the primary architectural flow, not every function call.

Color coding with style

Color-code nodes by their role to make the diagram scannable at a glance. Pick a small, consistent palette (4-6 colors max). Always include color:#fff for readability.

Role-to-color suggestions (adapt to the project):

RoleColorExample
Entry point / user-facing#e74c3c (red)CLI, UI, API gateway
Core engine / orchestrator#2980b9 (blue)Main engine, coordinator
Agent / processor#8e44ad (purple)Workers, agents, handlers
External service / API#e67e22 (orange)Third-party APIs, LLMs
Output / result#27ae60 (green)Reports, exports, responses
Infrastructure / runtime#16a085 (teal)Runners, browsers, terminals

Example:

style ENGINE fill:#2980b9,color:#fff
style REPORT fill:#27ae60,color:#fff

Node shapes

  • ["Label"] — default rectangle for most components
  • [(Database)] — databases and data stores only
  • (["Label"]) — stadium shape for entry points (optional, use sparingly)
  • No other shapes needed; keep it uniform

PHASE 3: WRITE THE FILE

  1. Write the diagram to ARCHITECTURE.mmd in the project root
  2. If ARCHITECTURE.mmd already exists, read it first, then update it to reflect the current state — don't start from scratch unless the existing diagram is fundamentally wrong
  3. The file should contain ONLY the Mermaid diagram — no markdown fences, no frontmatter, no prose

CONSTRAINTS

Readability over completeness — this is the #1 rule.

  • Keep it simple — if the diagram looks complex, it IS too complex. Collapse groups of related files into a single node (e.g., "API Routes" instead of listing every route file). The diagram should be a clean high-level overview.
  • 8-20 nodes for most projects — this is a hard guideline. Fewer is often better. Only exceed ~20 for genuinely large/complex systems, and never exceed ~25.
  • No subgraphs — use color coding to visually group nodes instead.
  • Map real modules, not abstractions — nodes should correspond to actual files, packages, or services, not vague concepts like "Business Logic Layer"
  • Brief descriptions — use <br/> in labels so someone unfamiliar can understand each node's role
  • Always color-code — a diagram without style directives is incomplete
  • No orphan nodes — every node must connect to at least one other node
  • Accuracy over completeness — only include components confirmed to exist; leave out anything marginal
  • Update, don't recreate — when updating an existing diagram, preserve structural choices and only change what's outdated

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.28%
按下载量换算37

Claude

31.92%
按下载量换算34

Cursor

18.49%
按下载量换算20

Gemini CLI

8.44%
按下载量换算9

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills