Agent skill that turns natural language, code, Terraform/K8s, SQL, OpenAPI, AsyncAPI, Protobuf and GraphQL sources into editable, tested draw.io architecture diagrams: incremental sync, multi-view projection, drift diff, CI architecture tests, whiteboard derasterize, interactive HTML/PPTX/Mermaid exports.
Python agent-skillsarchitecturearchitecture-diagramasyncapibpmnc4-modelclaude-codediagramdiagrams-as-codedrawioflowchartgithub-actionsgraphqlimage-to-diagramkubernetesmcp-serverprotobufsysmlterraformuml
docs: add Kanban board example to READMEs
Agents365-ai0b17564d7a73
diff --git a/README.md b/README.mdindex fb87b0c..225f0f4 100644--- a/README.md+++ b/README.md@@ -78,6 +78,12 @@ The skill is designed to route edges cleanly across different topologies, avoidi</tr></table>+It also speaks **Mermaid** — standard types (flowchart, mindmap, **kanban**, gitGraph, timeline…) convert straight to native, editable `.drawio`. Here's a Kanban board (this project's own roadmap) generated from a few lines of Mermaid:++<div align="center">+ <img src="assets/kanban.png" width="900" alt="Kanban board generated by drawio-skill from Mermaid — this project's roadmap across Backlog / Todo / In Progress / Done">+</div>+Full walkthrough in [docs/USAGE.md](docs/USAGE.md).## 🚀 Installationdiff --git a/README_CN.md b/README_CN.mdindex bb25a1a..74e36b2 100644--- a/README_CN.md+++ b/README_CN.md@@ -77,6 +77,12 @@ Skill 在多种图表拓扑中尽量保持线条清晰路由,避免穿越无</tr></table>+它也懂 **Mermaid** —— 标准图类型(流程图、思维导图、**看板**、gitGraph、时间线…)可直接转成原生、可编辑的 `.drawio`。下面是一块看板(本项目自己的路线图),由几行 Mermaid 生成:++<div align="center">+ <img src="assets/kanban-cn.png" width="900" alt="drawio-skill 用 Mermaid 生成的看板 —— 本项目路线图,分为 需求池 / 待办 / 进行中 / 已完成">+</div>+完整演练见 [docs/USAGE_CN.md](docs/USAGE_CN.md)。## 🚀 安装diff --git a/assets/kanban-cn.drawio b/assets/kanban-cn.drawionew file mode 100644index 0000000..6cececc--- /dev/null+++ b/assets/kanban-cn.drawio@@ -0,0 +1,146 @@+<mxfile host="Electron">+ <diagram id="8I9bZu4L4ipje97artZL" name="pageWithNumber">+ <mxGraphModel dx="-441" dy="-115" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="0" page="0" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">+ <root>+ <mxCell id="0" />+ <mxCell id="1" parent="0" />+ <UserObject label="" mermaidId="n:column:_" mermaidBaseStyle="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#e8ffb9;strokeColor=#e8ffb9;strokeWidth=1;container=1;collapsible=0;childLayout=stackLayout;horizontal=0;horizontalStack=0;resizeParent=0;resizeParentMax=0;resizeLast=0;startSize=25;marginTop=0;marginBottom=10;marginLeft=8;marginRight=8;spacing=5;" mermaidBaseValue="" id="2">+ <mxCell parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#e8ffb9;strokeColor=#e8ffb9;strokeWidth=1;container=1;collapsible=0;childLayout=stackLayout;horizontal=0;horizontalStack=0;resizeParent=0;resizeParentMax=0;resizeLast=0;startSize=25;marginTop=0;marginBottom=10;marginLeft=8;marginRight=8;spacing=5;" vertex="1">+ <mxGeometry height="274" width="200" x="10" y="10" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="3" parent="2" style="text;html=1;strokeColor=none;fillColor=none;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=#333333;align=center;verticalAlign=middle;" value="需求池" vertex="1">+ <mxGeometry height="24" width="200" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_2_1" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="4">+ <mxCell parent="2" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="68" width="185" x="8" y="25" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="5" parent="4" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">Trace2Seq:OTel/Jaeger 追踪转时序图</div>" vertex="1">+ <mxGeometry height="48" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_2_2" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="6">+ <mxCell parent="2" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="44" width="185" x="8" y="98" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="7" parent="6" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">Tube-Map 模式:地铁风格重绘任意图</div>" vertex="1">+ <mxGeometry height="24" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_2_3" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="8">+ <mxCell parent="2" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="44" width="185" x="8" y="147" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="9" parent="8" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">旁白讲解:逆向说明 + TTS + 视频</div>" vertex="1">+ <mxGeometry height="24" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_2_4" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="10">+ <mxCell parent="2" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="68" width="185" x="8" y="196" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="11" parent="10" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">DAG-of-DAGs:Snakemake/Airflow/dbt 血缘</div>" vertex="1">+ <mxGeometry height="48" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:column:_" mermaidBaseStyle="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dcb9ff;strokeColor=#dcb9ff;strokeWidth=1;container=1;collapsible=0;childLayout=stackLayout;horizontal=0;horizontalStack=0;resizeParent=0;resizeParentMax=0;resizeLast=0;startSize=25;marginTop=0;marginBottom=10;marginLeft=8;marginRight=8;spacing=5;" mermaidBaseValue="" id="12">+ <mxCell parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dcb9ff;strokeColor=#dcb9ff;strokeWidth=1;container=1;collapsible=0;childLayout=stackLayout;horizontal=0;horizontalStack=0;resizeParent=0;resizeParentMax=0;resizeLast=0;startSize=25;marginTop=0;marginBottom=10;marginLeft=8;marginRight=8;spacing=5;" vertex="1">+ <mxGeometry height="152" width="200" x="215" y="10" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="13" parent="12" style="text;html=1;strokeColor=none;fillColor=none;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=#ffffff;align=center;verticalAlign=middle;" value="待办" vertex="1">+ <mxGeometry height="24" width="200" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_3_6" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="14">+ <mxCell parent="12" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="68" width="185" x="8" y="25" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="15" parent="14" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">Staff-Engineer 评审:单点故障与坏味道</div>" vertex="1">+ <mxGeometry height="48" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_3_7" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="16">+ <mxCell parent="12" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="44" width="185" x="8" y="98" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="17" parent="16" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">威胁建模叠加:信任边界 + STRIDE</div>" vertex="1">+ <mxGeometry height="24" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:column:_" mermaidBaseStyle="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#ffb9ff;strokeColor=#ffb9ff;strokeWidth=1;container=1;collapsible=0;childLayout=stackLayout;horizontal=0;horizontalStack=0;resizeParent=0;resizeParentMax=0;resizeLast=0;startSize=25;marginTop=0;marginBottom=10;marginLeft=8;marginRight=8;spacing=5;" mermaidBaseValue="" id="18">+ <mxCell parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#ffb9ff;strokeColor=#ffb9ff;strokeWidth=1;container=1;collapsible=0;childLayout=stackLayout;horizontal=0;horizontalStack=0;resizeParent=0;resizeParentMax=0;resizeLast=0;startSize=25;marginTop=0;marginBottom=10;marginLeft=8;marginRight=8;spacing=5;" vertex="1">+ <mxGeometry height="79" width="200" x="420" y="10" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="19" parent="18" style="text;html=1;strokeColor=none;fillColor=none;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=#333333;align=center;verticalAlign=middle;" value="进行中" vertex="1">+ <mxGeometry height="24" width="200" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_4_9" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="20">+ <mxCell parent="18" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="44" width="185" x="8" y="25" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="21" parent="20" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">文档:5 个新脚本的 USAGE 示例</div>" vertex="1">+ <mxGeometry height="24" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:column:_" mermaidBaseStyle="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#ffb9dc;strokeColor=#ffb9dc;strokeWidth=1;container=1;collapsible=0;childLayout=stackLayout;horizontal=0;horizontalStack=0;resizeParent=0;resizeParentMax=0;resizeLast=0;startSize=25;marginTop=0;marginBottom=10;marginLeft=8;marginRight=8;spacing=5;" mermaidBaseValue="" id="22">+ <mxCell parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#ffb9dc;strokeColor=#ffb9dc;strokeWidth=1;container=1;collapsible=0;childLayout=stackLayout;horizontal=0;horizontalStack=0;resizeParent=0;resizeParentMax=0;resizeLast=0;startSize=25;marginTop=0;marginBottom=10;marginLeft=8;marginRight=8;spacing=5;" vertex="1">+ <mxGeometry height="372" width="200" x="625" y="10" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="23" parent="22" style="text;html=1;strokeColor=none;fillColor=none;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=#333333;align=center;verticalAlign=middle;" value="已完成" vertex="1">+ <mxGeometry height="24" width="200" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_5_11" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="24">+ <mxCell parent="22" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="68" width="185" x="8" y="25" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="25" parent="24" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">raster2drawio:图片转可编辑 .drawio</div>" vertex="1">+ <mxGeometry height="48" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_5_12" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="26">+ <mxCell parent="22" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="44" width="185" x="8" y="98" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="27" parent="26" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">buildup:逐节点显现动画</div>" vertex="1">+ <mxGeometry height="24" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_5_13" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="28">+ <mxCell parent="22" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="44" width="185" x="8" y="147" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="29" parent="28" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">compress:大图转高管摘要</div>" vertex="1">+ <mxGeometry height="24" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_5_14" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="30">+ <mxCell parent="22" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="44" width="185" x="8" y="196" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="31" parent="30" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">runbook:点击式排查手册</div>" vertex="1">+ <mxGeometry height="24" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_5_15" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="32">+ <mxCell parent="22" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="68" width="185" x="8" y="245" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="33" parent="32" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">prdiff:PR 图表 diff 机器人 + Action</div>" vertex="1">+ <mxGeometry height="48" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_5_16" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="34">+ <mxCell parent="22" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="44" width="185" x="8" y="318" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="35" parent="34" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">思维导图功能全景进 README</div>" vertex="1">+ <mxGeometry height="24" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ </root>+ </mxGraphModel>+ </diagram>+</mxfile>diff --git a/assets/kanban-cn.mmd b/assets/kanban-cn.mmdnew file mode 100644index 0000000..12a0a7b--- /dev/null+++ b/assets/kanban-cn.mmd@@ -0,0 +1,18 @@+kanban+ 需求池+ [Trace2Seq:OTel/Jaeger 追踪转时序图]+ [Tube-Map 模式:地铁风格重绘任意图]+ [旁白讲解:逆向说明 + TTS + 视频]+ [DAG-of-DAGs:Snakemake/Airflow/dbt 血缘]+ 待办+ [Staff-Engineer 评审:单点故障与坏味道]+ [威胁建模叠加:信任边界 + STRIDE]+ 进行中+ [文档:5 个新脚本的 USAGE 示例]+ 已完成+ [raster2drawio:图片转可编辑 .drawio]+ [buildup:逐节点显现动画]+ [compress:大图转高管摘要]+ [runbook:点击式排查手册]+ [prdiff:PR 图表 diff 机器人 + Action]+ [思维导图功能全景进 README]diff --git a/assets/kanban-cn.png b/assets/kanban-cn.pngnew file mode 100644index 0000000..bd3dfb1Binary files /dev/null and b/assets/kanban-cn.png differdiff --git a/assets/kanban.drawio b/assets/kanban.drawionew file mode 100644index 0000000..c81d46d--- /dev/null+++ b/assets/kanban.drawio@@ -0,0 +1,146 @@+<mxfile host="Electron">+ <diagram id="R7xABbWS0vD1PKM0V5vr" name="pageWithNumber">+ <mxGraphModel dx="-441" dy="-139" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="0" page="0" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">+ <root>+ <mxCell id="0" />+ <mxCell id="1" parent="0" />+ <UserObject label="" mermaidId="n:column:Backlog" mermaidBaseStyle="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#e8ffb9;strokeColor=#e8ffb9;strokeWidth=1;container=1;collapsible=0;childLayout=stackLayout;horizontal=0;horizontalStack=0;resizeParent=0;resizeParentMax=0;resizeLast=0;startSize=25;marginTop=0;marginBottom=10;marginLeft=8;marginRight=8;spacing=5;" mermaidBaseValue="" id="2">+ <mxCell parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#e8ffb9;strokeColor=#e8ffb9;strokeWidth=1;container=1;collapsible=0;childLayout=stackLayout;horizontal=0;horizontalStack=0;resizeParent=0;resizeParentMax=0;resizeLast=0;startSize=25;marginTop=0;marginBottom=10;marginLeft=8;marginRight=8;spacing=5;" vertex="1">+ <mxGeometry height="418" width="200" x="10" y="10" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="3" parent="2" style="text;html=1;strokeColor=none;fillColor=none;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=#333333;align=center;verticalAlign=middle;" value="Backlog" vertex="1">+ <mxGeometry height="24" width="200" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_2_1" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="4">+ <mxCell parent="2" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="92" width="185" x="8" y="25" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="5" parent="4" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">Trace2Seq: OTel/Jaeger trace to sequence diagram</div>" vertex="1">+ <mxGeometry height="72" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_2_2" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="6">+ <mxCell parent="2" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="92" width="185" x="8" y="122" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="7" parent="6" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">Tube-Map Mode: subway-style restyle of any graph</div>" vertex="1">+ <mxGeometry height="72" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_2_3" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="8">+ <mxCell parent="2" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="92" width="185" x="8" y="219" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="9" parent="8" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">Narrated Explainer: reverse-explain + TTS + video</div>" vertex="1">+ <mxGeometry height="72" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_2_4" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="10">+ <mxCell parent="2" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="92" width="185" x="8" y="316" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="11" parent="10" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">DAG-of-DAGs: Snakemake/Airflow/dbt lineage</div>" vertex="1">+ <mxGeometry height="72" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:column:Todo" mermaidBaseStyle="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dcb9ff;strokeColor=#dcb9ff;strokeWidth=1;container=1;collapsible=0;childLayout=stackLayout;horizontal=0;horizontalStack=0;resizeParent=0;resizeParentMax=0;resizeLast=0;startSize=25;marginTop=0;marginBottom=10;marginLeft=8;marginRight=8;spacing=5;" mermaidBaseValue="" id="12">+ <mxCell parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dcb9ff;strokeColor=#dcb9ff;strokeWidth=1;container=1;collapsible=0;childLayout=stackLayout;horizontal=0;horizontalStack=0;resizeParent=0;resizeParentMax=0;resizeLast=0;startSize=25;marginTop=0;marginBottom=10;marginLeft=8;marginRight=8;spacing=5;" vertex="1">+ <mxGeometry height="200" width="200" x="215" y="10" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="13" parent="12" style="text;html=1;strokeColor=none;fillColor=none;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=#ffffff;align=center;verticalAlign=middle;" value="Todo" vertex="1">+ <mxGeometry height="24" width="200" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_3_6" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="14">+ <mxCell parent="12" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="68" width="185" x="8" y="25" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="15" parent="14" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">Staff-Engineer review: SPOF &amp; smell critique</div>" vertex="1">+ <mxGeometry height="48" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_3_7" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="16">+ <mxCell parent="12" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="92" width="185" x="8" y="98" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="17" parent="16" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">Threat-Model overlay: trust boundaries + STRIDE</div>" vertex="1">+ <mxGeometry height="72" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:column:_anon_3_8" mermaidBaseStyle="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#ffb9ff;strokeColor=#ffb9ff;strokeWidth=1;container=1;collapsible=0;childLayout=stackLayout;horizontal=0;horizontalStack=0;resizeParent=0;resizeParentMax=0;resizeLast=0;startSize=25;marginTop=0;marginBottom=10;marginLeft=8;marginRight=8;spacing=5;" mermaidBaseValue="" id="18">+ <mxCell parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#ffb9ff;strokeColor=#ffb9ff;strokeWidth=1;container=1;collapsible=0;childLayout=stackLayout;horizontal=0;horizontalStack=0;resizeParent=0;resizeParentMax=0;resizeLast=0;startSize=25;marginTop=0;marginBottom=10;marginLeft=8;marginRight=8;spacing=5;" vertex="1">+ <mxGeometry height="103" width="200" x="420" y="10" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="19" parent="18" style="text;html=1;strokeColor=none;fillColor=none;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=#333333;align=center;verticalAlign=middle;" value="In Progress" vertex="1">+ <mxGeometry height="24" width="200" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_4_9" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="20">+ <mxCell parent="18" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="68" width="185" x="8" y="25" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="21" parent="20" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">Docs: USAGE examples for the 5 new scripts</div>" vertex="1">+ <mxGeometry height="48" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:column:Done" mermaidBaseStyle="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#ffb9dc;strokeColor=#ffb9dc;strokeWidth=1;container=1;collapsible=0;childLayout=stackLayout;horizontal=0;horizontalStack=0;resizeParent=0;resizeParentMax=0;resizeLast=0;startSize=25;marginTop=0;marginBottom=10;marginLeft=8;marginRight=8;spacing=5;" mermaidBaseValue="" id="22">+ <mxCell parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#ffb9dc;strokeColor=#ffb9dc;strokeWidth=1;container=1;collapsible=0;childLayout=stackLayout;horizontal=0;horizontalStack=0;resizeParent=0;resizeParentMax=0;resizeLast=0;startSize=25;marginTop=0;marginBottom=10;marginLeft=8;marginRight=8;spacing=5;" vertex="1">+ <mxGeometry height="468" width="200" x="625" y="10" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="23" parent="22" style="text;html=1;strokeColor=none;fillColor=none;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=#333333;align=center;verticalAlign=middle;" value="Done" vertex="1">+ <mxGeometry height="24" width="200" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_5_11" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="24">+ <mxCell parent="22" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="68" width="185" x="8" y="25" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="25" parent="24" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">raster2drawio: image to editable .drawio</div>" vertex="1">+ <mxGeometry height="48" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_5_12" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="26">+ <mxCell parent="22" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="68" width="185" x="8" y="98" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="27" parent="26" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">buildup: node-by-node build-up animation</div>" vertex="1">+ <mxGeometry height="48" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_5_13" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="28">+ <mxCell parent="22" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="68" width="185" x="8" y="171" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="29" parent="28" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">compress: big diagram to exec summary</div>" vertex="1">+ <mxGeometry height="48" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_5_14" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="30">+ <mxCell parent="22" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="68" width="185" x="8" y="244" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="31" parent="30" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">runbook: click-through triage runbook</div>" vertex="1">+ <mxGeometry height="48" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_5_15" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="32">+ <mxCell parent="22" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="68" width="185" x="8" y="317" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="33" parent="32" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">prdiff: PR diagram diff bot + Action</div>" vertex="1">+ <mxGeometry height="48" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ <UserObject label="" mermaidId="n:card:_anon_5_16" mermaidBaseStyle="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" mermaidBaseValue="" id="34">+ <mxCell parent="22" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#1f2020);strokeColor=#9370DB;strokeWidth=1;container=1;collapsible=0;" vertex="1">+ <mxGeometry height="68" width="185" x="8" y="390" as="geometry" />+ </mxCell>+ </UserObject>+ <mxCell id="35" parent="34" style="text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;fontColor=light-dark(#333333,#cccccc);align=left;verticalAlign=middle;" value="<div style="line-height:1.5;">Mind-map feature map in READMEs</div>" vertex="1">+ <mxGeometry height="48" width="175" x="10" y="10" as="geometry" />+ </mxCell>+ </root>+ </mxGraphModel>+ </diagram>+</mxfile>diff --git a/assets/kanban.mmd b/assets/kanban.mmdnew file mode 100644index 0000000..af2f39f--- /dev/null+++ b/assets/kanban.mmd@@ -0,0 +1,18 @@+kanban+ Backlog+ [Trace2Seq: OTel/Jaeger trace to sequence diagram]+ [Tube-Map Mode: subway-style restyle of any graph]+ [Narrated Explainer: reverse-explain + TTS + video]+ [DAG-of-DAGs: Snakemake/Airflow/dbt lineage]+ Todo+ [Staff-Engineer review: SPOF & smell critique]+ [Threat-Model overlay: trust boundaries + STRIDE]+ [In Progress]+ [Docs: USAGE examples for the 5 new scripts]+ Done+ [raster2drawio: image to editable .drawio]+ [buildup: node-by-node build-up animation]+ [compress: big diagram to exec summary]+ [runbook: click-through triage runbook]+ [prdiff: PR diagram diff bot + Action]+ [Mind-map feature map in READMEs]diff --git a/assets/kanban.png b/assets/kanban.pngnew file mode 100644index 0000000..4a5daa0Binary files /dev/null and b/assets/kanban.png differ