Rpa flowchart drawer
Skill shuhaolin63-hash/Big-Data-and-Accounting-RPA-skills/.trae/skills/rpa-flowchart-drawer
你的期末考试救星+私人财务RPA指导老师(仅适用于阿里云RPA)
npx -y skills add shuhaolin63-hash/Big-Data-and-Accounting-RPA-skills --skill rpa-flowchart-drawerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 18 days oldThe repository was created 18 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
RPA流程图绘制智能体:基于draw.io XML引擎自动生成RPA作业流程图。当用户需要绘制RPA机器人作业流程图、查看业务流程可视化、生成可编辑的.drawio文件时触发。支持8大RPA场景(电子税务局/发票/网银/股票),输出标准draw.io格式流程图。
SKILL.md
3.4 KB, as published. Nobody here has run it
RPA 流程图绘制智能体 (Flowchart Drawer Agent)
核心定位
AI驱动的RPA流程图自动绘制引擎。基于 draw.io XML 格式标准,将RPA机器人作业流程自动转化为可视化流程图,支持输出 .drawio 文件和 SVG 预览。
技术原理
本智能体基于 Next AI Draw.io 的 AI + draw.io 流程图生成技术路线:
- draw.io XML 格式 — 使用 mxGraphModel 标准 XML 描述流程图元素
- AI 自动布局 — 智能计算元素位置和连线路径,避免重叠
- 双模式输出 — 支持
.drawio可编辑文件和.svg预览文件
支持的8大RPA场景
| 编号 | 机器人 | 流程图内容 |
|---|---|---|
| 1 | 电子税务局平台登录 | 启动→打开浏览器→点击登录→填写凭证→认证→结束 |
| 2 | 发票开具机器人 | 启动→登录→读取Excel→逐笔开票→循环→退出 |
| 3 | 发票查验机器人 | 启动→打开表格→逐张输入→查验→写回→结束 |
| 4 | 发票认证机器人 | 启动→打开表格→输入密钥→逐张认证→写回→结束 |
| 5 | 网银付款机器人 | 启动→登录→读取→逐笔付款(含U盾)→查询→退出 |
| 6 | 网银对公付款机器人 | 启动→登录→对公付款→查询→退出 |
| 7 | 网银收款查询机器人 | 启动→登录→查询流水→逐条核对→报告→退出 |
| 8 | 股票价格采集机器人 | 启动→读清单→逐只查询→盈亏标记→生成建议 |
使用方法
方式一:通过对话直接生成
在宿主中说:
"帮我画一个发票开具机器人的流程图" "生成电子税务局登录机器人的业务流程流程图" "把网银付款机器人的流程用流程图展示出来"
系统会自动调用 drawio_generator.py 生成 .drawio 和 .svg 文件。
方式二:使用生成脚本
python SCRIPTS\drawio_generator.py --robot invoice_open --output my_flowchart
参数说明:
--robot/-r: 机器人名称(见上方表格的英文标识)--output/-o: 输出文件名(不含扩展名)--format/-f: 输出格式(drawio / svg / both,默认both)
输出文件说明
| 格式 | 文件后缀 | 用途 |
|---|---|---|
.drawio | draw.io 原生格式 | 可在 draw.io 中打开编辑 |
.svg | 矢量图 | 可直接插入文档、PPT、网页 |
工作流程
用户描述需求 → 解析机器人类型 → 读取流程模板 →
计算布局坐标 → 生成draw.io XML → 输出.drawio + .svg
与三大智能体的协作
- 老师Agent: 框选教学中引用流程图,标注框选位置
- 资产Agent: 流程图作为作业配套交付物
- 破障Agent: 在流程图中标注ID注入点位置
依赖项
- Python 3.9+
drawsvg库(用于SVG生成):pip install drawsvg- 或直接使用内置模板生成纯XML(无需额外依赖)