craft-your-textbook SKILL.md skillA

craft-your-textbook from xx-hub/craft-your-textbook is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add xx-hub/craft-your-textbook/craft-your-textbook@git:20261105.742fbc3

Pins git:20261105.742fbc3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
xx-hub/craft-your-textbook
Path
skills/craft-your-textbook/SKILL.md
Versions recorded
5
Latest version
git:20261105.742fbc3, committed Nov 5, 2026
First version recorded
Aug 5, 2026
Size
24,365 bytes
Repository stars
38
License
MIT

当用户要造一本教材/教学蓝本,或说"按这套方法写一本书"时使用。让你具备"亲手为自己造一本教材"的能力——把源材料(教材/考纲/讲义等)加工成 AI 苏格拉底老师能拿去上课的教学蓝本(pure-blueprint,机器 id `blueprint`),或一本给人读的流畅教材(human-readable,机器 id `human`,AI 也能直接教);适用任何学科,两条路线互斥,默认推荐给 AI 老师的版本。.

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

# 亲手造属于你自己的教材(Craft Your Textbook)

<SUBAGENT-STOP>
如果你是被分派来执行某个具体任务(如"写第 3 章""跑某章独立审计")的 subagent,且不涉及造书的全局决策,则无需把完整流程再读一遍——直接按主 agent 已定稿的写作规范(风格与语法)/ 章内板块语法执行你的章节任务即可。你仍受不变量底线(references/invariants.md)约束。
</SUBAGENT-STOP>

<EXTREMELY-IMPORTANT>
本 skill 一旦命中即强制执行其流程约束,不可绕过。即便你"只是先看看""先探索一下项目结构""先问个澄清问题",只要任务在本 skill 触发范围内,就必须先按本 skill 的 **Trigger Contract** 动作,再决定下一步。

**三条 Iron Law(违反即返工)**:

1. **先出设计,再写正文**——设计期的**确认点**(含章节安排)全部通过之前,禁止写任何章正文。**确认点=流程停下来等你独立拍板的那一站;通过=你明确认可,不是"我觉得可以"**。每一步的确认点问什么、按什么顺序推进,见本文档「核心:教学设计五步」。
2. **先写金标准,再并行铺章**——没有一章通过四层审计 + 试教(条件触发)并回填写作规范,禁止启动并行铺章。
3. **交付前必拆脚手架**——带脚手架元信息(写作规范标题、审计批注、未决 TODO、loader 指令外壳)的书不得交付;成品书必须是纯净可读本体。

三个阶段与推进顺序见本文档「核心:教学设计五步」。不套模板:Agent 自己设计书的形状。模式库是菜单不是套餐,读完 `references/patterns/README.md` 后强制回答"拒绝/选中每个模式各自对应本书哪个教学问题",写在写作规范里。
</EXTREMELY-IMPORTANT>

## 这是什么

造书 = 为学习者制备一份**教材**。有两种形态(触发后必选,见下"第一步:定路线"):

- **pure-blueprint**:给 AI 苏格拉底老师读的教学蓝本(pedagogical spec),结构化、含元指令
- **human-readable**:给人读的流畅教材,AI 拿到也能直接教

三方分工决定所有下游规则:

| 角色 | 做什么 | 看到什么 |
| --- | --- | --- |
| **用户(学习者)** | 跟 AI 老师对话学习 | 只看到对话(blueprint)或读教材+对话(human-readable) |
| **AI 老师** | 读书,用引导式提问教学 | 读完整本书作为输入 |
| **书(造物)** | 教学素材 | 是 AI 老师的输入,或人读的教材 |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add xx-hub/craft-your-textbook/craft-your-textbook@sha256:e545cf5c3c776db0

The line at the top of this page pins the label git:20261105.742fbc3, 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_ppt5wzpevq4qfocy.svg)](https://markdownregistry.com/a/art_ppt5wzpevq4qfocy)

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

Versions

The registry has recorded 5 versions of this file, between Aug 5, 2026 and Nov 5, 2026, about one every 23 days.

versioncommittedcommitsizeaudit
git:20261105.742fbc3 latest2026-11-05 742fbc3 24,365 BA view · diff
git:20261105.d11d3af2026-11-05 d11d3af 24,578 BA view · diff
git:20261105.50910982026-11-05 5091098 24,860 BA view · diff
git:20260806.cea8d052026-08-06 cea8d05 11,232 BA view · diff
git:20260805.a13ddfe2026-08-05 a13ddfe 11,030 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 (24365 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

xx-hub/craft-your-textbook · 38 stars · license MIT · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ppt5wzpevq4qfocy
GET https://markdownregistry.com/api/v1/resolve?ref=xx-hub/craft-your-textbook/craft-your-textbook
GET https://markdownregistry.com/api/v1/blob/e545cf5c3c776db0da77ebe27d867d118de2972449f1466e78b039880ed1052a

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.

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