Home / hanzhangzzz / agent-skills-zh · pdf-triptych/SKILL.md · GitHub

pdf-triptych skillA

pdf-triptych is agent-read markdown (skill) from hanzhangzzz/agent-skills-zh: 把一份标准、规范、白皮书或长技术 PDF 拆解成一页三联图 HTML:第一张讲骨架(这份文档的结构是什么),第二张讲细节(概念之间的准确关系),第三张举例子(换成具体场景后每样东西落在哪)。三张图共用同一根横轴和同一套颜色,既有递进也有共同标尺。用于把读不动的长文档变成一页能讲、能评审、能贴进汇报的图。当用户说 /pdf-triptych、把这份 PDF 画成图、标准拆解、三联图、一张图讲清这份标准、文档骨架图、把 PDF 做成可视化 时使用。不用于普通 PDF 转文字、摘要,也不用于纯数据图表。.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# pdf-triptych

把一份长文档拆成三张有递进、有共同标尺的图。

## 这套流程解决什么

长标准文档读不动,不是因为字多,是因为**结构藏在字里**:哪些是主线、哪些是横切、哪些只是用法,原文往往不说。直接"把 PDF 转成图"会得到一堆罗列的方框;正确顺序是先把结构挖出来,再决定用什么形状承载,最后才写代码。

三张图的分工与联系:

| 图 | 讲什么 | 与上一张的关系 |
|---|---|---|
| 一 · 骨架 | 这份文档的层级结构:从抽象到具体怎么展开,哪些定义横跨若干层,有没有第三维度 | — |
| 二 · 细节 | 概念之间的准确关系,通常是把原文里的几张 figure 揉成一张 | 与图一**同轴叠放**:图二的每个框落在图一的哪一列,就属于哪一层 |
| 三 · 例子 | 换成一个具体场景,每样东西落在哪一列 | 与图一**同列**:沿竖虚线往上看就知道它对应结构的哪一层 |

共同标尺有两样,缺一不可:**贯穿全图的竖向虚线(列)** 和 **全文统一的三类颜色**。

**张数由文档结构决定,不是写死三张。** 判断标准:

- 原文的几张 figure **之间有主从关系**(一张是骨架,另几张是它某个节点的放大)→ 骨架与细节**分成两张**,细节那张标明谁是谁的放大。
- 原文的 figure **互不相交、谁也不属于谁** → 骨架与细节**合成一张**,把几张切面并排,并明说"它们不是一条线上的几段"。这时总共两张图。
- 例子层始终独立成图。

第二次执行(ISO/IEC 22989)走的是第二条:那份标准的三张图互不兼容,原文从未说过谁属于谁,合成一张并列展示是对的。

## 视觉语法的底线

这套图的视觉语法是固定的,不要每次重新发明。下面几条直接用:

| 项 | 内容 |
|---|---|
| 色板哲学 | 纸灰 `#F0EFEB` + 炭黑两极;**一律实心**:不透明材质、不发光、不渐变滤镜、无阴影。质感全靠明度对比和形状 |
| 卡片四件套 | 结论式标题 `h2` + 副标题(图例、单位、范围,用 ` · ` 分隔)+ 图 + 来源行(全大写、加字距) |
| 标题规则 | **写结论不写图型名**。"从一个概念展开到每一条可落地的指标" 好过 "扇出树" |
| 形状 | 卡片圆角 24px,无边框无阴影,靠留白分卡 |
| 字体 | Inter + 苹方;标题 700 / 数值 800 / 轴标签 600 |
| 动画 | 只用一次淡入,快进快停不弹跳;必须带 `prefers-reduced-motion` 降级 |
| 交互 | 这根线背后有没有真实记录?没有(纯示意的发丝线)→ **禁止加交互**,给没有内容的元素加 hover 是欺骗 |
…

Read the whole file at its exact version.

How to install

Latest version
mdr add hanzhangzzz/agent-skills-zh/pdf-triptych@git:20260921.2417b6c
Exact content
mdr add hanzhangzzz/agent-skills-zh/pdf-triptych@sha256:ec329f2a48865602

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_d3u37qba7625xlfi.svg)](https://markdownregistry.com/a/art_d3u37qba7625xlfi)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260921.2417b6c latest2026-09-21 2417b6c 19,144 BA view · diff
git:20260921.7727a4e2026-09-21 7727a4e 19,056 BA view · diff
git:20260921.7c559602026-09-21 7c55960 17,289 BA view · diff
git:20260921.6ef98892026-09-21 6ef9889 16,706 BA view · diff
git:20260921.db7efd72026-09-21 db7efd7 17,917 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (19144 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

hanzhangzzz/agent-skills-zh · 2 stars · license MIT · pushed 2026-09-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_d3u37qba7625xlfi
GET https://markdownregistry.com/api/v1/resolve?ref=hanzhangzzz/agent-skills-zh/pdf-triptych
GET https://markdownregistry.com/api/v1/blob/ec329f2a48865602cc9d0476911a822e516d049ab373683206bb2f50f400e9e4

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from hanzhangzzz/agent-skills-zh

AGENTS.md agents
hanzhangzzz/agent-skills-zh · AGENTS.md
git:20260908.c2a51c6 · audit A · 2 stars
CLAUDE.md claude
hanzhangzzz/agent-skills-zh · CLAUDE.md
git:20260908.c2a51c6 · audit B · 2 stars
ci-review skill
hanzhangzzz/agent-skills-zh · ci-review/SKILL.md · Install a CI-triggered LLM code reviewer into the current repo: on every push to a PR/MR, Claude Code runs headless…
git:20260904.43bb55f · audit A · 2 stars
do-something skill
hanzhangzzz/agent-skills-zh · do-something/SKILL.md · Autonomously push the current project forward: answer feedback first, select the highest-value task supported by real…
git:20260922.c0f20e5 · audit A · 2 stars
doc-reader skill
hanzhangzzz/agent-skills-zh · doc-reader/SKILL.md · Translate an English technical article (web URL) or a local PDF into accurate Chinese, section by section with…
git:20260904.c21f62b · audit A · 2 stars
gpt-image2-prompt-director skill
hanzhangzzz/agent-skills-zh · gpt-image2-prompt-director/SKILL.md · Turn a weak idea into a high-impact GPT image2 (gpt-image-2) generation brief: prompt director workflows, idea…
git:20260901.4d9bf39 · audit A · 2 stars
harness skill
hanzhangzzz/agent-skills-zh · harness/SKILL.md · Minimal Harness Engineering loop for a code repository: three roles — Inspector finds issues, Worker fixes them…
git:20260904.cb78277 · audit A · 2 stars
hkr-render skill
hanzhangzzz/agent-skills-zh · hkr-render/SKILL.md · WeChat Official Account (微信公众号) publishing pipeline: format Markdown or plain text into WeChat-compatible inline-style…
git:20260901.4d9bf39 · audit A · 2 stars
hook-test-kit skill
hanzhangzzz/agent-skills-zh · hook-test-kit/SKILL.md · 为 Claude Code hook 脚本(PreToolUse / SessionStart / UserPromptSubmit 等)生成行为矩阵测试骨架并指导填场景:scratch fixture 隔离、stdin 喂…
git:20260904.5bc92eb · audit A · 2 stars
DESIGN.md@md2view design
hanzhangzzz/agent-skills-zh · md2view/DESIGN.md
git:20260831.3dc09f5 · audit A · 2 stars
md2view skill
hanzhangzzz/agent-skills-zh · md2view/SKILL.md · Re-encode a Markdown document into a traceable human-reading view: a single-file HTML with the original on the left and…
git:20260901.4d9bf39 · audit A · 2 stars
repo-map skill
hanzhangzzz/agent-skills-zh · repo-map/SKILL.md · Local repository map for multi-repo development: scan every local git repo into an incremental, self-healing index…
git:20260901.4d9bf39 · audit A · 2 stars

Every file in hanzhangzzz/agent-skills-zh

Browse by kind, by grade A, or by owner.