scaffold-exercises SKILL.md skillA
scaffold-exercises from vinvcn/mattpocock-skills-zh-cn is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add vinvcn/mattpocock-skills-zh-cn/scaffold-exercises@git:20261008.5be0dc1Pins git:20261008.5be0dc1 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- vinvcn/mattpocock-skills-zh-cn
- Path
skills/misc/scaffold-exercises/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261008.5be0dc1, committed Oct 8, 2026
- First version recorded
- Apr 28, 2026
- Size
- 3,688 bytes
- Repository stars
- 5,110
- License
- MIT
创建包含章节、题目、答案和讲解的练习目录结构,并确保通过 linting。适用于用户想 scaffold exercises、创建 exercise stubs,或设置新的课程章节时。.
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
# 搭建练习 创建能通过 `pnpm ai-hero-cli internal lint` 的 exercise directory structures,然后用 `git commit` 提交。 ## 目录命名 - **Sections**:`exercises/` 下的 `XX-section-name/`(例如 `01-retrieval-skill-building`) - **Exercises**:section 下的 `XX.YY-exercise-name/`(例如 `01.03-retrieval-with-bm25`) - Section number = `XX`,exercise number = `XX.YY` - Names 使用 dash-case(小写、连字符) ## Exercise 变体 每个 exercise 至少需要这些 subfolders 中的一个: - `problem/` - student workspace,包含 TODOs - `solution/` - reference implementation - `explainer/` - conceptual material,不含 TODOs 创建 stub 时,除非 plan 指定其他 variant,否则默认使用 `explainer/`。 ## 必需文件 每个 subfolder(`problem/`、`solution/`、`explainer/`)都需要一个 `readme.md`,要求: - **非空**(必须有真实内容,即使只有一行 title 也可以) - 没有 broken links 创建 stub 时,生成带 title 和 description 的最小 readme: ```md # Exercise Title Description here ``` 如果 subfolder 有 code,还需要 `main.ts`(>1 行)。但对 stubs 来说,readme-only exercise 可以接受。 ## 工作流 1. **Parse the plan** - 提取 section names、exercise names 和 variant types 2. **Create directories** - 对每个 path 执行 `mkdir -p` 3. **Create stub readmes** - 每个 variant folder 一个带 title 的 `readme.md` 4. **Run lint** - 执行 `pnpm ai-hero-cli internal lint` 验证 5. **Fix any errors** - 迭代直到 lint 通过 …
Read the whole file at its exact version.
How to install
mdr add vinvcn/mattpocock-skills-zh-cn/scaffold-exercises@sha256:87b87db22239d750The line at the top of this page pins the label git:20261008.5be0dc1, 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.
[](https://markdownregistry.com/a/art_xlvenr4jxrp5jxgm)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Apr 28, 2026 and Oct 8, 2026, about one every 41 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261008.5be0dc1 latest | 2026-10-08 | 5be0dc1 | 3,688 B | A | view · diff |
| git:20261008.f659bb3 | 2026-10-08 | f659bb3 | 3,700 B | A | view · diff |
| git:20260704.c71ad54 | 2026-07-04 | c71ad54 | 3,716 B | A | view · diff |
| git:20260428.50115f3 | 2026-04-28 | 50115f3 | 3,743 B | A | view · diff |
| git:20260428.62f43a1 | 2026-04-28 | 62f43a1 | 3,589 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3688 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
vinvcn/mattpocock-skills-zh-cn · 5,110 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_xlvenr4jxrp5jxgm GET https://markdownregistry.com/api/v1/resolve?ref=vinvcn/mattpocock-skills-zh-cn/scaffold-exercises GET https://markdownregistry.com/api/v1/blob/87b87db22239d750b5ba7418e3a2029380ce8cf68f8be8f986a5bf109fbac8cf
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 vinvcn/mattpocock-skills-zh-cn
Every file in vinvcn/mattpocock-skills-zh-cn