CV Architecture Diagram
Author hand-crafted Illustrator/PPT-grade CV network diagrams (Fig. 1 paradigms, Fig. 2 frameworks, module zoom-ins) at exact LaTeX print width (2 SVG units = 1 pt), free of Tailwind/SaaS dashboard artifacts.
Routing
- Use for CV/AI neural architectures, pansharpening/IVF/SR/restoration pipelines, Transformer/Mamba/Diffusion backbones, and module zoom-ins.
- Avoid for quantitative plots (use
vivid-illustration-skill), and never emit nested dashed SaaS cards,#000outlines, rainbow text/arrows, or Web icon badges.
Mandatory 5-Step Workflow
Skipping any step produces AI-looking diagrams—even under a tight deadline.
- Lock 1 Structural Prototype First: Pick exact
venue+layoutin references/conference-themes.md (cvpr/iccv495 pt,icml486 pt,neurips/iclr396 pt,eccv345.8 pt,tpami/tgrs515.5 pt). Open one primary real figure from references/examples/PAPERS_GALLERY.md (84 curated real papers, 44 pansharpening core) viaread_fileand lock its layout skeleton (vertical pill rhythm, container depth, whitespace, inline symbols)—not just its colors. See references/cv-paradigms.md for routing patterns. - Real Images First: Find real workspace dataset crops (
PAN/LRMS/HRMS/IR/VI/HR). If none exist, generate ONE realistic scene and physically derive alignedPAN(grayscale),LRMS(blurred/downsampled),LMS(upsampled), andHRMSviamagick/PIL, embedding withimage_card(..., img_path=...). Vectorproxy=...is a last-resort fallback only. - Compose with Hand-Crafted Restraint: Import
ArchCanvasandtensorsfrom~/.gemini/config/skills/cv-architecture-diagram/scripts/(fallback:scripts/) per references/primitives-catalog.md:- Pure-white canvas + ≤ 1 dashed nesting level (
stage_groupusesfill="none"+ inline crimson×N; usepanel_boxoncontainerslayer when routing internal sub-arrows). - 95% dark charcoal ink (
#1F2328) for text and fine arrows (1.25stroke,7.2head,junction_dot,op_node("-")), with ≤ 2 muted accent hues. - Borderless vertical pastel capsules (
vertical=True) + flat-swatchlegend_bar(defaultvariant="swatch"). Useicons.pystrictly on-demand (sparse borderlesssnowflake/flameonly).
- Pure-white canvas + ≤ 1 dashed nesting level (
- Render & Strict De-AI Audit: Run:
Fix all print & De-AI warnings (python3 ~/.gemini/config/skills/cv-architecture-diagram/scripts/render_and_audit.py \ fig2.svg --venue cvpr --layout double --dpi 300 --strict --de-ai< 6 pt,#000borders, overflow, dashed depth> 1,> 2accent hues,> 3badges, vector proxies) until exit0. - Mandatory Visual QA: Inspect the 300-DPI PDF-derived PNG via
read_file; refine overlaps and rhythm until publication-ready. Remove/tmpscratch files; deliver.pdf,.svg,.png,.py.
Red Flags — STOP and Fix
| AI Smell / Shortcut | Required Fix |
|---|---|
| Nested dashed cards / colored card-in-card | Pure-white canvas, <= 1 dashed stage_group(fill="none"). |
| Rainbow text/arrows matching box colors | 95% dark charcoal ink; <= 2 muted accents. |
| Circular Web badges or vector proxy houses | Drop decorative icons; embed real/derived photos via img_path=. |
| Copying palette without structural reference | Lock 1 skeleton in PAPERS_GALLERY.md (Pan-Mamba/ARNet/FDMamba). |
Skipping read_file on 300-DPI PNG | Always visually inspect the PDF-derived PNG before delivering. |