Punk cover

From adrianpunk/Punk-Skill · View interactive version

Punk cover is an AI agent skill from the GitHub repository adrianpunk/Punk-Skill. 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 c

How to use this skill

Skill file

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

Workflow

  1. Analyze the source material:
  1. Confirm platform and aspect ratio before generating any prompt:
  1. Confirm style before generating any prompt:
  1. Use this confirmation gate:
  1. Compile the final image prompt:
  1. Save files before image generation:
  1. Generate an image by default after saving the prompt when a usable image-generation tool is available, such as image_gen. Generate one independent image per target when the user explicitly requests a multi-size suite; otherwise generate one image. Treat inline preview generation as successful image generation, but treat local image saving as successful only when the tool explicitly exposes a current-run artifact. Skip image generation only when the user explicitly asks for prompt-only output or the current environment has no image-generation tool. If image generation is unavailable, return the prompt file path and the full prompt content.

First Response Format

For article-only input with no platform and no style, ask concisely in the active language mode:

  1. Which platform/aspect ratio should this cover target?
  1. Recommended styles:

End by asking the user to choose a platform and one style, or to say auto if they want the skill to decide everything. They may also choose 中文, English, or 中英双语 as the language mode.

Style Selection Heuristics

Cover Prompt Blueprint

Use references/cover-prompt-blueprint.md as the full prompt structure. The block below is retained only as the required task-field content that must be represented inside the integrated final prompt.

# punk-cover cover task instructions

Create one single cover image for {platform}. Requested aspect ratio:
{requested_ratio}. Generation aspect ratio: {generation_ratio}.
{ratio_resolution_notice}

Use the following derived content only:
- Title/topic: {title_or_topic}
- Optional subtitle: {subtitle}
- Language mode: {language_mode}
- Requested aspect ratio: {requested_ratio}
- Generation aspect ratio: {generation_ratio}
- Short context summary: {summary}
- Visual subject: {visual_subject}
- Audience: {audience}
- Mood: {mood}
- Visual metaphor: {metaphor}
- Banned elements: {banned_elements}

The main title must be complete, accurate, and clearly readable. If the source title is long, extract a short high-impact visual title while preserving the complete meaning through a smaller title, subtitle, or context line.

For long articles, use only derived fields such as title, summary, visual subject, metaphor, and supplemental context. Do not paste the original article body into the image, prompt, metadata, or small text system.

The cover must work for sharing: first glance identifies the topic, second glance reveals the visual metaphor. The image should feel like a deliberate editorial cover, not a generic illustration.

Avoid universal cover failures: PPT cover feel, course-cover feel, generic information-graphic template, e-commerce advertisement, unrelated decoration, misspelled title, missing title, title cropped beyond recognition, or title severely blocked by visual elements.

Generate only one final image per target ratio. For an explicitly requested multi-size suite, generate separate independently composed images rather than a grid or contact sheet. Do not output explanations, alternatives, or multi-option compositions.

Output Discipline

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.