blog-figure
Installation
SKILL.md
Blog Figure Generator
Generate Neo-Brutalism styled figure images for blog posts: HTML → browser → PNG.
Workflow
- Understand context: Read blog MDX/MD or user description to decide what to visualize
- Content Brief: Extract the core concept to visualize and present to user for confirmation (see Content Brief below)
- Suggest patterns: Based on the confirmed brief, pick the 4 most fitting patterns from 30 available, and present them via
AskUserQuestionwith ASCII art previews (see Pattern Selection below) - Create HTML: Before writing HTML, read
references/design-rules.mdfor all design constraints. Write standalone HTML to/tmp/blog-figure-{name}.htmllinkingassets/figure.css - Capture PNG: Open in browser, screenshot at 1440×810, save PNG
- Save to project: Move PNG to
apps/content/src/content/blog/images/{slug}/ - Insert into document: If user provided a
.mdor.mdxfile, insert the image tag at the contextually correct location (see Document Insertion below) - Verify: Read the saved PNG to visually confirm
Content Brief
패턴을 고르기 전에, 블로그에서 시각화할 핵심 개념을 추출하여 사용자에게 확인받는다. Figure의 내용이 블로그와 동떨어지거나 너무 추상적이 되는 것을 방지하는 핵심 단계.