Loading...
Loading...
Compare original and translation side by side
$DECK_DIR/diagnosis.mdContent builds layer by layer, each page adding complexity → Ravel (Bolero): visual simplicity to richness, color gradually saturates, each page adds one element.Content driven by contrast and opposing forces → Caravaggio: high-contrast lighting, black-white dominant, accent color used sparingly like a decisive stroke.Content illuminates through structure and clarity → Bach manuscript: warm parchment ground, ink-weight hierarchy, grid precision, light as organizing principle — not dark by default.Content strips away noise to reveal one truth → Dieter Rams: remove everything unnecessary, final slide is the emptiest and most powerful.
diagnosis.md/codeck$DECK_DIR/diagnosis.md内容逐层构建,每一页复杂度逐步提升 → 拉威尔(波莱罗舞曲):视觉从简洁到丰富,色彩逐渐饱和,每页新增一个元素。内容由对比和对立要素驱动 → 卡拉瓦乔:高对比度光影,黑白为主色调,点缀色如决定性笔触般谨慎使用。内容通过结构和清晰度传递信息 → 巴赫手稿:温暖的羊皮纸底色,墨色权重层级,网格精度,以光为组织原则,默认不使用深色背景。内容剥离噪音凸显核心真相 → 迪特·拉姆斯:移除所有不必要元素,最终幻灯片最简洁也最有力量。
diagnosis.md/codeckDECK_DIR="$HOME/.codeck/projects/$(basename "$(pwd)")"
mkdir -p "$DECK_DIR"
bash "$HOME/.claude/skills/codeck/scripts/status.sh" "$DECK_DIR"$DECK_DIR/outline.md$DECK_DIR/diagnosis.md/codeck-outlineDECK_DIR="$HOME/.codeck/projects/$(basename "$(pwd)")"
mkdir -p "$DECK_DIR"
bash "$HOME/.claude/skills/codeck/scripts/status.sh" "$DECK_DIR"$DECK_DIR/outline.md$DECK_DIR/diagnosis.md/codeck-outline$DECK_DIR/design-notes.md## References$DECK_DIR/design-notes.md## ReferencesA layered business proposal → Ravel's Bolero → visually simple to complex, each page adds a layer, color gradually saturatesA contrastive technical argument → Go (围棋) attack and defense → black-white contrast dominant, each turn uses one accent color as a "move"A structured explanation that builds understanding → architectural blueprint → warm off-white ground, precise lines, information revealed through spatial hierarchy, not through darknessA data report moving from chaos to order → Japanese karesansui → early pages scattered, final page stripped to minimal
分层的商业提案 → 拉威尔的波莱罗舞曲 → 视觉从简单到复杂,每页新增一个图层,色彩逐渐饱和对比性的技术论证 → 围棋攻防 → 黑白对比为主,每轮用一个点缀色作为「落子」逐步构建认知的结构化说明 → 建筑蓝图 → 暖调米白底,精准线条,通过空间层级而非深色背景展示信息从混乱到有序的数据报告 → 日本枯山水 → 前几页内容分散,最终页精简到极致
references/design-dna-schema.md"none"false$DECK_DIR/design-dna.jsonreferences/design-dna-schema.md"none"false$DECK_DIR/design-dna.jsonreferences/visual-floor.mdreferences/visual-floor.mdscripts/engine.jsscripts/engine.css| File | Contents |
|---|---|
| |
| |
ENGINE_DIR="$HOME/.claude/skills/codeck-design/scripts"
REV=$(ls ./*-r*.html 2>/dev/null | grep -oP 'r\K\d+' | sort -n | tail -1)
REV=$((${REV:-0} + 1))
bash "$ENGINE_DIR/assemble.sh" "$DECK_DIR" "{title}" "{language}" \
> "./{title}-r${REV}.html"scripts/engine.jsscripts/engine.css| 文件 | 内容 |
|---|---|
| |
| |
ENGINE_DIR="$HOME/.claude/skills/codeck-design/scripts"
REV=$(ls ./*-r*.html 2>/dev/null | grep -oP 'r\K\d+' | sort -n | tail -1)
REV=$((${REV:-0} + 1))
bash "$ENGINE_DIR/assemble.sh" "$DECK_DIR" "{title}" "{language}" \
> "./{title}-r${REV}.html"data-f="N"data-notesdata-f="N"data-notesreferences/design-dna-guide.mddesign_system:root--bg--fg--accent:rootreferences/design-dna-guide.mddesign_system:root--bg--fg--accent:root<!-- ====== 1. Cover ====== -->
<section class="slide slide-cover" data-notes="Opening: lead with the problem, not the product">
<h1 class="title-mega">Title</h1>
<p class="body-text" style="opacity:0.7">Subtitle</p>
</section>
<!-- ====== 2. Problem ====== -->
<section class="slide" data-notes="Data from the 2024 report">
<h2 class="title-large">What is the problem</h2>
<div class="grid-2">
<div class="card" data-f="1">First point</div>
<div class="card" data-f="2">Second point</div>
</div>
</section><section class="slide" data-notes="...">data-notes<!-- ====== N. Title ====== -->data-f="N"<script><!-- ====== 1. 封面 ====== -->
<section class="slide slide-cover" data-notes="开场:先提出问题,不要先介绍产品">
<h1 class="title-mega">Title</h1>
<p class="body-text" style="opacity:0.7">Subtitle</p>
</section>
<!-- ====== 2. 问题 ====== -->
<section class="slide" data-notes="数据来自2024年报告">
<h2 class="title-large">What is the problem</h2>
<div class="grid-2">
<div class="card" data-f="1">First point</div>
<div class="card" data-f="2">Second point</div>
</div>
</section><section class="slide" data-notes="...">data-notes<!-- ====== N. 页面标题 ====== -->data-f="N"<script>references/asset-guide.mdinlineposterextractreferences/asset-guide.mdinlineposterextract$DECK_DIR/custom.css$DECK_DIR/slides.html$DECK_DIR/custom.css$DECK_DIR/slides.html<!-- ====== N. Title ====== -->:root--bg--fg--accent--font-body--font-heading@media (max-width: 768px)<script><!-- ====== N. 标题 ====== -->:root--bg--fg--accent--font-body--font-heading@media (max-width: 768px)<script>$DECK_DIR/design-notes.mdundefined$DECK_DIR/design-notes.mdundefined{1-2 sentences in the role's voice: design intent and the one thing worth watching}
undefined{1-2 sentences in the role's voice: design intent and the one thing worth watching}
undefinedcodeck design — HTML generated. Anything to adjust?You can say "change slide 3 title to xxx" or "switch to a warm palette".
$DECK_DIR/slides.html$DECK_DIR/custom.csscodeck design — HTML已生成。需要调整什么吗?你可以说「把第3页的标题改成xxx」或者「换成暖色调」。
$DECK_DIR/slides.html$DECK_DIR/custom.css@import url()<style><head><script><script>:root--bg--fg--accentdata-f="1"data-f="2".slide#progress.mobile-nav.presenter-*position.slide.slideposition: absolute; inset: 0position: relative.slide-coverprefers-reduced-motion@keyframes@media (prefers-reduced-motion: no-preference) { ... }var()-clamp(...)-min(...)-max(...)calc(-1 * clamp(...))@media (max-height: 700px)@media (max-height: 500px)r1r2@import url()<head><style><script><script>:root--bg--fg--accentdata-f="1"data-f="2".slide#progress.mobile-nav.presenter-*.slideposition.slideposition: absolute; inset: 0.slide-coverposition: relativeprefers-reduced-motion@keyframes@media (prefers-reduced-motion: no-preference) { ... }var()-clamp(...)-min(...)-max(...)calc(-1 * clamp(...))@media (max-height: 700px)@media (max-height: 500px)r1r2codeck design complete.{One sentence — cite the design-dna isomorphic mapping}Output:(in user's project directory) Intermediates:./{title}-r{revision}.html+$DECK_DIR/design-dna.jsonNext:$DECK_DIR/design-notes.md/codeck-review
codeck design 已完成。{一句话说明design-dna同构映射的内容}输出文件:(在用户的项目目录下) 中间文件:./{title}-r{revision}.html+$DECK_DIR/design-dna.json下一步:$DECK_DIR/design-notes.md/codeck-review