生成适合微博、知乎、公众号或 X/Twitter 分享的 16:9 横版金句卡和数据卡。当用户说“做金句卡、语录卡、数据卡、横版分享卡”时使用。小红书竖版知识卡用 card-xiaohongshu,竖版营销海报用 poster-hero。
npx skills add https://github.com/ZJU-REAL/Easel --skill card-quote
> HTML 单图渲染 → 截图分享。16:9 横版,一句 hero 金句 / 一组核心数据。
> ⚠️ 生成前先读 card-design 设计系统(选立场/锁配色/字越大越细/禁 AI 廉价感)。金句卡尤其靠排版层级——避免渐变文字、粗黑大标题、居中一切。
先按 card-design 选风格锁配色,再套下面对应骨架。
w-[1600px] h-[900px],暗色 / 亮色按内容情绪二选一。Insight / 观点 / Quote);右下角品牌水印。数据来源 · 截至 X)建立可信度。生成 HTML 后,用共享渲染脚本自动出图(playwright + chromium,已配置走代理加载 CDN/字体):
python skills/shared/scripts/render_card.py \
--html outputs/主题名/assets/card.html \
--out outputs/主题名/card.png \
--full-page --width 1600 --height 900
--width 1600 --height 900。pip install playwright && playwright install chromium(见项目依赖说明)。三者都是"HTML 单图 → 截图",仅画幅与场景不同,互不替代:
Take zju-real/card-quote from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference pip.
Without those the skill loads but fails at the first command.