en un clic
content-infographic
// Generate SVG and HTML infographics with brand-aware design. Use when user wants to create an infographic, data visualization, process flow, comparison chart, stat card, or visual data summary.
// Generate SVG and HTML infographics with brand-aware design. Use when user wants to create an infographic, data visualization, process flow, comparison chart, stat card, or visual data summary.
Content studio with brand consistency. Use this skill whenever the user wants to create content — blog posts, social media (X/Twitter, LinkedIn, Reddit, HN), presentations (Slidev/Reveal/Spectacle), infographics, image prompts, video scripts (Remotion), editorial calendars, or content audits. Also triggers on brand setup, voice profiling, content repurposing, and content strategy. Covers any request involving writing, publishing, visual content creation, or content planning. Even if the user doesn't say "content" explicitly — if they're asking to write a blog post, create slides, draft a thread, plan a content calendar, or check content quality — use this skill.
Content quality audit with anti-slop detection and brand consistency scoring. Use when user wants to check content quality, audit a draft, score content, verify brand consistency, detect AI-generated patterns, or run a quality check before publishing.
Long-form blog post generation with brand voice integration and anti-slop enforcement. Use when user wants to write a blog post, article, tutorial, case study, opinion piece, deep dive, or listicle.
Editorial calendar planning and content scheduling. Use when user wants to plan a content calendar, create a publishing schedule, organize content across platforms, or plan a content series.
Hacker News post generation for Show HN, Ask HN, and submissions. Use when user wants to post to Hacker News or write a Show HN/Ask HN post.
Image prompt engineering for AI image generation models. Use when user wants to generate images, create image prompts, or optimize prompts for DALL-E, Midjourney, Stable Diffusion, or other image generation tools.
| name | content-infographic |
| description | Generate SVG and HTML infographics with brand-aware design. Use when user wants to create an infographic, data visualization, process flow, comparison chart, stat card, or visual data summary. |
Generate production-ready SVG and HTML infographics that are brand-aligned, accessible, and optimized for web, print, and social media embedding. This skill produces visual assets, not presentations or documents.
Always default to SVG output unless the user requests otherwise. SVG advantages:
<title>, <desc>, and aria-label attributes for screen readers.When to use HTML instead of SVG:
Read these files if they exist:
brand/VISUAL.md -- colors, fonts, logo rulesbrand/BRAND.md -- identity, audience (affects visual tone)Extract:
If brand/ is missing, ask for 2-3 colors and proceed with a clean default style.
Before designing anything, understand what needs to be communicated:
Ask clarifying questions if the user provides raw data without context.
Based on the data type and key insight, select the appropriate template type:
| Data Type | Template | When to Use |
|---|---|---|
| Quantitative comparison | data-viz | Bar charts, line charts, pie charts, metrics |
| Sequential steps | process-flow | Workflows, how-it-works, timelines, pipelines |
| Side-by-side evaluation | comparison | Versus, pros/cons, feature matrix, before/after |
| Single key metric | stat-card | Hero numbers, KPI highlights, social sharing |
See templates/ for each template type.
Build the SVG following these principles:
<style> inside the SVG or use web-safe fallbacks.<title> for the infographic name, <desc> for a plain-text summary.Before delivering, check:
See design-principles.md for the full reference. Key rules:
Every visual element should encode data. Remove anything that does not:
Three levels maximum:
Whitespace is not empty space -- it is structure. Use it to:
Align elements to an invisible grid. Misaligned elements create visual noise. In SVG, use consistent x/y coordinates and spacing values.
templates/data-viz.svg.template)For quantitative data: bar charts, line charts, donut charts, area charts.
Key rules:
templates/process-flow.svg.template)For sequential information: workflows, how-it-works diagrams, timelines, pipelines.
Key rules:
templates/comparison.svg.template)For side-by-side evaluation: versus layouts, feature matrices, pros/cons, before/after.
Key rules:
templates/stat-card.svg.template)For single key metrics: hero numbers, KPI highlights, social media sharing.
Key rules:
If brand/logo/logo-mark.svg exists, embed it in the infographic:
<g transform="translate(1120, 750)" opacity="0.5">
<!-- Contents of logo-mark.svg pasted here -->
</g>
Placement: bottom-right corner by default. Adjust position based on layout. Size: approximately 5-8% of the infographic width. Opacity: 40-60% so it does not compete with the data.
| Format | When to Use | How |
|---|---|---|
.svg file | Web embed, presentation slide, further editing | Direct SVG output |
| Inline SVG in HTML | Blog post embed, email | SVG wrapped in <div> with responsive CSS |
| HTML + CSS | Interactive infographic | HTML structure with CSS styling and optional JS |
For social media, suggest the user render the SVG to PNG at 2x resolution using a tool like svgexport or a browser screenshot.