用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ccwq/infocard-pub --skill infocard-paper-warm-style命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use before infocard .docs authoring to select a registered theme from content-aware candidates. Owns the only content-to-theme association, capability filtering, bounded reproducible variation, and theme-decision.json.
Use when one URL or a complete user brief should become one published infocard through the .docs promotion workflow.
Light-batch publish 2–3 cards in parallel without worktree.
正在显示 SKILL.md
| name | infocard-paper-warm-style |
| description | 为知识卡片提供暖纸感、手帐感的视觉设计规范与可复用 CSS/HTML 组件。仅负责视觉风格与静态设计自检。 |
适用于知识卡片、学习笔记、生活方式内容与轻量信息图。核心气质:暖纸张、低饱和色、轻微手作感、清晰阅读层级。
:root {
--paper: #f7f1e7;
--surface: #fffaf2;
--ink: #3d342c;
--muted: #786d62;
--accent: #c46e4d;
--accent-soft: #efd1bd;
--line: #dfd1c1;
--radius: 18px;
--shadow: 0 10px 28px rgba(80, 55, 35, .10);
}
正文建议至少 16px,行高 1.6–1.8;标题保持明显层级,避免超长标题挤压正文。
示例:
.card { max-width: 760px; margin: 0 auto; padding: 32px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.note { padding: 16px; background: var(--accent-soft); border-radius: 12px; }
@media (max-width: 480px) { .card { padding: 20px; border-radius: 12px; } }
暖纸主题的外框、标题栏和内容卡片必须遵循“单一外框、内部单线分隔”原则,避免相邻组件各自绘制边框造成双线、重叠或局部加粗。
Canonical pattern:
/* one outer frame */
.compare, .arch, .timeline {
border: 1.5px solid var(--line);
overflow: hidden;
box-shadow: none;
}
/* header/content seam is not drawn twice */
.compare-head, .arch-head, .timeline-head { border-bottom: 0; }
.compare-table, .matrix, .vs-table { border: 0; border-collapse: collapse; }
Rules:
border-bottom with the next child’s border-top.gap, not stacked borders.major visual defect until a fresh screenshot confirms the repair.交给发布编排前检查:
本主题 Skill 只负责视觉语言、tokens、排版、组件和响应式规则。
不得在本主题 Skill 中加入:启动 preview、固定端口、健康检查、进程管理、截图、视觉评分、npm run preview、npm run publish、发布或部署流程。以上运行时工作由 any2card 调用 web-visual-acceptance 完成。