Skip to content
Image Generation
Skill

/punk-cover

Generate localized cover images and reusable image prompts from the shared Punk style library for articles, Xiaohongshu notes, WeChat public account posts, X posts, Instagram, Facebook, LinkedIn, YouTube, TikTok, Pinterest, Snapchat, Reddit, Threads, Bluesky, Medium, topic

From plugin
punk-posters
1.5k3 skills

Claude Code

$ npx -y skills add adrianpunk/punk-posters --skill punk-cover --agent claude-code

SKILL.md

punk-cover.SKILL.md
name: punk-cover
description: Generate localized cover images and reusable image prompts from the shared Punk style library for articles, Xiaohongshu notes, WeChat public account posts, X posts, Instagram, Facebook, LinkedIn, YouTube, TikTok, Pinterest, Snapchat, Reddit, Threads, Bluesky, Medium, topic drafts, and requests for covers, social cover images, poster prompts, style-template-based image prompts, or image generation from long-form text. Use this skill to analyze source content, resolve unsupported ratios to the closest available generation ratio, select a localized visual style, save the final prompt, and generate the image when an image-generation tool is available.

Punk Cover

Core Rule

`punk-cover` is a cover-generation workflow, not a style owner. Select exactly one reusable style from the repository-level `styles/` library, then compile that style atom into the cover shape.

The workflow is localized. Detect the host system language/locale before presenting choices: use Chinese mode for `zh`, `zh-CN`, `zh-TW`, or another Chinese locale; use English mode for other locales. The user may explicitly override this with `中文`, `English`, or `中英双语`. In the selected mode, localize platform labels, style names, questions, notices, and generated supporting text. The source title and any user-provided proper nouns remain unchanged unless the user asks for translation.

The final image prompt is not a loose concatenation of "cover instructions + style instructions". It must be one integrated, cover-specific prompt that applies the selected style to the cover format.

Use three inputs:

1. `punk-cover` task fields: platform, requested aspect ratio, resolved generation ratio, language mode, optional output dimensions and output mode, title clarity, article summarization, cover communication goals, and universal output constraints. 2. The selected style's `META.md` metadata and `STYLE.md` reusable visual style atom. 3. `references/cover-prompt-blueprint.md`, which defines the full cover prompt shape.

The style file defines the reusable visual language. The cover blueprint defines the output form. The final prompt must fuse them into one complete cover-generation prompt.

Text-free style exception

When the selected style metadata declares `text_policy: none`, its no-text rule overrides every generic title, subtitle, typography, label, and missing-title requirement in this workflow and the cover blueprint. Keep the topic and core meaning as semantic inputs only; remove title hierarchy and text-rendering instructions from the compiled prompt. Do not add a title to make the cover "readable". Language mode still controls interaction and prompt prose.

Accept `古典油画 · 极简视觉隐喻`, `Classical Oil Painting Minimal Metaphor`, its style ID, or a complete matching classical-oil-painting/pure-white/text-free metaphor brief as explicit selection. Read its `META.md` and `STYLE.md`. For this explicitly selected style only, if neither platform nor ratio is supplied, use its default requested ratio `5:2` without a platform question, then apply the existing ratio-resolution/disclosure rules. Explicit platform, ratio, or dimensions take precedence. Article-only input without a selected style keeps the usual confirmation gate.

Resources

  • Read `references/style-catalog.md` to list or choose cover styles.
  • Read `references/platform-catalog.md` before presenting platform choices or resolving an aspect ratio.
  • Read `references/cover-prompt-blueprint.md` before composing the final prompt.
  • For the selected style, read both:
  • `../../styles/{style-id}/META.md`
  • `../../styles/{style-id}/STYLE.md`
  • Only expose styles whose `META.md` metadata has `outputs` containing `cover` or `poster`.
  • Do not expose photo, avatar, portrait, pet-only, polaroid-only, or image-remix styles in the `punk-cover` menu unless their metadata explicitly includes `cover` or `poster`.
  • Do not use legacy cover templates. Use only the selected style's `META.md`, `STYLE.md`, and `references/cover-prompt-blueprint.md`.

Workflow

1. Analyze the source material:

  • Extract the core visual subject.
  • Preserve the complete user title or topic when one exists, but do not copy the full article body into any output field.
  • Draft an optional subtitle when the selected style has a subtitle field.
  • Summarize context, audience, mood, metaphor, and banned elements.
  • Convert long source material into concise derived fields: title/topic, 1-3 sentence context summary, visual subject, audience, mood, metaphor, and banned elements.

2. Confirm platform and aspect ratio before generating any prompt:

  • Resolve the language mode from the host system before presenting this localized menu.
  • Use `references/platform-catalog.md` for the localized platform menu and the complete platform-to-ratio mapping.
  • Keep both the user's requested ratio and the resolved generation ratio in the task fields.
  • For an unsupported requested ratio, automatically resolve to the numerically closest supported generation ratio. State in the active language mode that only the closest ratio can be generated, then use that resolved ratio directly; do not ask the user to choose another ratio.
  • The X request `5:2` resolves to `21:9`.
  • The WeChat public account request `2.35:1` resolves to `21:9`.
  • Custom supported ratios are preserved; custom unsupported ratios use the same nearest-ratio rule.
  • If the user only provides source content, ask which platform they want to publish to. Do not generate the prompt yet.
  • If the user provides a custom ratio, resolve it as above and do not ask for platform unless the platform matters for wording.
  • If the user provides exact width × height without a ratio, derive and preserve that ratio. If explicit dimensions and an explicit ratio conflict, ask which one should control before generating.
  • Default to a single image. If the user explicitly requests a multi-size suite
Read more
@adrianpunk
Ships withpunk-posters

Punk Skill 是一组给 AI Agent 使用的视觉生成 Skills。安装后,可以用它把文章生成封面图,或把人物、宠物、物品照片生成头像图。

Stars on GitHub

Momentum

stars in total
1.5k
Star history of adrianpunk/punk-skill on GitHub, a chart by star-history.com

Other skills on punk-posters.

punk-avatar

punk-avatar

Generate avatar images, surreal paper-art portraits, and reusable image prompts from the shared Punk style library for people,…

punk-ip-video-cover

punk-ip-video-cover

从上传人物照片提取四个颜色并搭配,抠出真人,按主题与标题自由构图,制作小红书人物 IP 视频封面;从独立库选择字体、材质与装饰风格,允许动作表情修改,支持 3:4、16:9、4:3、9:16 和多个版本。也用于接入新风格和编写封面提示词。

More skills from other plugins.

Questions about punk-cover.

Which coding agents can use punk-cover?
punk-cover installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.