course-poster

course-poster: Convert course detail copy into a polished HTML long-poster image. Must be used when users mention “course detail page”, “long poster”, “course poster”, “layout copy”, “course introduction image”, “training poster”, or upload course copy to be made into an image/poster/detail page. Supports uploading style reference images, instructor photos, company logos and other materials. Core principles: preserve text exactly, professional and attractive layout, intelligently recognize structure and automatically generate tables and icons.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "course-poster" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-68487670b0c185962482b3e958a54868b723584bdcdd7bb5bb599df5b653a3dc. Verify the upstream source and version against https://skillhub.cn/skills/user_6f52bffe/course-poster before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

course-poster: Convert course detail copy into a polished HTML long-poster image. Must be used when users mention “course detail page”, “long poster”, “course poster”, “layout copy”, “course introduction image”, “training poster”, or upload course copy to be made into an image/poster/detail page. Supports uploading style reference images, instructor photos, company logos and other materials. Core principles: preserve text exactly, professional and attractive layout, intelligently recognize structure and automatically generate tables and icons.

0 Downloads

Introduction source: third_party · user_6f52bffe · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: course-poster
version: 1.0.0
created_date: 2026-04-12
last_updated: 2026-04-12
author: 陈冻冻
description: 将课程详情文案转换为精美的HTML长海报图。当用户提到"课程详情页"、"长海报"、"课程海报"、"排版文案"、"课程介绍图"、"培训海报",或者上传了课程文案让你做成图片/海报/详情页时,必须使用此技能。支持上传风格参考图、老师照片、公司Logo等素材。核心原则:文字一字不改,排版专业美观,智能识别结构自动生成表格和图标。

课程详情页长海报生成 Skill

将课程文案转换为可截图输出的HTML长海报。核心铁律:原文一字不改。

第一步:接收输入 & 理解意图

用户可能提供以下任意组合:

  • 课程文案(必须有,可能是纯文本、Word片段、截图中的文字)
  • 风格参考图(可选,用于提取配色/版式/字体感觉)
  • 品牌素材(可选,老师照片/公司Logo/产品截图等图片)
  • 偏好说明(可选,如"高端感"、"活泼"、"深色背景"、"手机版"等)

如果用户没有说明尺寸,默认生成手机竖版宽度 750px 的长海报。


第二步:风格解析(如有参考图)

如果用户上传了风格参考图,在生成前先做视觉解析,提炼以下要素:

【风格解析报告】
主色调:#XXXXXX(主)/ #XXXXXX(辅)/ #XXXXXX(强调)
背景风格:纯色 / 渐变 / 肌理 / 深色
字体感觉:纤细现代 / 粗重有力 / 衬线优雅 / 圆润亲切
排版密度:紧凑信息流 / 宽松呼吸感
装饰元素:几何线条 / 色块切割 / 渐变光晕 / 无装饰极简
板块分隔:分割线 / 色块背景 / 大间距 / 无明显分隔

然后将这些风格参数翻译成具体CSS变量,贯穿整个海报。


第三步:文案结构识别

读取课程文案,识别以下常见板块类型,严禁修改任何文字内容:

板块类型 识别信号 推荐视觉处理
主标题/副标题 文案开头最突出的标题 大字号Hero区,配背景装饰
核心卖点/痛点 短句列表,通常3-6条 图标+文字横排,或卡片排列
课程大纲/目录 带序号或分模块的内容 时间轴或编号卡片
师资介绍 人名+头衔+简介 头像圆形裁剪+信息卡
适合人群 "适合XX人群"类描述 人群标签 Chips
学员收益/你将获得 "你将学到""学完后" 勾选列表或成就卡
课程详情表 时间/价格/形式/次数等 信息表格或参数网格
报名/联系方式 电话/二维码/微信号 CTA 区块,高对比强调
常见问题FAQ 问答形式 折叠感卡片样式
学员评价 引号或"学员说" 引用卡片,含头像占位

第四步:HTML长海报生成

技术要求

<!-- 基础结构 -->
<div class="poster" style="width: 750px; ...">
  <!-- 各板块依次堆叠 -->
</div>

强制执行的技术原则:

  1. 文字零修改:所有来自用户文案的文字,必须与原文完全一致,包括标点、空格、换行逻辑。禁止概括、改写、省略。
  2. 图片素材嵌入:用户上传的图片统一以 data:image/...;base64,... 形式嵌入,确保海报独立可用。如果用户没有上传头像,用彩色字母圆形占位。
  3. 图标使用内联SVG:不依赖外部图标库,所有图标用简洁SVG绘制(见 references/icons.md)。
  4. Google Fonts中文字体:使用 Noto Sans SC 或 ZCOOL QingKe HuangYou 等适合海报的中文字体。
  5. 宽度固定:poster容器 width: 750px,内容不超出此范围,高度自适应。
  6. 自包含HTML:输出单个HTML文件,无外部依赖(字体可用Google CDN),可直接在浏览器打开截图。

CSS 变量模板

:root {
  --primary: #1a1a2e;        /* 主色(从风格图提取或按行业默认) */
  --secondary: #16213e;      /* 辅色 */
  --accent: #e94560;         /* 强调色 */
  --accent-light: #ff6b8a;   /* 强调浅色 */
  --bg: #ffffff;             /* 背景 */
  --bg-card: #f8f9ff;        /* 卡片背景 */
  --text-primary: #1a1a2e;   /* 主文字 */
  --text-secondary: #666;    /* 副文字 */
  --text-muted: #999;        /* 弱化文字 */
  --border: #e8e8e8;         /* 边框 */
  --radius: 16px;            /* 圆角 */
  --font-display: 'ZCOOL QingKe HuangYou', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', sans-serif;
}

行业默认配色方案

根据课程内容自动匹配(用户无特别说明时):

行业 主色 强调色 风格感
商业/职场 深蓝 #0f2d6b 金色 #f4a623 专业权威
设计/创意 深紫 #2d1b69 珊瑚 #ff6b6b 创意活力
健康/亲子 暖绿 #1a5f3c 橙黄 #ff9f43 温暖自然
技术/AI 深灰 #1a1a2e 青色 #00d2d3 科技感
国学/文化 深棕 #4a2c17 朱红 #c0392b 传统典雅
考试/学科 深蓝 #1e3a5f 亮蓝 #3498db 专注理性

第五步:板块组件模板

详细组件代码见 references/components.md。

快速组件索引:

  • Hero 主视觉区 → components.md#hero
  • 卖点图标列表 → components.md#selling-points
  • 课程大纲时间轴 → components.md#outline
  • 师资介绍卡 → components.md#teacher
  • 参数信息网格 → components.md#info-grid
  • 学员标签云 → components.md#tags
  • FAQ 问答卡 → components.md#faq
  • 学员评价 → components.md#testimonials
  • CTA 报名区 → components.md#cta

第六步:生成前自检清单

生成HTML后,在输出前逐项检查:

[ ] 原文对照:随机抽取5处文字,与用户原文比对,是否一字不差?
[ ] 图片嵌入:用户上传的照片/Logo是否以base64形式嵌入?
[ ] 溢出检查:是否有内容超出750px宽度?
[ ] 字体加载:<head>是否包含Google Fonts链接?
[ ] 独立性:HTML是否可单独打开、无外部依赖图片?
[ ] 视觉完整:每个板块是否都有对应视觉处理,无大段纯文本平铺?

第七步:输出说明

生成HTML文件后,告知用户:

✅ 海报已生成!

查看方式:点击下载的 .html 文件,用 Chrome/Safari 浏览器打开

截图方式:

  • Chrome:右键 → 检查 → 在Console输入截图命令(见下)
  • 或直接用系统截图工具对浏览器窗口截图
  • 推荐工具:GoFullPage浏览器插件,一键长截图

如需调整:告诉我想修改的地方(配色/字号/板块顺序等),文字部分保持不变


特殊情况处理

情况1:文案极短(<200字)
→ 适当增大字号和间距,用大图形装饰填充视觉重量,避免海报"空洞"

情况2:文案极长(>3000字)
→ 按板块分区,使用分隔色块区分章节,顶部加锚点导航目录

情况3:用户上传多张参考图
→ 以第一张为主风格,其他作为元素参考,综合提炼

情况4:用户说"按XX平台风格"
→ 知乎=深色+橙色accent,小红书=粉白+圆润,公众号=白底+黑字极简,抖音=黑底+霓虹色

情况5:用户要求PC宽版
→ 将 width: 750px 改为 width: 1200px,并调整为双列布局


参考文件

  • references/components.md — 所有板块的完整HTML/CSS组件代码
  • references/icons.md — 常用内联SVG图标库

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决课程文案可视化的高频需求,适用于教育、培训、营销等多场景
  • 功能闭环完整,支持风格定制与素材嵌入,实用性强
Trigger Precision90/100

Highlights

  • 触发词覆盖全面,包括“课程海报”、“长海报”、“排版文案”等用户常见表达
  • 边界清晰,不易与其他 Skill 混淆
Structure and Standards90/100

Highlights

  • 七步流程清晰,含自检清单与端到端示例
  • frontmatter 完整,文档结构专业规范
Execution Reliability75/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    SKILL.md 中引用了 `references/components.md` 和 `references/icons.md` 文件,但未在传入内容中提供

    Recommendation: 请补充这两个参考文件,或将其内容内联到主文档中,确保 Skill 可独立运行

Evidence Verifiability (mean of the first four)85/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.