Scaffold Exercises
fossasia/eventyay-interpretation
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting.
创建包含章节、题目、答案和讲解的练习目录结构,并确保通过 linting。适用于用户想 scaffold exercises、创建 exercise stubs,或设置新的课程章节时。
$ npx skills add vinvcn/mattpocock-skills-zh-CN --skill scaffold-exercises -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install vinvcn/mattpocock-skills-zh-CN scaffold-exercises --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/vinvcn/mattpocock-skills-zh-CN.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/misc/scaffold-exercises .claude/skills/scaffold-exercises && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "scaffold-exercises" agent skill from https://github.com/vinvcn/mattpocock-skills-zh-CN/tree/main/skills/misc/scaffold-exercises into .claude/skills/scaffold-exercises/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scaffold-exercises", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/vinvcn/mattpocock-skills-zh-CN/tree/main/skills/misc/scaffold-exercisesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add vinvcn/mattpocock-skills-zh-CN --skill scaffold-exercises -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install vinvcn/mattpocock-skills-zh-CN scaffold-exercises --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinvcn/mattpocock-skills-zh-CN.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/misc/scaffold-exercises .agents/skills/scaffold-exercises && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "scaffold-exercises" agent skill from https://github.com/vinvcn/mattpocock-skills-zh-CN/tree/main/skills/misc/scaffold-exercises into .agents/skills/scaffold-exercises/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scaffold-exercises", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add vinvcn/mattpocock-skills-zh-CN --skill scaffold-exercises -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install vinvcn/mattpocock-skills-zh-CN scaffold-exercises --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinvcn/mattpocock-skills-zh-CN.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/misc/scaffold-exercises .cursor/skills/scaffold-exercises && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "scaffold-exercises" agent skill from https://github.com/vinvcn/mattpocock-skills-zh-CN/tree/main/skills/misc/scaffold-exercises into .cursor/skills/scaffold-exercises/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scaffold-exercises", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/vinvcn/mattpocock-skills-zh-CN.git --path skills/misc/scaffold-exercises--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add vinvcn/mattpocock-skills-zh-CN --skill scaffold-exercises -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install vinvcn/mattpocock-skills-zh-CN scaffold-exercises --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinvcn/mattpocock-skills-zh-CN.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/misc/scaffold-exercises .gemini/skills/scaffold-exercises && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "scaffold-exercises" agent skill from https://github.com/vinvcn/mattpocock-skills-zh-CN/tree/main/skills/misc/scaffold-exercises into .gemini/skills/scaffold-exercises/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scaffold-exercises", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install vinvcn/mattpocock-skills-zh-CN scaffold-exercisesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add vinvcn/mattpocock-skills-zh-CN --skill scaffold-exercises -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/vinvcn/mattpocock-skills-zh-CN.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/misc/scaffold-exercises .github/skills/scaffold-exercises && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "scaffold-exercises" agent skill from https://github.com/vinvcn/mattpocock-skills-zh-CN/tree/main/skills/misc/scaffold-exercises into .github/skills/scaffold-exercises/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scaffold-exercises", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add vinvcn/mattpocock-skills-zh-CN --skill scaffold-exercises -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install vinvcn/mattpocock-skills-zh-CN scaffold-exercises --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinvcn/mattpocock-skills-zh-CN.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/misc/scaffold-exercises .opencode/skills/scaffold-exercises && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "scaffold-exercises" agent skill from https://github.com/vinvcn/mattpocock-skills-zh-CN/tree/main/skills/misc/scaffold-exercises into .opencode/skills/scaffold-exercises/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scaffold-exercises", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
scaffold-exercises创建包含章节、题目、答案和讲解的练习目录结构,并确保通过 linting。适用于用户想 scaffold exercises、创建 exercise stubs,或设置新的课程章节时。
Scaffold Exercises is an agent skill from vinvcn/mattpocock-skills-zh-CN. 创建包含章节、题目、答案和讲解的练习目录结构,并确保通过 linting。适用于用户想 scaffold exercises、创建 exercise stubs,或设置新的课程章节时。
Its SKILL.md is about 750 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
It sits in Development, covering Linting and formatting. It works with pnpm. The repository describes itself as: 这是 mattpocock/skills 的简体中文本地化版本。 The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit bf98e53. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pnpmgitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pnpm and git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Scaffold Exercises loads about 748 tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 202 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from vinvcn/mattpocock-skills-zh-CN at commit bf98e53, republished under its MIT licence (© vinvcn). 202 words, ~748 tokens.
.claude/skills/scaffold-exercises/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.创建能通过 pnpm ai-hero-cli internal lint 的 exercise directory structures,然后用 git commit 提交。
exercises/ 下的 XX-section-name/(例如 01-retrieval-skill-building)XX.YY-exercise-name/(例如 01.03-retrieval-with-bm25)XX,exercise number = XX.YY每个 exercise 至少需要这些 subfolders 中的一个:
problem/ - student workspace,包含 TODOssolution/ - reference implementationexplainer/ - conceptual material,不含 TODOs创建 stub 时,除非 plan 指定其他 variant,否则默认使用 explainer/。
每个 subfolder(problem/、solution/、explainer/)都需要一个 readme.md,要求:
创建 stub 时,生成带 title 和 description 的最小 readme:
# Exercise Title
Description here如果 subfolder 有 code,还需要 main.ts(>1 行)。但对 stubs 来说,readme-only exercise 可以接受。
mkdir -preadme.mdpnpm ai-hero-cli internal lint 验证linter(pnpm ai-hero-cli internal lint)检查:
problem/、solution/、explainer/)problem/、explainer/ 或 explainer.1/ 之一readme.md.gitkeep filesspeaker-notes.md filespnpm run exercise commandsmain.ts重新编号或移动 exercises 时:
git mv(不是 mv)重命名 directories,保留 git historyExample:
git mv exercises/01-retrieval/01.03-embeddings exercises/01-retrieval/01.04-embeddings给定这样的 plan:
Section 05: Memory Skill Building
- 05.01 Introduction to Memory
- 05.02 Short-term Memory (explainer + problem + solution)
- 05.03 Long-term Memory创建:
mkdir -p exercises/05-memory-skill-building/05.01-introduction-to-memory/explainer
mkdir -p exercises/05-memory-skill-building/05.02-short-term-memory/{explainer,problem,solution}
mkdir -p exercises/05-memory-skill-building/05.03-long-term-memory/explainer然后创建 readme stubs:
exercises/05-memory-skill-building/05.01-introduction-to-memory/explainer/readme.md -> "# Introduction to Memory"
exercises/05-memory-skill-building/05.02-short-term-memory/explainer/readme.md -> "# Short-term Memory"
exercises/05-memory-skill-building/05.02-short-term-memory/problem/readme.md -> "# Short-term Memory"
exercises/05-memory-skill-building/05.02-short-term-memory/solution/readme.md -> "# Short-term Memory"
exercises/05-memory-skill-building/05.03-long-term-memory/explainer/readme.md -> "# Long-term Memory"© vinvcn, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/misc/scaffold-exercises of vinvcn/mattpocock-skills-zh-CN.
Open the folder on GitHubat commit bf98e53
Scaffold Exercises next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Scaffold Exercises this skillvinvcn/mattpocock-skills-zh-CN | 4.7k | — | ~748 | Automated safety check: Pass | MIT | |
| Scaffold Exercisesfossasia/eventyay-interpretation | 1.6k | 11 repos | ~898 | Automated safety check: Pass | Apache-2.0 | |
| WooCommerce Dev Cyclewoocommerce/woocommerce | 11k | 3 repos | ~431 | Automated safety check: Pass | Custom licence | |
| Check Pushpockethost/pockethost | 1.4k | — | ~665 | Automated safety check: Pass | MIT | |
| Antfuoyjt/uniapp-vue3-template | 627 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Add Plugin Ruleeslint-config/airbnb-extended | 130 | — | ~646 | Automated safety check: Pass | MIT |
fossasia/eventyay-interpretation
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting.
woocommerce/woocommerce
Workflow for WooCommerce development: run PHP and JavaScript tests, lint and fix code style on the current branch, and follow guides for i18n and markdown.
pockethost/pockethost
Run pnpm check:push (lint, types, tests) before git push or PR-ready work.
oyjt/uniapp-vue3-template
Anthony Fu's {Opinionated} preferences and best practices for web development
eslint-config/airbnb-extended
Fix the "<Plugin Updated with <rule" build error from script/checkUpdates.ts by adding a new or deprecated plugin rule to the right rules/ file.
digitaldemocracy2030/kouchou-ai
Local development setup, build and lint commands, environment configuration, and deployment helpers for the kouchou-ai repo.
vinvcn/mattpocock-skills-zh-CN
设置 Claude Code hooks,在危险 git commands(push、reset --hard、clean、branch -D 等)执行前阻止它们。适用于用户想防止破坏性 git 操作、添加 git safety hooks,或在 Claude Code 中阻止 git push/reset 时。
vinvcn/mattpocock-skills-zh-CN
用于设计深模块的共享词汇。适用于用户想设计或改进模块接口、寻找深化机会、决定 seam 放在哪里、让代码更容易测试或更适合 AI 导航,或其他技能需要深模块词汇时。
vinvcn/mattpocock-skills-zh-CN
面向棘手缺陷和性能回退的诊断循环。适用于用户说 “diagnose” / “debug this”,或报告某些东西 broken、throwing、failing、slow 时。
vinvcn/mattpocock-skills-zh-CN
构建并打磨项目的领域模型。适用于讨论 codebase 术语、编写或编辑 GLOSSARY.md,或记录或编辑 ADR。
vinvcn/mattpocock-skills-zh-CN
将测试文件从 as 类型断言迁移到 @total-typescript/shoehorn。适用于用户提到 shoehorn、想替换测试中的 as,或需要局部测试数据时。
vinvcn/mattpocock-skills-zh-CN
用于撰写 PR 正文。适用于用户要求起草、改写或改进 PR 正文,或希望 PR 更便于审阅时. An agent skill from vinvcn/mattpocock-skills-zh-CN.
Works with
Categories
创建包含章节、题目、答案和讲解的练习目录结构,并确保通过 linting。适用于用户想 scaffold exercises、创建 exercise stubs,或设置新的课程章节时。. Scaffold Exercises is an agent skill from vinvcn/mattpocock-skills-zh-CN.
Scaffold Exercises fits situations like: tasks that involve Linting and formatting.
Run `npx skills add vinvcn/mattpocock-skills-zh-CN --skill scaffold-exercises -a claude-code`. Or copy the skill folder (skills/misc/scaffold-exercises in vinvcn/mattpocock-skills-zh-CN) into .claude/skills/scaffold-exercises in your project. Claude Code loads it when a task matches its description.
Run `npx skills add vinvcn/mattpocock-skills-zh-CN --skill scaffold-exercises -a codex`. Or copy the skill folder (skills/misc/scaffold-exercises in vinvcn/mattpocock-skills-zh-CN) into .agents/skills/scaffold-exercises in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vinvcn/mattpocock-skills-zh-CN --skill scaffold-exercises -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/scaffold-exercises, .gemini/skills/scaffold-exercises, .github/skills/scaffold-exercises and .opencode/skills/scaffold-exercises in your project.
Going by SKILL.md and its folder, Scaffold Exercises needs the command-line tools its instructions call (pnpm and git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Scaffold Exercises is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 748 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Scaffold Exercises: Scaffold Exercises (fossasia/eventyay-interpretation, 1.6k stars), WooCommerce Dev Cycle (woocommerce/woocommerce, 11k stars), Check Push (pockethost/pockethost, 1.4k stars) and Antfu (oyjt/uniapp-vue3-template, 627 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
vinvcn (a GitHub user) maintains it in vinvcn/mattpocock-skills-zh-CN, which has 4,682 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on October 8, 2026.
Source: vinvcn/mattpocock-skills-zh-CN on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.