export-likec4-png-white

Export LikeC4 diagrams to PNG with a white background.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/Tirael/cursor-template --skill export-likec4-png-white
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: export-likec4-png-white
Source: https://github.com/Tirael/cursor-template/tree/main/.cursor/skills/export-likec4-png-white
Command: npx skills add https://github.com/Tirael/cursor-template --skill export-likec4-png-white

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill exports LikeC4 diagrams to PNG with a white background for publishing and documentation, ensuring crisp visuals without transparency issues.

Core Features & Use Cases

  • White-background PNG export: Produces PNGs suitable for print and slides.
  • Workflow integration: Rebuilds diagram PNGs after model changes by using the project's LikeC4 export script.
  • Use Case: A designer needs printable diagram PNGs with a clean background for a client presentation.

Quick Start

Run the export_png_white.py script from the repository root to generate PNGs with a white background.

Frequently Asked Questions about export-likec4-png-white

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I export LikeC4 diagrams to PNG with a white background?

To export LikeC4 diagrams to PNG with a white background, run the export_png_white.py script from the repository root. This generates publication-ready PNGs by validating the model and applying a light theme with white background processing.

Why do my LikeC4 PNG exports have transparency issues for documentation?

LikeC4 PNG exports have transparency issues because the default export may not apply a solid background. This Skill resolves the issue by applying a white background to the resulting PNGs, ensuring crisp visuals without transparency problems for print and slides.

Can I batch export LikeC4 diagrams to PNG after model changes?

Yes, you can batch export LikeC4 diagrams to PNG after model changes. The Skill integrates into your workflow by validating the updated model with likec4 validate and exporting all diagrams using the project's LikeC4 export script.

What is the best way to prepare LikeC4 diagrams for presentation slides?

The best way to prepare LikeC4 diagrams for presentation slides is exporting them to PNG with a white background. This Skill produces clean, print-suitable visuals by running likec4 export png --theme light and applying a solid white background to the output.

Does the LikeC4 PNG export script require any special dependencies?

The LikeC4 PNG export script requires no special dependencies. It operates by running the export_png_white.py script in your repository root to validate the LikeC4 model and apply a white background to the resulting PNG files.

What LikeC4 commands are used to validate and export diagrams to PNG?

The LikeC4 commands used are likec4 validate src/c4 to validate the model and likec4 export png --theme light -o ./png src/c4 to export the diagrams. The script then applies a white background to the resulting PNGs for publication.