Agent skill

4drawio

数学建模非数据型图示绘制阶段。根据 ANALYSIS_MODELING_REPORT.md、RESULTS_REPORT.md 和已有 figures/ 生成技术路线图、子问题求解流程图、模型结构图、数据处理流程图等 DrawIO 图,并导出论文可引用 PDF。

jihe520github.com/jihe520GitHub ↗
claude-codecan modify files
Install
npx skills add jihe520/MathModelAgent --skill 4drawio --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Allowed tools: Bash(*)ReadWriteEditGrepGlobAgentWebSearchWebFetch
Path: skills/4drawio/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 3,177
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# DrawIO 非数据图示绘制 本 skill 承接 `3coding-visual`。它只负责论文中的**非数据型图示**,例如技术路线图、求解流程图、模型结构图、数据处理流程图、变量关系图、指标体系图等。 ## 数学建模规范参考 如需领域判断,读取 `../_references/math_modeling_norms.md` 中的“图表与可视化”和“非数据图工具选择”小节。该文件只作为规范知识库,不要求为了凑数量生成额外图示。 ## 阶段边界 - 本阶段负责:DrawIO 源文件、非数据图 PDF、图示生成记录。 - 本阶段不负责:折线图、柱状图、散点图、热力图、箱线图、雷达图等数据图。这些由 `3coding-visual` 生成。 - 本阶段不重跑模型、不修改 `code/`,不改写 `reports/RESULTS_REPORT.md` 的数值结论。 ## 必须产出 在当前工作目录创建或更新: ```text figures/ fig_roadmap.drawio fig_roadmap.pdf fig_flow_q1.drawio fig_flow_q1.pdf ... reports/DRAWIO_REPORT.md ``` 如果某类图不需要生成,必须在 `reports/DRAWIO_REPORT.md` 中说明原因。竞赛论文通常至少需要一张 `fig_roadmap` 技术路线图。 读取这些文件的目的不是提取数据作图,而是理解论文方法、章节结构、子问题关系和已有图表,避免重复。 ## 工作流程 ### Step 1: 盘点已有图表和需求 先读取以下文件(存在则读取):`reports/ANALYSIS_MODELING_REPORT.md`、`reports/RESULTS_REPORT.md`、`figures/` 目录列表。 然后从前序文档提取非数据图需求,输出一个清单: ```text DRAWIO PLAN CHECKLIST: [ ] fig_roadmap 技术路线图,放在问题重述/绪论 [ ] fig_flow_q1 问题一求解流程图 [ ] fig_flow_q2 问题二求解流程图 [ ] fig_flow_q3 问题三求解流程图 [ ] fig_pipeline 数据处理流程图 [ ] fig_model 模型结构/变量关系图 ``` 清单不是固定模板,要根据题目实际删减或增补。不要为了凑图生成无意义图示。 ### Step 2: 判定图类型 常见图示选择: | 图类型 | 文件名建议 | 适用场景 | | --- | --- | --- | | 技术路线图 | `fig_roadmap` | 展示整体解题路线、章节逻辑、方法串联 | | 子问题求解流程图 | `fig_flow_q1`, `fig_flow_q2`

What's inside
Steps it walks through
  1. 数学建模规范参考
  2. 阶段边界
  3. 必须产出
  4. 工作流程
  5. Step 1: 盘点已有图表和需求
  6. Step 2: 判定图类型
  7. Step 3: 生成 DrawIO 源文件
  8. Step 4: 导出 PDF
  9. Step 5: 自检和修复
  10. Step 6: 写生成记录
  11. 质量要求
Commands it runs
mkdir -p figures
cat << 'XMLEOF' > figures/fig_roadmap.drawio
if [ -n "$DRAWIO_BIN" ]; then
else
echo "DrawIO command not found; keep .drawio source and record export failure."
fi
More from MathModelAgent
All skills →
About this skill
What does the 4drawio skill do?

数学建模非数据型图示绘制阶段。根据 ANALYSIS_MODELING_REPORT.md、RESULTS_REPORT.md 和已有 figures/ 生成技术路线图、子问题求解流程图、模型结构图、数据处理流程图等 DrawIO 图,并导出论文可引用 PDF。

How do I install it?

Run `npx skills add jihe520/MathModelAgent --skill 4drawio --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From jihe520/MathModelAgent, a repository with 3,177 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going