kami
它能做什么
它为 AI 智能体提供模板和排版规则,用于制作带有衬线字体和墨蓝色点缀的精致文档。适用于希望文档看起来经过专业设计的人。
适用场景
- ✓当你需要整齐排版的简历、一页纸摘要或白皮书时。
- ✓当你希望把信件或作品集做成可打印的文档样式时。
- ✓当你想要幻灯片或 Kami 风格的落地页时。
技能链接
https://github.com/tw93/Kami/blob/main/plugins/kami/skills/kami/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把我的笔记整理成一页纸摘要,版式简洁专业,方便我打印。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会选择一个 Kami 模板,应用其排版规则,并在你的工作文件夹中使用所附脚本构建文档。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
kami · 紙
紙 · かみ means paper in Japanese.
Good content deserves good paper. Use Kami’s templates and layout rules to create documents and landing pages with serif fonts, warm backgrounds, and ink-blue accents.
Part of Kaku · Waza · Kami - Kaku writes code, Waza drills habits, Kami delivers documents.
Commands and paths below are relative to this skill's directory. Keep the document in the user's working directory and call the scripts from there by their full path (python3 <skill>/scripts/build.py ...); relative file arguments resolve from your working directory first.
Update check (non-blocking). At the start of a task, run bash scripts/check-update.sh. It keeps a local daily marker and, at most once a day, reads Kami's latest published GitHub Release; it uploads no document or task content and stays silent when offline or sandboxed. When it prints a line about a newer Kami, relay it and continue.
Brand profile. If ~/.config/kami/brand.md (or the legacy ~/.kami/brand.md) exists, read references/brand-profile.md and apply it. Precedence: explicit prompt > editorial judgment > habit notes > frontmatter defaults > built-in defaults. The profile fills gaps silently and never overrides the current conversation. When the user names another project as the visual reference, run the style scan in the same file. When they give only a brand website, python3 scripts/brand_extract.py <url> drafts a profile; show the draft and use it for this document only after they accept it.
1 · Lock the contract
Before creating or changing an output, lock six things: language, template, output formats, page or length target, visual acceptance, and the verification command. Infer them from the request, then state the contract to the user in one short line in their language (template, length, formats, the figures you plan, any missing material) and continue without waiting. If they push back, adjust.
Question budget. Infer first. Ask at most once, in one compact question with at most two parts, and only when two or more of purpose, audience, hard constraints, or success are genuinely unresolvable, or two templates genuinely both fit. Otherwise take the smallest reasonable assumption and report it at the end.
Route by the artifact's current state:
| Current task | Mode | Contract |
|---|---|---|
| New document or substantial restructuring | New document | Lock the contract, write content.json with brief + content, then fill and deliver |
| Text replacement, translation, or factual correction in an existing artifact | Content-only | Preserve CSS and layout unless the new copy proves a fit defect |
| User supplies a render or screenshot and rejects how it looks | Visual repair | Treat the render as the brief; follow «Feedback protocol» |
| Standalone generated illustration, cover, social card, or redraw | Generated asset | Lock the semantic brief before pixels (references/diagrams.md section 11); preserve accepted parts across iterations |
Use the nearest existing template and check. Do not add a template, shared CSS layer, dependency, script flag, or optional mode unless the request cannot be met without it.
Language
| User language | HTML templates | Slides (PDF default) | Slides (PPTX, only when an editable deck is requested) | Slides (Marp) |
|---|---|---|---|---|
| Chinese (primary) | *.html |
slides-weasy.html |
slides.py |
slides-marp.md |
| English | *-en.html |
slides-weasy-en.html |
slides-en.py |
slides-marp-en.md |
| Japanese (best-effort) | *.html, JP Mincho first |
slides-weasy.html |
slides.py |
slides-marp.md |
| Korean | *-ko.html |
slides-weasy-ko.html |
slides-en.py only if PPTX is required |
slides-marp.md |
| Other (best-effort) | CJK or EN path by script coverage | slides-weasy.html or -en |
slides.py / slides-en.py |
slides-marp.md or -en |
Japanese, Korean, and other languages need a visual pass on the page images before shipping. Reference docs are shared English specs.
Document type
| User says | Document | CN template | EN template | KO template |
|---|---|---|---|---|
| "one-pager / 方案 / 执行摘要 / exec summary" | One-Pager | one-pager.html |
one-pager-en.html |
one-pager-ko.html |
| "white paper / 白皮书 / 长文 / 年度总结 / technical report" | Long Doc | long-doc.html |
long-doc-en.html |
long-doc-ko.html |
| "formal letter / 信件 / 辞职信 / 推荐信 / memo" | Letter | letter.html |
letter-en.html |
常见问题
它会改变我现有的网站吗?
不会。它用于创建新文档和落地页,不用于审核或重新设计现有的产品网站。
它能遵循我自己的品牌风格吗?
能。如果你有品牌配置文件,智能体会读取并应用它。
完成的文档保存在哪里?
它保存在你的工作目录中,脚本也从那里调用。
详情
作者的原始描述
Typeset professional documents with Kami templates: resumes, one-pagers, white papers, letters, portfolios, and slide decks. Use when asked to 做 PDF / 排版 / 简历 / 一页纸 / PPT / slides, or to create a Kami landing page. Not for auditing or restyling an existing product site.
repo: tw93/Kami
热度
- GitHub 星标
- 12k
- 排名
- #11403
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …