flowchart

GitHub

将流程、工作流或决策逻辑转换为结构清晰的 Mermaid 流程图。支持并行路径与判断分支,提供图例及假设说明,确保图表可渲染且符合 ANSI 规范。

skills/flowchart/SKILL.md mohitagw15856/pm-claude-skills

Trigger Scenarios

绘制业务流程图 可视化决策逻辑 展示操作步骤 解释系统工作原理

Install

npx skills add mohitagw15856/pm-claude-skills --skill flowchart -g -y
More Options

Use without installing

npx skills use mohitagw15856/pm-claude-skills@flowchart

指定 Agent (Claude Code)

npx skills add mohitagw15856/pm-claude-skills --skill flowchart -a claude-code -g -y

安装 repo 全部 skill

npx skills add mohitagw15856/pm-claude-skills --all -g -y

预览 repo 内 skill

npx skills add mohitagw15856/pm-claude-skills --list

SKILL.md

Frontmatter
{
    "name": "flowchart",
    "description": "Turn a process, workflow, or decision logic into a clean flowchart. Use when asked to diagram a process, map a workflow, visualize steps\/branches, or show 'how this works' as a chart. Produces a ready-to-render Mermaid flowchart (renders live in the playground, exportable as PNG\/SVG) plus a short legend and the assumptions made."
}

Flowchart Skill

A wall of prose describing a process is hard to follow; a flowchart makes the steps, branches, and dead-ends obvious at a glance. This skill turns a described process into a clean, correctly-structured Mermaid flowchart — with real decision diamonds, parallel paths, and end states — not a vague box-and-arrow sketch.

Required Inputs

Ask for these only if they aren't already provided:

  • The process — what happens, roughly in order (steps, who does what).
  • Decision points — where the path branches, and on what condition.
  • Start and end states — where it begins and the possible outcomes (success, rejection, error).
  • Direction preference (optional) — top-down (TD) for most processes, left-right (LR) for pipelines.

If the process is ambiguous, state the assumption you made rather than inventing steps.

Output Format

[Process name] — flowchart

A one-line summary of what the chart shows.

flowchart TD
    A([Start]) --> B[First step]
    B --> C{Decision?}
    C -->|Yes| D[Path A]
    C -->|No| E[Path B]
    D --> F([Done])
    E --> F

Legend / notes

  • Rounded nodes ([ ]) = start/end, rectangles [ ] = actions, diamonds { } = decisions.
  • Call out any swimlane/owner, SLA, or branch that needs attention.

Assumptions — anything you inferred about the process.

Mermaid Rules (so it renders)

  • Start with flowchart TD (or LR). Give every node a short ID (A, step1) and a label.
  • Decisions are { } with labelled edges: C -->|Yes| D.
  • Keep labels short; put detail in the notes, not inside the node.
  • Avoid unescaped parentheses/quotes inside labels — they break parsing. Use plain text.
  • One concept per node; don't cram a sentence into a box.

Quality Checks

  • Every decision diamond has all its branches labelled and leading somewhere (no dangling paths)
  • There is a clear start and at least one explicit end state
  • Node shapes are used meaningfully (action vs decision vs start/end)
  • The Mermaid block is syntactically valid and renders without edits
  • Assumptions about ambiguous steps are stated, not silently invented

Anti-Patterns

  • Do not produce a linear chain when the real process has branches — capture the decisions
  • Do not stuff full sentences into nodes — keep labels short, move detail to notes
  • Do not leave a decision with only one labelled branch — show what happens on every condition
  • Do not use parentheses or quotes inside labels in a way that breaks Mermaid
  • Do not invent steps to fill gaps — flag what you assumed

Based On

Process mapping / flowcharting practice (ANSI flowchart conventions), expressed as renderable Mermaid.

Version History

  • a38bc30 Current 2026-07-05 11:35

Same Skill Collection

exports/openclaw/360-feedback-template/SKILL.md
exports/openclaw/401k-plan-decoder/SKILL.md
exports/openclaw/ab-test-planner/SKILL.md
exports/openclaw/ab-test-readout/SKILL.md
exports/openclaw/accessibility-audit/SKILL.md
exports/openclaw/account-plan/SKILL.md
exports/openclaw/acquirer-red-team/SKILL.md
exports/openclaw/ad-copy/SKILL.md
exports/openclaw/aeo-optimizer/SKILL.md
exports/openclaw/agenda-or-cancel/SKILL.md
exports/openclaw/agent-design-review/SKILL.md
exports/openclaw/agent-hiring-panel/SKILL.md
exports/openclaw/agent-observability-spec/SKILL.md
exports/openclaw/agent-severance/SKILL.md
exports/openclaw/agent-spec/SKILL.md
exports/openclaw/agm-in-a-box/SKILL.md
exports/openclaw/ai-ethics-review/SKILL.md
exports/openclaw/ai-eval-plan/SKILL.md
exports/openclaw/ai-feature-prd/SKILL.md
exports/openclaw/ai-product-canvas/SKILL.md
exports/openclaw/air-quality/SKILL.md
exports/openclaw/altitude-shifter/SKILL.md
exports/openclaw/ambiguity-resolver/SKILL.md
exports/openclaw/analyst-relations-brief/SKILL.md
exports/openclaw/announcement-card/SKILL.md
exports/openclaw/api-docs-writer/SKILL.md
exports/openclaw/api-test-plan/SKILL.md
exports/openclaw/api-versioning-strategy/SKILL.md
exports/openclaw/apology-letter/SKILL.md
exports/openclaw/architecture-decision-record/SKILL.md
exports/openclaw/architecture-diagram/SKILL.md
exports/openclaw/archive-strategy/SKILL.md
exports/openclaw/assumption-bounty/SKILL.md
exports/openclaw/assumption-mapper/SKILL.md
exports/openclaw/async-update-format/SKILL.md
exports/openclaw/auto-repair-estimate-decoder/SKILL.md
exports/openclaw/autopilot-charter/SKILL.md
exports/openclaw/behavior-intervention-plan/SKILL.md
exports/openclaw/benefits-decoder/SKILL.md
exports/openclaw/bennett-time-audit/SKILL.md
exports/openclaw/bid-tender-review/SKILL.md
exports/openclaw/board-deck-narrative/SKILL.md
exports/openclaw/board-game-designer/SKILL.md
exports/openclaw/board-minutes/SKILL.md
exports/openclaw/board-pre-read/SKILL.md
exports/openclaw/bom-cost-review/SKILL.md
exports/openclaw/bookkeeping-categorization/SKILL.md
exports/openclaw/boolean-search-builder/SKILL.md
exports/openclaw/brag-doc/SKILL.md
exports/openclaw/brainstorming/SKILL.md

Metadata

Files
0
Version
e4def4c
Hash
7fcde3d3
Indexed
2026-07-05 11:35

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-31 06:25
浙ICP备14020137号-1 $방문자$