بنقرة واحدة
scaffold-exercises
创建包含章节, 问题, 解决方案和通过 linting 的说明的练习目录结构. 当用户想要搭建练习, 创建练习存根, 设置新课程章节, 提到 "练习脚手架" 或 "生成练习目录" 时使用.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
创建包含章节, 问题, 解决方案和通过 linting 的说明的练习目录结构. 当用户想要搭建练习, 创建练习存根, 设置新课程章节, 提到 "练习脚手架" 或 "生成练习目录" 时使用.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Convert EPUB books into clean, narration-friendly plain text for local VibeVoice audiobook generation, with optional chunking for stable long-form TTS. Use when the user has an .epub and wants text cleanup, chunk prep, or a local audiobook workflow for VibeVoice.
Convert technical book chapters, papers, tutorials, or lecture notes into precise but listenable audiobook narration scripts, especially when the source contains LaTeX formulas and code in Lisp, C, Java, C#, or similar languages. Use this skill for math/code narration, SSML scripts, audiobook production plans, synchronized transcripts, and compact-vs-precise reading policies.
Help build, debug, refactor, test, and review ClojureDart applications that target Flutter, native mobile/desktop, web, or plain Dart. Use when the user asks about ClojureDart, .cljd files, cljd.build, deps.edn :cljd/opts, cljd.flutter, Dart package interop from Clojure syntax, Flutter widget construction in ClojureDart, hot reload, REPL, or ClojureDart testing.
使用捆绑的 Babashka 脚本修复 Emacs Lisp、Scheme、Common Lisp 等 Lisp 文件的括号/分隔符错误。 当用户提到 Lisp 括号错配、Paren Edit Death Loop、`.el/.lisp/.scm` 文件修复,或想在 Claude Code、Codex、Gemini 中批量修复非 Clojure Lisp 文件时使用。
从当前对话中提取 DDD 风格的通用语言术语表, 标记歧义并提出规范术语. 保存到 UBIQUITOUS_LANGUAGE.md. 当用户想要定义领域术语, 构建术语表, 强化术语, 创建通用语言, 提到 "通用语言", "术语表", "domain model" 或 "DDD" 时使用.
在 Clojure 项目中组合使用 `clj-nrepl-eval`、`clj-paren-repair-claude-hook` 和 `clj-paren-repair` 来完成 nREPL 求值与分隔符修复. 当用户提到 Clojure、nREPL、括号/分隔符错误、Paren Edit Death Loop、Claude hooks,或想在 Claude Code、Codex、Gemini 中验证和修复 `.clj/.cljs/.cljc/.bb` 文件时使用.
استنادا إلى تصنيف SOC المهني
| name | scaffold-exercises |
| description | 创建包含章节, 问题, 解决方案和通过 linting 的说明的练习目录结构. 当用户想要搭建练习, 创建练习存根, 设置新课程章节, 提到 "练习脚手架" 或 "生成练习目录" 时使用. |
创建通过 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:
# 练习标题
在此填写描述
如果子文件夹有代码, 它还需要一个 main.ts(>1 行). 但对于存根, 只有 readme 的练习也可以.
1.** 解析计划** - 提取章节名称, 练习名称和变体类型
2.** 创建目录** - 为每个路径使用 mkdir -p
3.** 创建存根 readmes** - 每个变体文件夹一个带标题的 readme.md
4.** 运行 lint** - pnpm ai-hero-cli internal lint 以验证
5.** 修复任何错误** - 迭代直到 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, 除非它是仅 readme重新编号或移动练习时:
git mv(而非 mv)重命名目录 - 保留 git 历史示例:
git mv exercises/01-retrieval/01.03-embeddings exercises/01-retrieval/01.04-embeddings
给定如下计划:
第 05 节: 记忆技能构建
- 05.01 记忆简介
- 05.02 短期记忆(explainer + problem + solution)
- 05.03 长期记忆
创建:
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 -> "# 记忆简介"
exercises/05-memory-skill-building/05.02-short-term-memory/explainer/readme.md -> "# 短期记忆"
exercises/05-memory-skill-building/05.02-short-term-memory/problem/readme.md -> "# 短期记忆"
exercises/05-memory-skill-building/05.02-short-term-memory/solution/readme.md -> "# 短期记忆"
exercises/05-memory-skill-building/05.03-long-term-memory/explainer/readme.md -> "# 长期记忆"