--> --- name: bio-svg-ui-templates description: Generate professional SVG UI panels for structured information display. Use when presenting lists, task checklists, pipeline/dependency status diagrams, or rich-text report layouts as SVG images. Covers four templates - list-panel, checklist-panel, pipeline-status, richtext-layout. Style is professional, business-oriented, academic-grade with Material Design color palette. tool_type: mixed primary_tool: Unknown measurable_outcome: Execute skill ...
Scanned 9/7/2026
Install to Claude Code
npx -y skills add mdbabumiamssm/LLMs-Universal-Life-Science-and-Clinical-Skills- --skill svg-ui-templates --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Svg Ui Templates?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/mdbabumiamssm-svg-ui-templates)More formats (shields.io, HTML) on the badges page.
<!--
# COPYRIGHT NOTICE
# This file is part of the "Universal Biomedical Skills" project.
# Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu>
# All Rights Reserved.
#
# This code is proprietary and confidential.
# Unauthorized copying of this file, via any medium is strictly prohibited.
#
# Provenance: Authenticated by MD BABU MIA
-->
---
name: bio-svg-ui-templates
description: Generate professional SVG UI panels for structured information display.
Use when presenting lists, task checklists, pipeline/dependency status diagrams,
or rich-text report layouts as SVG images. Covers four templates - list-panel, checklist-panel,
pipeline-status, richtext-layout. Style is professional, business-oriented, academic-grade
with Material Design color palette.
tool_type: mixed
primary_tool: Unknown
measurable_outcome: Execute skill workflow successfully with valid output within 15
minutes.
allowed-tools:
- read_file
- run_shell_command
---
> **Repository note:** Located at
> `repo/Skills/Research_Tools/Reporting/svg-ui-templates`. Pair with the sibling
> `feishu-rich-card` skill when turning the generated PNGs into Feishu cards.
# SVG UI Templates
Generate professional-grade SVG information panels optimized for horizontal (landscape) display.
## Templates
| Template | File | Use Case |
|----------|------|----------|
| **list-panel** | `assets/list-panel.svg` | 数据表格、参数列表、对比表 |
| **checklist-panel** | `assets/checklist-panel.svg` | 任务清单、进度追踪、TODO |
| **pipeline-status** | `assets/pipeline-status.svg` | 流程依赖图、阶段状态、里程碑 |
| **richtext-layout** | `assets/richtext-layout.svg` | 图文混排、报告摘要、数据简报 |
## Workflow
1. Read the appropriate template SVG from `assets/`
2. Replace `{{PLACEHOLDER}}` tokens with actual content
3. Adjust row count / node count by duplicating elements with y-offset
4. Adjust `viewBox` height if content exceeds default
5. Save final SVG → convert to PNG with cairosvg for messaging platforms
**For detailed placeholder lists, color system, and extension methods:** read `references/template-guide.md`
## Key Rules
- **viewBox width = 1200** (landscape, ~16:9). Adjust height as needed.
- **Font stack:** `'Inter','Helvetica Neue','Microsoft YaHei',sans-serif` — never change order.
- **Status colors:** Green=#43A047, Amber=#FF8F00, Grey=#90A4AE, Red=#E53935
- **Shadow filter** on all cards: `filter="url(#cardShadow)"` or equivalent id.
- **Row spacing:** duplicate row blocks with +56px (list) or +60px (checklist) y-offset.
- **PNG conversion:** `python3 -c "import cairosvg; cairosvg.svg2png(url='in.svg', write_to='out.png', output_width=2400)"`
- When sending via Feishu/WeChat, always convert to PNG first (SVG not rendered inline).
- **飞书图文卡片集成:** 生成 PNG 后,使用 `feishu-rich-card` skill 将图片嵌入飞书交互式卡片,实现图文混排汇报。参见 `../feishu-rich-card/SKILL.md`。
<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!