tikz-figure-code SKILL.md skillA

tikz-figure-code from kendrick-stein/mcislab_deepread is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add kendrick-stein/mcislab_deepread/tikz-figure-code@git:20260728.634c4b7

Pins git:20260728.634c4b7 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
kendrick-stein/mcislab_deepread
Path
skills/4-writing/tikz-figure-code/SKILL.md
Versions recorded
2
Latest version
git:20260728.634c4b7, committed Jul 28, 2026
First version recorded
Jul 28, 2026
Size
9,364 bytes
Repository stars
12
License
none declared

写出高质量、一次过编译、编辑安全的 TikZ/LaTeX 配图代码的工程基础技能。 教 agent 用「按构造布局」(positioning/fit/chains/anchor) 而非「手填绝对坐标」, 附 8 条硬约束、canonical 箭头、before/after 范例、一个静态检查入口 (lint.sh)。 Use when: 写/审 TikZ 或 LaTeX 图代码、修图的排版/对齐/溢出/箭头问题、 tikz layout、latex figure code、tikz 编译报错、CJK 中文图渲染成色块。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# TikZ Figure Code — 写对 + 编辑安全的工程基础

## Purpose

这是**确定性地基**:怎么写出编译干净、不重叠、改一处不崩的 TikZ 代码。
它**不**管"画什么图才美"——那是设计/编排层(见 [academic-diagram](../academic-diagram/SKILL.md))的事。
本技能管的是:无论画什么,代码本身得**写对、扛得住编辑**。
输入是待写/待修的 TikZ 代码或排版 bug,输出是按构造布局、通过 lint 的 .tex。

> 一句话定位:academic-diagram 决定**画什么**,本技能保证**怎么写不出错**。

## Steps

1. 写新图 / 审已有图前,按「5 条 idiom」检查布局写法(相对定位、anchor 连线、fit 容器)。
2. 修排版/对齐/箭头 bug 时,先对照「8 条硬约束」定位违反项(全集加载 `references/hard-constraints.md`)。
3. 写完/改完跑 `bash references/lint.sh figure.tex`(validator → 编译 → missing-char → overlap-checker → design-linter)。
4. lint 退出码 0 后**仍必须 Read 渲染 PNG 亲眼确认**——static checker 对 zone 重叠/边框切穿内容类崩坏全盲。

## Guard

- **禁止手填绝对坐标搭宏观骨架**——模块/zone 层必须按构造布局(嵌入 viz 内部可局部手画,但须挂父节点 anchor)。
- **禁止把同一间距/边界数字抄写在多处**——布局节奏只定义一次。
- **禁止手写 `-{Stealth[scale=X]}` 箭头**——只用 canonical styles,调 `line width` 三档。
- 8 条硬约束(CJK rotate=90、`\texttt` 中文、missing-char 静默、直线 rounded corners、
  缺 bending library、`|-` pierce 等)违反必失败,不可绕过。
- lint 通过 ≠ 图没问题——**不允许跳过看图直接交付**。

## Verify

- [ ] `bash references/lint.sh figure.tex` 退出码 0(无硬 bug)
- [ ] `grep "Missing character" *.log` 为空
- [ ] 渲染 PNG 已用 Read 亲眼查看,无 zone 重叠/切穿/大空白
- [ ] 宏观骨架无绝对坐标、连线全部走节点 anchor

## 为什么需要它(问题的根)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add kendrick-stein/mcislab_deepread/tikz-figure-code@sha256:d87a66f62787c086

The line at the top of this page pins the label git:20260728.634c4b7, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

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

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, all committed on Jul 28, 2026.

versioncommittedcommitsizeaudit
git:20260728.634c4b7 latest2026-07-28 634c4b7 9,364 BA view · diff
git:20260728.a0fcf5b2026-07-28 a0fcf5b 7,714 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the 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 (9364 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

kendrick-stein/mcislab_deepread · 12 stars · license none declared · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_fzierqggydhw3j5x
GET https://markdownregistry.com/api/v1/resolve?ref=kendrick-stein/mcislab_deepread/tikz-figure-code
GET https://markdownregistry.com/api/v1/blob/d87a66f62787c0860f1fdeb5c779574326ccd106a5e8120877a39903529d434c

Your AI assistant 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.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from kendrick-stein/mcislab_deepread

lark-approval SKILL.md skill
kendrick-stein/mcislab_deepread · .agents/skills/lark-approval/SKILL.md · 飞书审批 API:审批实例、审批任务管理。
v1.0.0 · audit A · 12 stars
lark-attendance SKILL.md skill
kendrick-stein/mcislab_deepread · .agents/skills/lark-attendance/SKILL.md · 飞书考勤打卡:查询自己的考勤打卡记录
v1.0.0 · audit A · 12 stars
lark-base SKILL.md skill
kendrick-stein/mcislab_deepread · .agents/skills/lark-base/SKILL.md · 当需要用 lark-cli 操作飞书多维表格(Base)时调用:适用于建表、字段管理、记录读写、视图配置、历史查询,以及角色/表单/仪表盘管理/工作流;也适用于把旧的 +table / +field / +record…
v1.2.0 · audit A · 12 stars
lark-calendar SKILL.md skill
kendrick-stein/mcislab_deepread · .agents/skills/lark-calendar/SKILL.md · 飞书日历(calendar):提供日历与日程(会议)的全面管理能力。核心场景包括:查看/搜索日程、创建/更新日程、管理参会人、查询忙闲状态及推荐空闲时段、查询/搜索与预定会议室。注意:涉及【预约日程/会议】或【查询/预定会议室】时,必须先读…
v1.0.0 · audit A · 12 stars
lark-contact SKILL.md skill
kendrick-stein/mcislab_deepread · .agents/skills/lark-contact/SKILL.md · 飞书 / Lark 通讯录,用于按姓名 / 邮箱把员工解析成 open_id,以及按 open_id 反查员工的姓名 / 部门 / 邮箱 / 联系方式。当用户说出某人姓名而下一步需要发消息 / 加群 / 排日程时,先用本 skill…
v1.0.0 · audit A · 12 stars
lark-doc SKILL.md skill
kendrick-stein/mcislab_deepread · .agents/skills/lark-doc/SKILL.md · 飞书云文档 / Docx / 知识库 Wiki 文档(v2):创建、打开、读取、获取、查看、总结、整理、改写、翻译、审阅和编辑飞书文档内容。当用户给出飞书文档…
git:20260525.97d682b · audit A · 12 stars
lark-drive SKILL.md skill
kendrick-stein/mcislab_deepread · .agents/skills/lark-drive/SKILL.md · 飞书云空间:管理云空间中的文件和文件夹。上传和下载文件、创建文件夹、复制/移动/删除文件、查看文件元数据、管理文档评论、管理文档权限、订阅用户评论变更事件、修改文件标题(docx、sheet、bitable、file、folder、wiki…
v1.0.0 · audit A · 12 stars
lark-event SKILL.md skill
kendrick-stein/mcislab_deepread · .agents/skills/lark-event/SKILL.md · Lark/Feishu real-time event listening / subscribing / consuming: stream events as NDJSON via `lark-cli event consume…
v1.0.0 · audit A · 12 stars
lark-im SKILL.md skill
kendrick-stein/mcislab_deepread · .agents/skills/lark-im/SKILL.md · 飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件(支持大文件分片下载)、管理表情回复。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据…
v1.0.0 · audit A · 12 stars
lark-mail SKILL.md skill
kendrick-stein/mcislab_deepread · .agents/skills/lark-mail/SKILL.md · 飞书邮箱 — draft, compose, send, reply, forward, read, and search emails; manage drafts, folders, labels, contacts…
v1.0.0 · audit C · 12 stars
lark-markdown SKILL.md skill
kendrick-stein/mcislab_deepread · .agents/skills/lark-markdown/SKILL.md · 飞书 Markdown:查看、创建、上传和编辑 Markdown 文件。当用户需要创建或编辑 Markdown 文件、读取或修改时使用。
v1.0.0 · audit A · 12 stars
lark-minutes SKILL.md skill
kendrick-stein/mcislab_deepread · .agents/skills/lark-minutes/SKILL.md · 飞书妙记:妙记相关基本功能。1.查询妙记列表(按关键词/所有者/参与者/时间范围);2.获取妙记基础信息(标题、封面、时长 等);3.下载妙记音视频文件;4.获取妙记相关 AI…
v1.0.0 · audit A · 12 stars

Every file in kendrick-stein/mcislab_deepread

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