taiyi-diagram-render
TaiyiForge 辅助 — 将 C4/architecture Mermaid 渲染为 SVG/PNG(视觉审查 · 不改架构边界)。OpenCode / Claude / Codex / Cursor 通用。
Skill by Dong90
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/dong90-taiyi-diagram-render
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/taiyi-diagram-render
What's inside
- Skill name
taiyi-diagram-render- Description
- TaiyiForge 辅助 — 将 C4/architecture Mermaid 渲染为 SVG/PNG(视觉审查 · 不改架构边界)。OpenCode / Claude / Codex / Cursor 通用。
- License
- MIT
- Instructions
- 91 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# taiyi-diagram-render ## 目的 以 **上游 C4 或 architecture.md 的 Mermaid 为真源**,导出可读 **SVG**(默认)或 PNG,并做排版自检——**禁止重新扫描代码或改组件边界**。 ## 何时使用 | 时机 | 说明 | |------|------| | 架构流水线 **第 3 步** | `/taiyi:diagram-pipeline` 自动调用 | | C4/architecture 已写好,要预览图 | 单独 `/taiyi:diagram-render` | | 评审/对外文档需要图片 | design 或 docs 维护 | ## 外部 Skill(可选增强) 若已安装 **`diagramming-architecture`**(architecture-diagram-skill),进入 **仅 Mermaid 模式 + 渲染约束**(见下方);未安装则用本仓库 `render-mermaid.mjs` + Agent 目视检查。 ```bash git clone --depth 1 https://github.com/robertanton81/architecture-diagram-skill.git /tmp/arch-diag mkdir -p ~/.cursor/skills/diagramming-architecture cp -r /tmp/arch-diag/skill/* ~/.cursor/skills/diagramming-architecture/ ``` ## 输入(真源,分目录) | 源 | 导出目录 | |----|----------| | `c4/context.md` · `c4/containers.md` | `c4/png/*.svg` | | `diagrams/architecture.md` | `diagrams/png/*.svg`(**勿**写入 `c4/png/`) | 变更内路径前缀:`.taiyi/changes/<slug>/diagrams/`;仓库级:`docs/`。 ## 输出 | 范围 | 路径 | |------|------| | 变更内 C4 | `diagrams/c4/png/*.svg` | | 变更内工程图 | `diagrams/png/*.svg`(可选) | | 仓库级 C4 | `docs/c4/png/*.svg` | | 仓库级工程图 | `docs/diagrams/png/*.svg`(可选) | 导出说明见 [`docs/diagrams/pipeline.md`](../../docs/diagrams/pipeline.md)「导出图」节(**不再维护 RENDER.md**)。 **mark-aux**:`scripts/taiyi-forge.sh mark-aux <slug> taiyi-diagram-render`(变更内且 `diagrams/c4/png/context.svg` 已生成)。 ## 执行步骤 1. **读真源**:确认 Observed/Inferred 不在此步修改 2. **提取** 每个 ` ```mermaid ` 代码块 3. **导出 C4**(默认 SVG): ```bash node scripts/render-mermaid.mjs docs/c4/context.md --format svg --out docs/c4/png/ node scripts/render-mermaid.mjs docs/c4/containers.md --format svg --out docs/c4/png/ 4. **可选:工程补充图**: ```bash node scripts/render-mermaid.mjs docs/diagrams/architecture.md \ --format svg --out docs/diagrams/png/ ``` 5. **高质量 / 视觉审查**(已装 diagramming-architecture 时): - 禁止 `analyze_codebase.py` - `mmdc` 加 `-w 3200 -H 2400 -s 2` 与白底 - 按 Visual Review checklist 迭代 ≤3 轮(重叠、箭头乱、过挤) 6. **mark-aux**(变更内) ## 约束 prompt(接 diagramming-architecture 时必用) ```text 以 <source.md> 为架构真源;禁止 analyze_codebase.py 或改组件边界。 任务:提取 mermaid → mmdc SVG → Visual Review ≤3 轮 ``` ## 质量自检 - [ ] SVG 与真源 mermaid 一一对应 - [ ] 未新增/删除架构节点(仅排版) - [ ] C4 导出在 `c4/png/`,工程图在 `diagrams/png/` ## 流水线位置 ``` /taiyi:diagram-c4 → /taiyi:diagram-arch → /taiyi:diagram-render ``` 总命令:`/taiyi:diagram-pipeline`
From Dong90/oh-my-taiyiforge, MIT.
More from Dong90/oh-my-taiyiforge
- 0.712score
taiyi-orchestrator
Dong90
TaiyiForge 统一入口 — 意图解析、阶段路由、Token预算、工件预检。Use when 用户说"开始/继续/审查/测试/设计"等流程相关意图。
SkillCFreshness: C★ 859Claude Code +9 - 0.710score
taiyi-compress
Dong90
TaiyiForge 辅助 — Token 压缩编排:/taiyi:token compress + Superpowers subagent + ECC strategic-compact / handoff。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-ultrawork
Dong90
TaiyiForge ultrawork — 并行切片 + Cursor Task 自动派发契约(对标 OMC ultrawork + spawn_agent)
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-reanalyze
Dong90
TaiyiForge 辅助 — 重新理解已有需求工件,找出矛盾、缺口、歧义。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-plan
Dong90
TaiyiForge /taiyi:plan — 项目规划入口:把 README/PRD 拆解为独立 change 清单,推荐 profile 和依赖关系。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-diagram-c4
Dong90
TaiyiForge 辅助 — 从代码反推 C4 架构文档(Observed/Inferred 分层 · Mermaid 真源)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-diagram-pipeline
Dong90
TaiyiForge 辅助 — 架构图三步流水线编排(C4 真源 → 工程图同步 → PNG 渲染)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-diagram-flow
Dong90
TaiyiForge 辅助 — 业务流程图 / 状态机 / 序列图(Mermaid flowchart)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-evolve
Dong90
TaiyiForge 辅助 — 实现后架构与文档同步(architecture-sync)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-restyle
Dong90
TaiyiForge 辅助 — UI 视觉改版任务清单(ui-restyle-tasks)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-architect
Dong90
TaiyiForge 辅助 — 架构决策记录 ADR(长期影响决策的可追溯补充)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.703score
taiyi-change
Dong90
TaiyiForge 第1阶段 — 变更提案,CHANGE.md。四端通用。
SkillCFreshness: C★ 859Claude Code +9
Signals
- Stars
- 859
- Forks
- 22
- Open issues
- 1
- Last commit (this folder)
- Jun 8, 2026 (4 months ago)
- Last release
- Jul 15, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Dong90/oh-my-taiyiforge
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Dong90
- 0.712score
taiyi-orchestrator
Dong90
TaiyiForge 统一入口 — 意图解析、阶段路由、Token预算、工件预检。Use when 用户说"开始/继续/审查/测试/设计"等流程相关意图。
SkillCFreshness: C★ 859Claude Code +9 - 0.710score
taiyi-compress
Dong90
TaiyiForge 辅助 — Token 压缩编排:/taiyi:token compress + Superpowers subagent + ECC strategic-compact / handoff。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-diagram-pipeline
Dong90
TaiyiForge 辅助 — 架构图三步流水线编排(C4 真源 → 工程图同步 → PNG 渲染)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-diagram-c4
Dong90
TaiyiForge 辅助 — 从代码反推 C4 架构文档(Observed/Inferred 分层 · Mermaid 真源)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-architect
Dong90
TaiyiForge 辅助 — 架构决策记录 ADR(长期影响决策的可追溯补充)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9 - 0.706score
taiyi-diagram-flow
Dong90
TaiyiForge 辅助 — 业务流程图 / 状态机 / 序列图(Mermaid flowchart)。OpenCode / Claude / Codex / Cursor 通用。
SkillCFreshness: C★ 859Claude Code +9
Cite this page
taiyi-diagram-render skill. Agent Mart. https://agentmart.dev/skills/dong90-taiyi-diagram-render (last updated 2026-10-24)