Poster Generator 标志

Poster Generator

社区
howardz27
poster-generator

Generates professional designer-grade posters, flyers, campaign visuals, event posters, and product posters. Use when the user asks for 海报, poster, flyer, campaign visual, event poster, product poster, promotional visual, or high-end marketing key visual.

概览

发布者howardz27
代码仓库poster-generator-skill
技能名称poster-generator
星标数
37
复刻数
4
附带文件
85
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 85 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 howardz27 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Poster Generator AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/howardz27/poster-generator-skill/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/howardz27/poster-generator-skill.git \
  .claude/skills/poster-generator
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Poster Generator,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Poster Generator。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Poster Generator 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Poster Generator

Choose from 20 visual styles. The skill organizes the poster composition automatically from the content, channel, and aspect ratio.

This skill creates polished, modern, practical posters with production-ready image prompts.

Usage

bash
/poster-generator path/to/content.md
/poster-generator path/to/content.md --style swiss-editorial
/poster-generator path/to/content.md --aspect 4:5 --lang zh
/poster-generator "新品发布会,6月30日,上海" --style luxury-minimal
/poster-generator  # then paste content

Options

OptionValues
--style20 options, default: swiss-editorial
--aspect1:1, 4:5, 2:3, 3:4, 9:16, 16:9; default: 2:3
--langen, zh, ja, etc.; default: source language
--renderername of an installed image-generation skill or MCP tool to use for rendering (e.g. image-gen, baoyu-image-gen). Default: auto-discovered at runtime.
--backendpassed through to the chosen renderer when it supports sub-backends (e.g. jimeng, banana, gpt-image-2 for image-gen). Default: renderer's own default.
--quality1K, 2K, 4K where the renderer supports it

Composition (how content is arranged on the poster) is handled automatically by the skill based on content, channel, and aspect ratio — users only choose a style. Advanced internal controls (including an optional --layout override for backward compatibility) are documented in references/advanced.md.

Available Systems

Styles: swiss-editorial, neo-brutalist, luxury-minimal, constructivist-impact, bauhaus-modular, pop-commercial, cinematic-key-art, data-editorial, organic-craft, futurist-gradient, editorial-collage, japanese-ma, monochrome-typographic, art-deco-luxe, risograph-zine, glassmorphism-ui, surreal-3d-editorial, retro-futurism, botanical-premium, hyperreal-product.

Aspect ratios: 1:1, 4:5, 2:3, 3:4, 9:16, 16:9.

Use references/selection-guide.md to select the internal composition and recommend styles/aspect ratios. Style definitions live in references/styles/<style>.md; internal composition definitions live in references/layouts/<layout>.md.

Output Structure

text
poster/{topic-slug}/
├── source-{slug}.{ext}
├── analysis.md
├── structured-content.md
├── prompts/poster.md
└── poster.png

Slug: 2-4 words kebab-case from topic. Conflict: append -YYYYMMDD-HHMMSS.

Design System

Universal poster rules live in references/base-prompt.md. Layout files define structure; style files define visual language; quality-rubric.md is only for review.

Workflow

Step 1: Setup & Analyze

1.1 Load Preferences (EXTEND.md)

Use Bash to check EXTEND.md existence (priority order):

bash
# Check project-level first
test -f .baoyu-skills/poster-generator/EXTEND.md && echo "project"

# Then user-level
test -f "$HOME/.baoyu-skills/poster-generator/EXTEND.md" && echo "user"

If found: read, parse, and display a short summary. If not found: continue with defaults unless the user explicitly asks to configure preferences.

EXTEND.md Supports: preferred style, default aspect ratio, renderer preference (renderer:), sub-backend (backend:), quality preference, language preference, custom style definitions, brand constraints. A legacy layout preference remains supported for backward compatibility but should not be offered as a normal user setting. Validate any legacy layout value against the basename of a file in references/layouts/; if it is invalid, stop before rendering and list the valid IDs.

1.2 Analyze and Extract → analysis.md

  1. Save source content (file path or paste → source-{slug}.{ext}).
  2. Use references/content-analysis.md to identify input type, poster goal, audience, channel, language, constraints, and missing information.
  3. Extract only poster-useful fields: headline, subheadline, key points, source-supplied CTA, metadata, visual subject, tone, and information priority. A CTA is extractive-only: leave it empty unless its wording exists in the source. If output language differs, preserve the exact source quote alongside the translated CTA for verification.
  4. Save analysis.

Step 2: Generate Structured Poster Content → structured-content.md

Transform analysis.md into poster-ready structure:

  1. Main headline / title.
  2. Subheadline or supporting message.
  3. Must-show copy, optional copy, and omitted content.
  4. Source-supplied CTA or intended communication goal. Do not invent action/status copy such as "敬请期待", "了解更多", "立即选购", "Coming soon", "Learn more", or "Shop now".
  5. Metadata, visual subject, brand cues, required text labels.
  6. Production constraints and design instructions.

Rules: Markdown only. Preserve required copy verbatim. Do not invent missing facts, CTA copy, or interface/status labels. If the source explicitly supplies a CTA, retain it as static poster copy; later prompt construction must not style it as a clickable button, pill, chip, tab, or input field.

See references/structured-poster-template.md for detailed format.

Step 3: Select Composition & Recommend Styles

Use references/selection-guide.md for two separate decisions:

  1. Select the composition internally. Resolve one layout from content goal, information density, visual subject, channel, aspect ratio, and any direct composition intent in the brief. Apply this priority order:
    • Explicit --layout override.
    • Legacy EXTEND.md layout preference.
    • Automatic selection rules in the guide, including recognized natural-language composition intent.
    • centered-hero only when no rule produces a clear result.
  2. Record the internal decision in analysis.md. Store the selected layout ID, source (cli-override, legacy-extend, auto, or fallback), and the signals used. Do not show layout candidates or layout IDs in the normal user confirmation.
  3. Resolve the style source. An explicit --style takes precedence over an EXTEND.md preferred style. If either is present, resolve it against a built-in references/styles/<style>.md definition or a custom style definition loaded from EXTEND.md, use it directly, and skip style recommendations. Otherwise, recommend 3-5 built-in visual styles based on audience, tone, subject, channel, and user design instructions. Each user-facing option includes only the style, why it fits, expected visual outcome, and any material risk. If a selected style ID is invalid, stop before rendering and list the valid built-in and configured custom style IDs.

Step 4: Confirm Options

Present all options in a single confirmation:

  1. Style (unless already specified by --style or EXTEND.md): 3-5 options with rationale. Tell the user that composition is handled internally as part of production; do not expose layout names.
  2. Aspect (always): 2:3, 4:5, 9:16, 1:1, 3:4, 16:9.
  3. Language (only if source language differs from requested/user language).
  4. Renderer/backend (always — surface the auto-discovered renderer, plus sub-backend/quality if it supports them; let the user override).
  5. Update the draft artifact. Write the confirmed style, aspect ratio, language, backend, quality, and production notes back into structured-content.md; confirmed values take precedence over the draft defaults from Step 2.

If the confirmed aspect ratio differs from the value used in Step 3, rerun automatic composition selection and update the internal record before generating the prompt. Do not rerun it when an explicit or legacy layout override is active.

Step 5: Generate Prompt → prompts/poster.md

Combine:

  1. Final internal layout definition from references/layouts/<layout>.md.
  2. Selected style definition from references/styles/<style>.md, or the matching custom style definition loaded from EXTEND.md.
  3. Base template from references/base-prompt.md.
  4. Structured content from Step 2.
  5. All confirmed output options.

Before rendering, apply this CTA guard to the combined prompt:

  1. Verify every CTA against the source. If the output is translated, verify its recorded exact source quote instead.
  2. Remove invented action/status copy even when it appears in headline, subheadline, key points, metadata, or must-show lists rather than the CTA field.
  3. If no CTA is sourced, explicitly tell the renderer to leave the action area empty and invent no action/status wording.
  4. If a CTA is sourced, render it as ordinary static poster typography in a footer or text lockup—no filled/outlined button, rounded rectangle, pill, chip, shadow, arrow, chevron, or cursor icon.
  5. Treat the poster canvas as static print/editorial artwork. Preserve a browser window, dashboard, device mockup, or product UI when the user explicitly requests it as depicted content; only prohibit invented poster-level interaction chrome.

Step 6: Generate Image

This skill does not hard-depend on any specific image-generation tool. At render time, discover the best available renderer in this order:

  1. User override — --renderer <name> flag (skill name or MCP tool name), optionally combined with --backend <sub-backend> and --quality.

  2. EXTEND.md preference — renderer: / backend: fields if present.

  3. Auto-discovery — scan the environment for any working image-generation capability:

    a. Image-generation skills — look for skill names matching: image-gen, *-image-gen, baoyu-image-gen, baoyu-cover-image, baoyu-article-illustrator, or any skill whose description mentions generating / rendering / creating images from prompts. Invoke via the Skill tool. b. MCP image tools — look for MCP tools whose names match *generate*image*, *image*generate*, *render*, *t2i*, or *text_to_image*. Invoke directly with the prompt, aspect ratio, and output path. c. CLI fallback — if a known image-generation CLI is on $PATH (e.g. image_gen.py, bananapro, etc.), invoke it directly.

  4. Selection — if multiple renderers are available, prefer in this order: user override > EXTEND.md > a skill that exposes sub-backends (e.g. one that can target jimeng / gpt-image-2 / banana) > any other working renderer. Surface which one was picked in the confirmation step.

  5. No renderer found — stop and tell the user explicitly: "No image-generation skill or MCP tool detected. Install one (e.g. image-gen, baoyu-image-gen, or an MCP server that exposes image generation) and re-run." Do not silently skip rendering.

Mapping to renderer inputs — when invoking the chosen renderer, pass:

  • The full prompt from prompts/poster.md.
  • Aspect ratio (mapped to the renderer's supported values; if the renderer only takes width/height, convert from the chosen --aspect).
  • Output path: poster/{topic-slug}/poster.png.
  • Sub-backend / quality only if the renderer accepts them.

On failure — inspect the error, adjust only the renderer invocation or prompt mechanics (not the structured content), and retry once. If it still fails, fall back to the next available renderer in the discovery list and retry once more.

Step 7: Output Summary

Report: topic, style, aspect, language, backend, output path, and files created. Do not report the automatically selected layout. If the user explicitly passed --layout, add Advanced layout override: <id> to make that override auditable.

References

  • references/content-analysis.md - Input analysis, extraction, density control, and missing information policy
  • references/structured-poster-template.md - Poster content structure
  • references/base-prompt.md - Image prompt template
  • references/selection-guide.md - Internal composition / style / aspect recommendations
  • references/quality-rubric.md - Professional design quality checks
  • references/styles/<style>.md - 20 style definitions
  • references/layouts/<layout>.md - Internal composition definitions (not user-facing)
  • references/advanced.md - Advanced internal controls (--layout override, legacy EXTEND.md layout preference)

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

还有 25 个文件。

常见问题

Poster Generator AI 技能有什么作用?

Generates professional designer-grade posters, flyers, campaign visuals, event posters, and product posters. Use when the user asks for 海报, poster, flyer, campaign visual, event poster, product poster, promotional visual, or high-end marketing key visual.

为什么在 TypingMind 中使用 Poster Generator?

因为您只需安装一次,就能搭配任何模型使用。Poster Generator 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Poster Generator?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/howardz27/poster-generator-skill/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Poster Generator?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Poster Generator 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Poster Generator 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Poster Generator AI 技能免费吗?

是的。howardz27 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇