claude-design-card

作者 geekjourneyx已验证

Claude Code skill for generating design cards in 14 formats — platform covers, social sharing cards, and editorial layouts following Anthropic

461
Stars
46
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/geekjourneyx/claude-design-card

快速入门

使用 claude-design-card 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

claude-design-card

14 种格式,一套审美标准 — Claude 设计语言驱动的卡片生成技能

claude-design-card — Claude 设计语言驱动的卡片生成技能

License: MIT TypeScript Bun Playwright


这是什么

将任意文本、网页或 URL 转化为精致的可发布卡片,覆盖平台封面、社交分享、长文编辑排版。所有卡片严格遵循 Claude/Anthropic 设计系统:Parchment 暖色基调、Georgia 衬线字体、Terracotta 强调色,14 种格式一套审美标准。

输入:一段文字 / URL / 数据
输出:/tmp/claude-card-*.png(像素精准的设计卡片)

核心特性

claude-design-card 核心特性 — 14种格式族、Claude设计语言、SVG系统、长文排版、Playwright截图、自然语言触发

工作流程

claude-design-card 工作流程 — 内容解析、格式选择、卡片生成、截图输出

环境依赖

依赖版本说明
Bun≥ 1.0运行时 & 包管理器
Playwright≥ 1.59Chromium 截图引擎
TypeScript≥ 5.0脚本语言(Bun 原生支持)
Node.jsnpx skills add 安装时需要

安装

作为 AI Skill(推荐):

npx skills add https://github.com/geekjourneyx/claude-design-card

本地开发:

bun install
bunx playwright install chromium

快速上手

# 固定尺寸(平台封面、内容卡)
bun scripts/screenshot.ts <input.html> [output.png] [width] [height]

# 自动高度(长文编辑排版)
bun scripts/screenshot.ts <input.html> [output.png] [width] --full-page

示例:

# 公众号首图 900×383
bun scripts/screenshot.ts /tmp/card.html /tmp/cover.png 900 383

# 小红书图文笔记 1080×1440
bun scripts/screenshot.ts /tmp/card.html /tmp/xiaohongshu.png 1080 1440

# The Broadsheet 长文排版(自动高度)
bun scripts/screenshot.ts /tmp/broadsheet.html /tmp/broadsheet.png 800 --full-page

# 省略输出路径 → /tmp/claude-card-<basename>.png
bun scripts/screenshot.ts /tmp/my-card.html

支持格式

格式族 A — 平台封面

平台封面现在按「点击前承诺」设计:一个强判断标题、一句承接、一个证据点,而不是正文摘要。

格式尺寸用途设计重点
公众号首图900 × 383 px微信公众号文章封面横向秒读,左标题右证据
视频号竖封面1080 × 1440 px微信视频号封面竖版海报,中部标题锚点
B站/YouTube 横封面1280 × 720 pxB站、YouTube 缩略图缩略图路牌,关键词清晰
抖音全屏竖版1080 × 1920 px抖音、TikTok 封面全屏停顿,安全区内一个判断

格式族 B — 图文内容卡

图文内容卡现在按「可保存的知识物件」设计:首图停留,内页理解,工具页收藏。

格式尺寸用途美学模式
小红书图文笔记1080 × 1440 px小红书主图 / 轮播Editorial Artifact + Dark Magazine Cover
步骤教程卡1080 × 1440 px教程类内容Practical Toolkit
对比分析卡1080 × 1440 px对比 / 竞品分析Editorial Artifact

格式族 C — 社交分享卡

格式尺寸特征
金句分享卡1080 × 1080 px大号引言符,极简单栏
数据大字卡1080 × 1080 px超大数字主导,SVG 进度条
方形通用卡1080 × 1080 px标准单栏,灵活适配

格式族 D — 长文编辑排版

格式宽度气质
The Broadsheet800 px三栏报纸,版刻装饰,Drop Cap
The Feature760 px杂志深度,暗头双栏,边侧栏
The Reader720 px文学期刊,Marginalia 边注
The Digest760 px分析报告,摘要框 + 数据列

设计系统

所有卡片使用统一的 Claude 设计 Token,详见 DESIGN.mdreferences/design-spec.md

Token色值用途
--pg Parchment#f5f4ed主背景
--iv Ivory#faf9f5卡面/次背景
--nk Near-Black#141413正文、标题
--tc Terracotta#c96442强调、装饰
--ds Dark-Surface#30302e深色区块
--og Olive-Gray#5e5d59副文本
--sg Stone-Gray#87867f元信息

字体:Georgia(衬线,标题/正文)+ system-ui(UI/标签)。禁止冷色调蓝灰、纯白 #fffffffont-weight: 700

新增 A/B 族社交设计原则:

  • A 族平台封面:封面负责点击,不替代正文。
  • B 族内容卡:内容卡负责停留、理解和收藏。
  • 抖音/故事:按全屏停顿设计处理,避开顶部、底部和右侧平台 UI。
  • 小红书/图文:首图像封面,内页像高级编辑手册或实用工具卡。

作为 AI Skill 使用

在 Claude Code 中安装后,通过自然语言描述触发:

帮我把这篇文章做成小红书图文笔记卡片
把这个数据做成方形分享卡
帮我生成一张公众号首图封面
把这篇长文做成 The Broadsheet 编辑排版

技能自动完成:分析内容 → 选择格式 → 提炼关键信息(不编造)→ 生成 HTML → 截图输出至 /tmp/


许可证

MIT — 自由使用、修改、分发。


关于作者

个人主页jieni.ai
GitHubgeekjourneyx
Twitter@seekjourney
公众号微信搜「极客杰尼」

常见问题

What is claude-design-card?

claude-design-card is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by geekjourneyx. Claude Code skill for generating design cards in 14 formats — platform covers, social sharing cards, and editorial layouts following Anthropic. It has 461 GitHub stars.

Is claude-design-card safe to use?

Yes. claude-design-card passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install claude-design-card?

Clone the repository with "git clone https://github.com/geekjourneyx/claude-design-card" and add it to your Claude Code skills directory (see the Installation section above). claude-design-card ships a SKILL.md manifest, so compatible agents can discover and load it automatically.

What programming language is claude-design-card written in?

claude-design-card is primarily written in TypeScript. It is open-source under geekjourneyx on GitHub, so you can review or fork the full source.

Are there alternatives to claude-design-card?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh claude-design-card against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情