ascii-diagram-boxflow
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWhen to use this skill
何时使用该技能
CRITICAL TRIGGER RULE
- Use this skill ONLY when the user explicitly mentions the exact skill name: .
ascii-diagram-boxflow
Trigger phrases include:
- "ascii-diagram-boxflow"
- "use ascii-diagram-boxflow"
- "用 ascii-diagram-boxflow 画 ASCII 流程图/框图"
- "使用 ascii-diagram-boxflow 生成 box + 箭头连接图"
核心触发规则
- 仅当用户明确提及确切技能名称:时,才可使用该技能。
ascii-diagram-boxflow
触发短语包括:
- "ascii-diagram-boxflow"
- "use ascii-diagram-boxflow"
- "用 ascii-diagram-boxflow 画 ASCII 流程图/框图"
- "使用 ascii-diagram-boxflow 生成 box + 箭头连接图"
Boundary
边界限制
- ASCII output only. Do not output Mermaid/PlantUML.
- Recommended nodes <= 12; if larger, split into sub-diagrams.
- Auto-layout is best-effort for linear and simple branching. Complex layouts require manual ordering or splitting.
- 仅输出ASCII格式。不得输出Mermaid/PlantUML格式。
- 建议节点数≤12;若节点数更多,需拆分为子图。
- 自动布局仅对线性和简单分支场景做最大努力支持。复杂布局需要手动排序或拆分。
How to use this skill
如何使用该技能
Inputs
输入参数
- nodes (node list; names required)
- edges (connections: from/to)
- direction (TB | LR, default TB)
- width (default 80)
- boxWidth (default 16)
- numbering (default false)
- nodes(节点列表;必须包含名称)
- edges(连接关系:起点/终点)
- direction(方向:TB | LR,默认值TB)
- width(默认值80)
- boxWidth(默认值16)
- numbering(默认值false)
Outputs (required)
必填输出内容
- diagram (ASCII-only)
- layoutRules (box width + arrow/line rules)
- splitAdvice (how to split complex diagrams)
- diagram(仅ASCII格式)
- layoutRules(方框宽度 + 箭头/线条规则)
- splitAdvice(复杂图的拆分建议)
Script
脚本
- : best-effort for linear flows and single 2-way branching
scripts/boxflow.py
- :对线性流程和单一双向分支场景做最大努力支持
scripts/boxflow.py
Examples
示例
examples/login-flow.md
examples/login-flow.md
Quality checklist
质量检查清单
- Arrow direction is unambiguous; avoid crossings
- Line width ; no trailing spaces
<= width - Long node names must be truncated or wrapped consistently
- 箭头方向清晰明确;避免交叉
- 行宽;无尾随空格
<= width - 长节点名称必须统一截断或换行
Keywords
关键词
English: ascii-diagram-boxflow, ascii diagram, flowchart, box, arrow, plain text, terminal
中文: ascii-diagram-boxflow, ASCII 框图, 流程图, 纯文本, 盒子, 箭头, 终端
英文: ascii-diagram-boxflow, ascii diagram, flowchart, box, arrow, plain text, terminal
中文: ascii-diagram-boxflow, ASCII 框图, 流程图, 纯文本, 盒子, 箭头, 终端