info-card-designer▌
joeseesun/info-card-designer · updated Apr 8, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
将任意内容转化为杂志质感信息卡,自动截图 + 超长分割,适配 X/Twitter、小红书分享。
Info Card Designer
将任意内容转化为杂志质感信息卡,自动截图 + 超长分割,适配 X/Twitter、小红书分享。
工作流
Step 1:分析内容密度
- 低密度(1 个核心观点)→ 大字符主义布局
- 中密度(2-4 要点)→ 标准单栏布局
- 高密度(5+ 要点)→ 多栏网格布局
Step 2:生成 HTML
读取 references/design-spec.md 获取完整规范。
硬性约束:
- 卡片宽度:默认 600px,可指定 480 / 600 / 900(用户说"480宽"/"900宽"时生效)
<meta name="viewport" content="width=[指定宽度]">防缩放- 背景色
#f5f3ed - 截图时
resize_pagewidth 设为指定宽度
字号用 vw 单位,随宽度自动缩放:
- 主标题:
font-size: clamp(40px, 13vw, 130px)— 480px→62px / 600px→78px / 900px→117px - 条目标题:
font-size: clamp(16px, 4vw, 40px)— 480px→19px / 600px→24px / 900px→36px - 正文:
font-size: clamp(14px, 3.2vw, 24px)— 480px→15px / 600px→19px / 900px→28px - 辅助/标签:
font-size: clamp(11px, 2.2vw, 16px)
内容原则(强制):
- 卡片内容必须 100% 来自用户提供的原文/URL/文本,严禁自行编造或使用占位符
- 标题、描述、来源、金句均须与原文一致,Hook 改写只改表达方式,不改事实
描述风格(Hook 模式,默认开启):
- 每条描述改写为 10-20 字的钩子句,有信息量 + 有冲击感
- 保留核心事实,用主动语态,让读者想点进去看
- 用户说"保持原文"或"不改描述"时关闭
保存路径:/tmp/info-card-[关键词].html
Step 3:截图(必须执行)
优先用 Chrome DevTools MCP,按卡片宽度选择对应 devicePixelRatio(确保输出 PNG 落在 1200-1800px 甜区):
| 卡片宽度 | devicePixelRatio | 输出 PNG 宽度 |
|---|---|---|
| 480px | 3x | 1440px |
| 600px | 2x | 1200px |
| 900px | 2x | 1800px |
navigate_page→file:///tmp/info-card-xxx.htmlemulate→ viewport=[宽度]x900x[倍率](e.g. 480px 卡片用480x900x3,600px 用600x900x2)resize_page→ width=[宽度], height=900take_screenshot→ fullPage=true, filePath=[初始路径]
为什么不统一 3x:900px × 3x = 2700px,文件过大且社交平台会压缩,收益递减;480px 因 CSS 宽度小,3x 才能保证 1440px 输出不虚糊。
Step 4:超长分割
截图后检查图片高度。若高度 > 1200px,执行分割:
python3 ~/.claude/skills/info-card-designer/scripts/split_card.py [图片路径] 1200
分割后输出 card-1.png, card-2.png ... 等文件。
Step 5:整理并输出
保存路径规则:
~/乔木新知识库/60-69 素材/65 附件库/info-cards/
└── [YYYYMMDD]-[来源]-[主题关键词]/
├── card.png # 未分割时
├── card-1.png # 分割时
└── card-2.png
示例:info-cards/20260316-wisereads-134/card-1.png
文件夹名格式:
日期-来源-主题,一目了然
告知用户:图片路径 + 共几张
设计速查
完整规范见 references/design-spec.md。
| 场景 | 布局 | 主标题字号 | 正文字号 |
|---|---|---|---|
| 低密度 | 大字符主义 | 72-120px | 20px |
| 中密度 | 标准单栏 | 48-56px | 18px |
| 高密度 | 2-3 栏网格 | 36-44px | 16px |
字体:标题 Noto Serif SC;正文 Inter / Noto Sans SC
配色:靛蓝 #1a3a6b(知识)/ 深红 #c0392b(警示)/ 墨绿 #1a4a3a(生活)/ 深金 #8b6914(财经)
How to use info-card-designer on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add info-card-designer
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches info-card-designer from GitHub repository joeseesun/info-card-designer and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate info-card-designer. Access the skill through slash commands (e.g., /info-card-designer) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
Task Automation & Efficiency
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Knowledge Enhancement
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Quality Improvement
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client with skill support
- ›Clear understanding of task or problem to solve
- ›Willingness to iterate and refine outputs
Time Estimate
15-45 minutes depending on use case complexity
Installation Steps
- 1.Install skill using provided installation command
- 2.Test with simple use case relevant to your work
- 3.Evaluate output quality and relevance
- 4.Iterate on prompts to improve results
- 5.Integrate into regular workflow if valuable
Common Pitfalls
- ⚠Expecting perfect results without iteration
- ⚠Not providing enough context in prompts
- ⚠Using skill for tasks outside its intended scope
- ⚠Accepting outputs without review and validation
Best Practices▌
✓ Do
- +Start with clear, specific prompts
- +Provide relevant context and constraints
- +Review and refine all outputs before using
- +Iterate to improve output quality
- +Document successful prompt patterns
✗ Don't
- −Don't use without understanding skill limitations
- −Don't skip validation of outputs
- −Don't share sensitive information in prompts
- −Don't expect skill to replace human judgment
💡 Pro Tips
- ★Be specific about desired format and style
- ★Ask for multiple options to choose from
- ★Request explanations to understand reasoning
- ★Combine AI efficiency with human expertise
When to Use This▌
✓ Use When
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid When
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
Learning Path▌
- 1Familiarize yourself with skill capabilities and limitations
- 2Start with low-risk, non-critical tasks
- 3Progress to more complex and valuable use cases
- 4Build expertise through regular use and experimentation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.4★★★★★68 reviews- ★★★★★Naina Anderson· Dec 24, 2024
Registry listing for info-card-designer matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Noah Thomas· Dec 24, 2024
info-card-designer is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Advait Bansal· Dec 20, 2024
Solid pick for teams standardizing on skills: info-card-designer is focused, and the summary matches what you get after install.
- ★★★★★Ava Harris· Dec 16, 2024
info-card-designer reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Dhruvi Jain· Dec 12, 2024
Useful defaults in info-card-designer — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Meera Okafor· Dec 12, 2024
info-card-designer has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Advait Chawla· Dec 4, 2024
Solid pick for teams standardizing on skills: info-card-designer is focused, and the summary matches what you get after install.
- ★★★★★William Nasser· Nov 23, 2024
We added info-card-designer from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Mia Nasser· Nov 15, 2024
Useful defaults in info-card-designer — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Mia Farah· Nov 15, 2024
Registry listing for info-card-designer matched our evaluation — installs cleanly and behaves as described in the markdown.
showing 1-10 of 68