scaffold-exercises
创建课程章节与练习目录骨架并验证 lint;当用户要求 scaffold exercises、创建练习桩、设置课程章节,或调用 command/scaffold-exercises 时使用。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
创建课程章节与练习目录骨架并验证 lint;当用户要求 scaffold exercises、创建练习桩、设置课程章节,或调用 command/scaffold-exercises 时使用。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| id | scaffold-exercises |
| type | skill |
| name | Scaffold Exercises |
| description | 创建课程章节与练习目录骨架并验证 lint;当用户要求 scaffold exercises、创建练习桩、设置课程章节,或调用 command/scaffold-exercises 时使用。 |
当项目包含课程练习结构,用户要求创建章节、练习、problem/、solution/ 或 explainer/ 桩时使用。
exercises/pnpm ai-hero-cli internal lintgit mv、是否需要提交readme.md 桩references/exercise-structure.md,确认章节、练习、变体和必需文件规则。explainer/。git mv。readme.md。references/lint-and-git.md 迭代修复,直到通过或记录阻塞。speculo/.speculo/... 规范路径。references/exercise-structure.md:解析章节、练习编号、变体目录和必需文件时读取。references/lint-and-git.md:运行 lint、修复练习结构错误、移动目录或提交时读取。Manage git submodules for the learning-open-code mono-repo. Use when the user wants to: (1) Add a new git submodule — auto-detect or specify the category (open-ai-skills/open-sdd/open-ai-agent/open-ai-desktop/open-knowledge/open-productivity/open-java/open-trading/open-data), record the tracking branch in .gitmodules, clone the repo, and update README.md index. (2) Sync all existing submodules to their configured branches (git fetch + checkout branch + pull). (3) Update the root README.md with an up-to-date index of all synced projects grouped by category. (4) Initialize submodules after git clone — when open-*/ directories are empty or git submodule status returns nothing, guide through the full SOP (git submodule update --init --recursive [--remote]). Trigger keywords: submodule, git submodule, 子模块, add submodule, sync submodule, update submodule, submodule branch, README index, 更新索引, clone, init, 初始化子模块, submodule init, 拉取子模块.
对开源项目进行穷尽式教学文档生成——从宏观架构到微观实现的五层分级讲解,使用 Goal Loop 算法自主驱动完整代码覆盖。所有具体教学内容生成必须激活 `.agents/skills/teach/SKILL.md`。触发条件:用户要求"完整学习某个项目"、"生成项目架构文档"、"从入口到落地讲清楚每个功能"、"代码考古"、"源码分析"、或指定一个项目目录/仓库要求全面教学。
使用并行子 agent 为模块生成多个截然不同的接口设计。当用户想要设计 API、探索接口选项、比较模块形态,或提到 "设计两次" 时使用。
交互式 QA 会话,用户以对话方式报告 bug 或问题,agent 将其录入 GitHub Issue。在后台探索代码库以获取上下文和领域语言。当用户想要报告 bug、做 QA、以对话方式录入 issue,或提及 "QA session" 时使用。
通过用户访谈创建包含微小提交的详细重构计划,并将其录入 GitHub Issue。当用户想要规划重构、创建重构 RFC,或将重构分解为安全的渐进步骤时使用。
从当前对话中提取 DDD 风格的通用语言词汇表,标记歧义并提出规范术语。保存到 UBIQUITOUS_LANGUAGE.md。当用户想要定义领域术语、构建词汇表、固化术语、创建通用语言,或提到 "领域模型" 或 "DDD" 时使用。