one-click-flowchart

One-click generation of Chinese Mermaid flowcharts, suitable for general processes, decision branches, approval nodes, task flows, and system processing chains, with automatic checks of mmdc, chart rendering, and delivery files.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "one-click-flowchart" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-14e1270d81bef0104426e77f0b8de1b1751f4fbff34fa0d0a60317959a9a2698. Verify the upstream source and version against https://skillhub.cn/skills/user_adbca5d8/one-click-flowchart before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

One-click generation of Chinese Mermaid flowcharts, suitable for general processes, decision branches, approval nodes, task flows, and system processing chains, with automatic checks of mmdc, chart rendering, and delivery files.

0 Downloads

Introduction source: third_party · user_adbca5d8 · 1.0.4 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Translation pending; see source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: one-click-flowchart
description: 一键生成中文 Mermaid 流程图,适用于普通流程、判断分支、审批节点、任务流和系统处理链路,并自动检查 mmdc、渲染图表和交付文件。
slug: one-click-flowchart
displayName: 一键流程图生成技能
version: 1.0.3
summary: 一键生成中文 Mermaid 流程图,适用于普通流程、判断分支、审批节点和任务流。
license: MIT
iconUrl: https://raw.githubusercontent.com/aquarkgn/mermaid-skill/v1.0.3/skills/one-click-flowchart/icon.svg

一键流程图生成技能

将用户的步骤、判断、输入输出和处理结果整理为可渲染的 Mermaid 流程图。

执行规则

  1. 第一次渲染前检查 mmdc:command -v mmdc && mmdc --version。
  2. 未安装时先引导执行 npm install -g @mermaid-js/mermaid-cli,未获明确授权不要代装。
  3. 本机版本距离 npm 最新版本超过 3 个发布版本时,先询问升级或继续使用旧版本。
  4. 用户没有指定保存位置时,将 .mmd 和导出文件保存到当前项目的 docs/mermaid/。
  5. 渲染失败时区分 Mermaid 语法错误和 Puppeteer 浏览器依赖错误。
  6. 交付时提供源码、导出文件的绝对路径链接和 mmdc 版本。

图表选择

  • 普通步骤使用 flowchart TD。
  • 横向链路使用 flowchart LR。
  • 判断使用 {},处理使用 [],外部输入输出使用带引号的节点文本。
  • 多角色流程使用 subgraph 区分边界。

模板

flowchart TD
  开始([开始]) --> 输入[/接收输入/]
  输入 --> 判断{是否通过}
  判断 -- 是 --> 处理[执行处理]
  判断 -- 否 --> 修改[返回修改]
  修改 --> 输入
  处理 --> 结束([结束])

输出要求

优先生成中文短标签,避免节点文本过长;先保存源码,再使用 mmdc -i 输入.mmd -o 输出.svg 渲染。默认输出目录不存在时先创建;用户明确指定位置时按用户要求保存。

Current listing version

1.0.4

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供流程图生成通用能力,受众广泛
  • 支持多种流程类型(普通流程、判断分支、审批节点等)
  • 具备实际工程价值
Trigger Precision90/100

Highlights

  • 触发词精准覆盖核心功能
  • description 位置正确且内容完整
  • 边界清晰不易误触
Structure and Standards90/100

Highlights

  • 执行规则、图表选择、模板、输出要求章节清晰
  • 包含完整端到端示例
  • frontmatter 完整规范
Execution Reliability90/100

Highlights

  • 工具来源明确(mmdc、npm)
  • 覆盖主要异常场景(安装检查、版本管理、渲染失败)
  • 不可逆操作有用户确认机制
  • 输出路径处理完善
Evidence Verifiability (mean of the first four)89/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 19
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.