← ClaudeAtlas

cankun-blog-previewlisted

Generate and integrate exactly one article preview image for cankun-blog by inferring one visual metaphor from a target MDX post, maintaining the Franklin Booth-inspired neutral-white series, updating the prompt manifest, creating the 2000×800 PNG original, running the repository optimizer for the 1400×560 WebP, wiring bilingual alt text and the full-resolution link, validating, and optionally publishing. Use when the user asks to add, make, generate, refresh, replace, or remake a preview, hero, or cover image for one existing or newly added cankun-blog article.
Wang-Cankun/cankun-skills · ★ 2 · AI & Automation · score 76
Install: claude install-skill Wang-Cankun/cankun-skills
# Generate one Cankun blog preview Treat one article slug, including its English and Chinese MDX pair, as the complete transaction. Never turn a single-article request into an archive-wide regeneration. ## Preflight 1. Confirm the workspace is `cankun-blog` and contains: - `content/files/` - `content/preview-image-prompts.md` - `public/images/` - `scripts/optimize-previews.ts` 2. Resolve exactly one target slug. If the user did not name it, select it only when exactly one English MDX article lacks preview metadata; otherwise ask which article. 3. Inspect `git status` and preserve unrelated changes. 4. Check whether the target already has a preview PNG or WebP. Overwrite it only when the user explicitly asked to refresh, replace, remake, or restyle it; otherwise report the existing asset and stop. 5. Remember that `bun run previews` scans every `public/images/**/*-preview.png`. Check for unrelated stale sources before running it; stop and report a scope conflict if the command would regenerate another article's WebP. ## Read the sources of truth Read the target English article fully. Read its Chinese pair when present so the alternative text can be localized accurately. Read these repository-owned sources rather than copying their contents into this skill: - `content/preview-image-prompts.md` — current series contract and per-article prompts. - `public/images/shape-of-not-knowing/known-unknowns-preview.png` — visual style anchor. - `scripts/optimize-previews