blog-cover-poster
하는 일
이 스킬은 블로그 글이나 메모로 표지 이미지와 슬라이드 이미지 시리즈를 만듭니다. 글을 위한 시각 콘텐츠가 필요한 작가와 소셜 미디어 제작자를 위한 것입니다.
사용하는 경우
- ✓블로그 글이나 소셜 글을 위한 표지 이미지와 콘텐츠 슬라이드가 필요할 때.
- ✓소셜 미디어 캐러셀용 세로형 이미지 세트가 필요할 때.
- ✓자료의 핵심 내용을 설명하는 슬라이드를 원할 때.
스킬 링크
https://github.com/digoal/blog/blob/master/skills/blog-cover-poster/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 데이터베이스 백업 블로그 글을 표지 한 장과 세로형 슬라이드 다섯 장으로 바꿔 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 핵심 내용마다 슬라이드 한 장을 계획하고, 각 슬라이드의 HTML 페이지를 쓴 뒤, 헤드리스 브라우저로 정확한 크기의 PNG 이미지로 렌더링합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Blog Cover Poster
Overview
Generate a cover image (1.png) plus N coherent content slides (2.png, 3.png, …) from source material. Each image is an exact 1080×1920 PNG. The pipeline authors one HTML file per page using bundled CSS/templates, then renders them to PNG with headless Chrome — this gives precise control over Chinese/English typography, color semantics, and emphasis.
Workflow
- Read the source. Take the file/text the user provides. Extract the title/hook and the core points. Verify facts against the source only — do not invent stats, names, or claims that aren't in the material.
- Plan the deck (do this before writing any HTML):
- Pick a theme:
theme-dark(tech / AI / finance / dev topics) ortheme-light(knowledge / tutorial / lifestyle / business explainer). Default to the topic fit; honor an explicit user request. - Decide page count automatically from the number of distinct core points: cover + one slide per point. Typical total is 4–8 images. Merge thin points; split overloaded ones. One idea per content slide.
- Sketch a one-line outline:
1 cover → 2 <point> → 3 <point> …. If the user gave a fixed count, follow it.
- Pick a theme:
- Set up a scratch working dir — author intermediate HTML/CSS here, not in the source directory and not littering the project dir:
Author pages asWORK=$(mktemp -d) cp <SKILL_DIR>/assets/poster.css "$WORK"/$WORK/page-1.html(cover),$WORK/page-2.html, … using the templates as a starting point (see Authoring pages). The relative<link href="poster.css">resolves because the CSS sits beside them. - Render PNGs into the current project directory (
$PWD— where the user invoked the skill), never the source file's directory:
This writespython3 <SKILL_DIR>/scripts/render.py --in "$WORK" --out "$PWD"1.png,2.png, … (exact 1080×1920) into$PWD.page-1.htmlalways becomes the cover1.png. If the user names a different output dir, use that instead — but default to$PWD. - Inspect every PNG with the Read tool. Check the checklist below. Fix the HTML in
$WORKand re-render until clean. - Clean up the scratch dir (
rm -rf "$WORK"). Only theN.pngfiles remain in the project dir — that is the deliverable. The source directory is never touched.
Authoring pages
Start from the templates and edit — don't write markup from scratch:
assets/template-cover.html→page-1.htmlassets/template-content.html→page-2.html,page-3.html, …
Keep the same theme-* class on <body> across all pages.
Content-slide layouts
The content template ships three layout blocks — keep one per page, delete the rest:
- Points (
ul.points): 2–4 scannable items, best default for "reasons / steps / features". - Paragraph (
.body): 2–3 short sentences for a concept that needs prose. - Big stat (
.stat): one large number for a data point that deserves a full slide.
Emphasis rules (semantic coloring & sizing)
Emphasis must track meaning and importance, not decoration:
.hl/.hl2— filled color chip. At most ONE per page, on the single most important term..hl2(warm) for contrast/warning/payoff;.hl(cool) otherwise..ul— underline. Softer emphasis, for 1–2 secondary terms..accent— colored text, for the lead word of each list item..muted— de-emphasized text (subtitles, footers, labels).- Type hierarchy is pre-tuned in the CSS: cover title 132px, content heading 84px, body 50–52px. Bigger = more important. If text overflows the 1920px height, cut words or split into another slide — do not shrink below the template sizes.
Copywriting for posters
- Cover title: a punchy hook, ≤ ~14 CJK chars per line, ≤ 2 lines.
- Content headings: short, one idea. Content body: fragments over full paragraphs — these are read in seconds.
- Number the deck in the content
.index(e.g.01 / 05) so the series reads as coherent.
Verification checklist (per image)
- Size is exactly 1080×1920 (render.py enforces & prints this).
- No text is clipped at edges or overflows the bottom.
- Exactly one filled highlight chip per page, on the right term.
- Emphasis reflects the actual key point, not random words.
- Theme is consistent across all pages; contrast is readable.
- Content slides read as a coherent, ordered series (indices match count).
- Every claim traces t
자주 묻는 질문
이미지 크기는 어떻게 되나요?
각 이미지는 정확히 1080 x 1920 픽셀의 PNG입니다.
이미지는 몇 장 나오나요?
핵심 내용 수에 따라 다르며, 보통 네 장에서 여덟 장 사이입니다.
사실을 덧붙이나요?
아니요. 이 스킬은 원본 자료에 대해서만 사실을 확인하라고 안내합니다.
상세 정보
작성자의 원본 설명
Turn a blog post, article, notes, or any source material into a set of vertical poster images — one cover plus several coherent content slides that explain the core points. Renders HTML/CSS to exact-size PNGs via headless Chrome. Use whenever the user wants cover art, 讲解图/配图, carousel slides, 封面图, poster series, or "content images" from an article/文章/素材/文件, especially for blog, 公众号, 小红书, or social posts. Default output is 1080×1920 PNG named 1.png (cover), 2.png, 3.png … written to the current working directory (the project the user is in) — never the source file's directory.
repo: digoal/blog
인기도
- GitHub 스타
- 8.6k
- 순위
- #12352
- 라이선스
- GPL-2.0
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
article-to-podcast-script
8.6kMarkdown 글을 1인칭 팟캐스트 대본으로 바꿔, 화자 1명부터 4명까지 텍스트 파일로 저장하도록 돕습니다. 기본 언어는 중국어입니다.
axiom-explainer
8.6k하나의 관점, 법칙, 이론을 설명하는 명확한 중국어 글을 쓰도록 돕습니다. 예시, 한계, 간단한 다이어그램을 포함합니다.
buffett
8.6k워런 버핏의 해자, 경영진, 안전마진에 대한 생각을 활용해 기업과 주식에 대한 결정을 신중하게 검토하도록 돕습니다.
daily-finance
8.6k현재의 신뢰할 수 있는 출처를 바탕으로, 확인된 수치와 링크를 담은 매일의 금융 뉴스 요약을 작성합니다.