Tooluck logoTooluck
SKILL.md

doc-kami-parchment

Agent skill fromnexu-io/html-anything

暖羊皮纸底 (#f5f4ed) + 墨蓝单色 accent (#1B365D) + 单一衬线字体, 编辑级排印

How to install doc-kami-parchment

install doc-kami-parchment
# install the html-anything pack with the skills CLI
npx skills add nexu-io/html-anything

# or add only this skill to Claude Code: copy the folder

next/src/lib/templates/skills/doc-kami-parchment/

# into

~/.claude/skills/doc-kami-parchment/ (all projects)

.claude/skills/doc-kami-parchment/ (one project)

next/src/lib/templates/skills/doc-kami-parchment/SKILL.md

Apache-2.0Full file
1【模板: Kami 羊皮纸文档】
2【意图】严肃排版文档: one-pager / 长报告 / 信函 / 简历 / 财报 / changelog / portfolio。Inspired by tw93/kami。强调"写得像被排过版的纸", 不是 dashboard, 不是网页。
3
4【硬性视觉签名 — 不许改】
5- **画布**: 暖羊皮纸 `#f5f4ed` (永远不用纯白 `#fff`)。次级背景 `#efeee5`。
6- **墨色**: 主文字 `#1f1d18` (近黑暖灰, 不用纯黑 `#000`)。次文字 `#6b665b`。
7- **唯一色彩**: 墨蓝 `#1B365D` ——所有 accent (链接、tag 描边、重点数字、引用左 rule) 只能用这一个色, 严禁多色。
8- **字体**: 一种语言一种衬线, 全文不混用:
9 - 英文: `Charter` (fallback: `Source Serif Pro`, `Iowan Old Style`)
10 - 中文: `TsangerJinKai02 W04` (fallback: `Noto Serif SC`)
11 - 日文: `YuMincho` (fallback: `Noto Serif JP`)
12 - Body 400, Heading 500 (不要 700/800/900)。
13- **行高**: 标题 1.1–1.3, 紧凑正文 1.4–1.45, 阅读型正文 1.5–1.55。
14- **绝不**: drop-shadow / blur / 圆角 ≥ 8px / 渐变 / 霓虹色 / rgba (用 solid hex)。
15- **细节**: tag 用 solid hex 背景方块 (因为 WeasyPrint 不渲染 rgba 好); 单线几何 icon; 边缘 1px hairline `#d4d1c5` rule, 长度受控不到边。
16
17【可选文档类型 — 按用户内容判断】
18- **One-Pager** — 顶 logotype (Charter italic) + 标题 + lede + 3 列要点 + 底脚 metadata。
19- **Long Doc** — 封面页 (大标题 + 副标 + 作者 + 日期) → 目录 (kicker + page no.) → 章节 (folio 顶角 + section rule + body) → 注释脚注 + 文末 colophon。
20- **Letter** — 抬头地址 + 日期 + 收件人 + 正文 (左对齐, 段间空 1.5em) + 署名 + 签名占位线。
21- **Portfolio** — 项目 hero (大标题 + sub) + 1 张全幅图 (用 CSS 块绘制占位) + 项目描述 + 角色 / 时间 / stack 元数据 row。
22- **Resume** — 顶部姓名 (大字) + tagline 一行 + contact row + 主要 section: experience (公司 / 时间 / 职位 / bullets) + skills + education。
23- **Slides** — keynote 风, 页数由【用户内容】决定 (短内容 6 页起步, 长内容应更多), 每页满铺羊皮纸, 大标题 + lede + 角标 page no., 简洁到只有"被印出来"的感觉。
24…

Excerpt shown under the repository's Apache-2.0 license.

More skills in html-anything

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates