process-infographic — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited process-infographic (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Generate step-by-step process infographics as PNG by writing HTML+CSS and rendering through Chrome headless. Each infographic is a self-contained HTML file with numbered steps, titles, and descriptions arranged in a vertical timeline, horizontal phases, or grid layout.
The output is a static PNG suitable for blog posts, documentation, and presentations. No external images, no JavaScript, no server-side rendering.
Process infographics turn multi-step procedures into scannable visual flows. Use this skill when the content has a clear sequence: deployment pipelines, onboarding steps, request lifecycles, data transformation stages, or any numbered process.
What this skill produces:
When to use this skill:
Extract process steps from the source content. Each step needs:
If the source content has headings or numbered items, use those directly. If the content is prose, distill it into discrete stages.
Choose canvas height based on step count:
| Steps | Width | Height | Layout |
|---|---|---|---|
| 3-4 | 1200 | 630 | Grid (2x2) or vertical |
| 5-6 | 1200 | 900 | Vertical timeline |
| 7-9 | 1200 | 1200 | Vertical with phases |
| 10+ | 1200 | 1500 | Vertical with phases, compact type |
General formula: height = 630 + (steps_above_4 * 135), capped at 1500.
Vertical timeline (default): Steps flow top-to-bottom with a left-aligned connecting line and numbered markers. Best for sequential processes.
Horizontal phases: Steps grouped into 3-5 horizontal columns. Each column is a phase with sub-steps. Best for parallel or categorized stages.
Grid: Equal-sized cards in 2 or 3 columns. Best for 4-8 steps with short descriptions where sequence matters less than completeness.
See references/infographic-patterns.md for complete CSS patterns.
Create a self-contained HTML file. Start from this boilerplate and adapt:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
width: 1200px;
height: 900px;
overflow: hidden;
font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
background: #ffffff;
color: #1a1a2e;
}
.container { padding: 48px 80px; }
.title { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.subtitle { font-size: 13px; color: #666; margin-bottom: 32px; }
.timeline {
position: relative;
margin-left: 18px;
padding-left: 32px;
border-left: 2px solid #d1d5db;
}
.step {
position: relative;
margin-bottom: 32px;
}
.step-marker {
position: absolute;
left: -49px;
top: 4px;
width: 36px; height: 36px;
border-radius: 50%;
background: #2d8659;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 14px;
}
.step-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.step-desc { font-size: 12px; color: #555; line-height: 1.5; }
</style>
</head>
<body>
<div class="container">
<div class="title">Process Title</div>
<div class="subtitle">Brief description of the flow</div>
<div class="timeline">
<div class="step">
<div class="step-marker">1</div>
<div class="step-title">Step Title</div>
<div class="step-desc">One-line description of what happens.</div>
</div>
</div>
</div>
</body>
</html>Key constraints:
body (width + height + overflow: hidden)@import<style> tagSave the HTML to tmp/ in the current project directory. Use a descriptive filename: tmp/deployment-pipeline.html, tmp/auth-flow.html, etc.
Run the screenshot script with the correct dimensions:
bash scripts/screenshot.sh tmp/infographic.html output/path/infographic.png 1200 900Pass the height as the 4th argument when using a taller canvas:
bash scripts/screenshot.sh tmp/infographic.html static/images/flow.png 1200 1200Read the generated PNG file to check:
Remove the temp HTML file after confirming the PNG is correct.
White background, dark text, green step markers:
#ffffff#1a1a2e#555555#2d8659 (green)#d1d5dbDark slate background, light text, cyan accents:
#0f172a#f1f5f9#94a3b8#06b6d4 (cyan)#334155Match the theme to the content tone. Technical infrastructure and devops topics suit dark themes. General tutorials and user-facing processes suit light themes.
For multi-stage processes, wrap steps under labeled phase headers:
<div class="phase-group">
<div class="phase-group-label">Phase 1: Setup</div>
<div class="step">...</div>
<div class="step">...</div>
</div>Phase headers use green underline and uppercase text:
.phase-group-label {
font-size: 11px;
font-weight: 700;
color: #2d8659;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 16px;
padding-bottom: 6px;
border-bottom: 2px solid #2d8659;
display: inline-block;
}| Problem | Likely Cause | Fix |
|---|---|---|
| Steps clipped at bottom | Canvas height too small | Increase body height or reduce step count |
| Text too small to read | Font size under 11px | Raise minimum font size to 12px |
| Step markers misaligned | position: absolute offset wrong | Adjust left on .step-marker (should be -49px with timeline padding) |
| Chrome not found | No browser in PATH | Install google-chrome or chromium |
| Blank white PNG | @import font failed, blocking render | Move @import to first line of <style> block |
| Scrollbar visible | Content overflows canvas | Increase height or reduce padding |
| Timeline line missing | border-left color too light | Use #d1d5db or darker |
| Item | Value |
|---|---|
| Canvas width | 1200px (fixed) |
| Canvas height | 630/900/1200/1500px (step-dependent) |
| Font | Inter, 400/700 |
| Step marker | 36px circle, #2d8659 fill |
| Step title | 16px bold |
| Step desc | 12px regular, #555 |
| Output format | PNG via Chrome headless |
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.