Not loaded · from mattpocock-skills
Creates exercise directory structures with sections, exercises, problems, solutions, and explainers, then validates with lint. Use when scaffolding exercises, creating stubs, or adding course chapters.
Claude Code won't load this skill
It ships in mattpocock-skills at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
创建能通过 pnpm ai-hero-cli internal lint 的练习目录结构,然后用 git commit 提交。
exercises/ 内的 XX-section-name/(例如 01-retrieval-skill-building)XX.YY-exercise-name/(例如 01.03-retrieval-with-bm25)XX,练习编号 = XX.YY每个练习需要以下子文件夹中的至少一个:
problem/ —— 带 TODO 的学员工作区solution/ —— 参考实现explainer/ —— 概念性材料,无 TODO生成桩代码时,除非计划另有规定,否则默认使用 explainer/。
每个子文件夹(problem/、solution/、explainer/)都需要一个 readme.md,要求:
生成桩代码时,创建一个带标题和描述的最小 readme:
# Exercise Title
Description here
如果子文件夹有代码,还需要一个 main.ts(多于 1 行)。但对于桩代码而言,只有 readme 的练习也可以。
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 文件speaker-notes.md 文件pnpm run exercise 命令main.ts重新编号或移动练习时:
git mv(而非 mv)重命名目录 —— 保留 git 历史示例:
git mv exercises/01-retrieval/01.03-embeddings exercises/01-retrieval/01.04-embeddings
给定这样一个计划:
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 桩:
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"
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
scaffolding, exercises, lint, course-structure, directory-structure
Generated from the plugin's indexed repository (wenwuzhidao/mattpocock-skills-zh) — no native marketplace selected
npx claudepluginhub p/wenwuzhidao-mattpocock-skills35 skills in this plugin
/code-review审查自某个固定基点(commit、分支、tag 或 merge-base)以来的改动,沿两条轴进行——标准(代码是否遵循本仓库记录的编码规范?)和规格(代码是否符合源头工单/规格的要求?)。两项审查在并行子 agent 中运行,并把结果并排报告。当用户想审查一个分支、一个 PR、进行中的改动,或要求「审查自 X 以来」时使用。Other plugins' skills for the same job