scaffold-exercises
仓库创建 2026年7月6日最近提交 21 天前SkillHot 收录 20 天前
▸ 精选理由
省去手工搭建练习目录和命名规则,适合构建学习课程和练习仓库。
这个 Skill 做什么
生成符合规范并通过 lint 的课程练习目录与题目存根结构。
帮你自动搭好符合课程规范的练习目录和题目存根,章节编号、练习编号和文件夹命名都会按规则组织并能通过 lint 检查。常在新建课程、增加章节或快速生成练习骨架时用,省掉手工建目录和改命名的麻烦。特别之处是会遵循 pnpm ai-hero-cli internal lint 的规则并准备好用 Git 提交,保证一套可被团队接手的规范结构。
▸ 展开 SKILL.md 英文原文
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
0
Stars
0
Forks
38
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/K3639284/skills/main/skills/misc/scaffold-exercises/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/K3639284/skills/main/skills/misc/scaffold-exercises/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Scaffold Exercises Create exercise directory structures that pass `pnpm ai-hero-cli internal lint`, then commit with `git commit`. ## Directory naming - **Sections**: `XX-section-name/` inside `exercises/` (e.g., `01-retrieval-skill-building`) - **Exercises**: `XX.YY-exercise-name/` inside a section (e.g., `01.03-retrieval-with-bm25`) - Section number = `XX`, exercise number = `XX.YY` - Names are dash-case (lowercase, hyphens) ## Exercise variants Each exercise needs at least one of these subfolders: - `problem/` - student workspace with TODOs - `solution/` - reference implementation - `explainer/` - conceptual material, no TODOs When stubbing, default to `explainer/` unless the pla
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有