check-understanding
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCheck Understanding
知识掌握检测
Test your knowledge of a completed phase from the AI Engineering from Scratch course.
测试你对《从零开始学AI工程》课程已完成阶段的知识掌握情况。
Activation
触发方式
This skill activates when the user says things like:
- or
/check-understanding 3/check-understanding deep-learning - "quiz me on phase 2"
- "test phase 1"
- "check my understanding of transformers"
- "do I know phase 3"
- "am I ready for the next phase"
当用户说出以下内容时,该技能会激活:
- 或
/check-understanding 3/check-understanding deep-learning - "quiz me on phase 2"
- "test phase 1"
- "check my understanding of transformers"
- "do I know phase 3"
- "am I ready for the next phase"
Input
输入
Accepts a phase number (0-19) or a phase name as argument. If no argument is provided, ask the user which phase they want to be tested on by listing all 20 phases.
接受阶段编号(0-19)或阶段名称作为参数。如果未提供参数,请列出全部20个阶段,询问用户想要测试哪个阶段。
Phase Map
阶段映射
Map the argument to the correct phase directory under :
phases/| Input | Directory | Phase Name |
|---|---|---|
| 0, setup, tooling | | Setup & Tooling |
| 1, math, math-foundations | | Math Foundations |
| 2, ml, ml-fundamentals | | ML Fundamentals |
| 3, deep-learning, dl | | Deep Learning Core |
| 4, cv, computer-vision, vision | | Computer Vision |
| 5, nlp | | NLP -- Foundations to Advanced |
| 6, speech, audio | | Speech & Audio |
| 7, transformers | | Transformers Deep Dive |
| 8, generative, gen-ai, genai | | Generative AI |
| 9, rl, reinforcement-learning | | Reinforcement Learning |
| 10, llms, llm, llms-from-scratch | | LLMs from Scratch |
| 11, llm-engineering, llm-eng | | LLM Engineering |
| 12, multimodal | | Multimodal AI |
| 13, tools, protocols, mcp | | Tools & Protocols |
| 14, agents, agent-engineering | | Agent Engineering |
| 15, autonomous | | Autonomous Systems |
| 16, multi-agent, swarms | | Multi-Agent & Swarms |
| 17, infrastructure, production, infra | | Infrastructure & Production |
| 18, ethics, safety, alignment | | Ethics, Safety & Alignment |
| 19, capstone, projects | | Capstone Projects |
将参数映射到下对应的阶段目录:
phases/| 输入 | 目录 | 阶段名称 |
|---|---|---|
| 0, setup, tooling | | Setup & Tooling |
| 1, math, math-foundations | | Math Foundations |
| 2, ml, ml-fundamentals | | ML Fundamentals |
| 3, deep-learning, dl | | Deep Learning Core |
| 4, cv, computer-vision, vision | | Computer Vision |
| 5, nlp | | NLP -- Foundations to Advanced |
| 6, speech, audio | | Speech & Audio |
| 7, transformers | | Transformers Deep Dive |
| 8, generative, gen-ai, genai | | Generative AI |
| 9, rl, reinforcement-learning | | Reinforcement Learning |
| 10, llms, llm, llms-from-scratch | | LLMs from Scratch |
| 11, llm-engineering, llm-eng | | LLM Engineering |
| 12, multimodal | | Multimodal AI |
| 13, tools, protocols, mcp | | Tools & Protocols |
| 14, agents, agent-engineering | | Agent Engineering |
| 15, autonomous | | Autonomous Systems |
| 16, multi-agent, swarms | | Multi-Agent & Swarms |
| 17, infrastructure, production, infra | | Infrastructure & Production |
| 18, ethics, safety, alignment | | Ethics, Safety & Alignment |
| 19, capstone, projects | | Capstone Projects |
Procedure
流程
Step 1: Resolve the Phase
步骤1:确定阶段
Parse the argument. If it is a number, validate it is between 0 and 19 inclusive. If the number is out of range, tell the user: "Phase [N] does not exist. Valid phases are 0-19." and show the full list for them to pick from. If it is a name or keyword, look it up in the Phase Map above. If the keyword does not match any entry in the map, tell the user: "Unknown phase '[keyword]'. Pick from the list below:" and present all 20 phases. If no argument is provided, ask the user to pick from the full list.
解析参数。如果是数字,验证其是否在0-19范围内。如果数字超出范围,告知用户:“Phase [N] 不存在。有效阶段为0-19。”并展示完整列表供用户选择。如果是名称或关键词,在上述阶段映射中查找。如果关键词与映射中的任何条目不匹配,告知用户:“未知阶段 '[keyword]'。请从以下列表中选择:”并展示全部20个阶段。如果未提供参数,请让用户从完整列表中选择。
Step 2: Read the Phase Content
步骤2:读取阶段内容
Use Glob to find all lesson directories under . For each lesson, read the file. These documents contain the teaching material you will generate questions from.
phases/<phase-dir>/docs/en.mdRead as many lesson docs as needed to cover the full breadth of the phase. If a phase has many lessons (15+), prioritize reading a representative spread: first few, middle, and last few.
使用Glob查找下的所有课程目录。对于每个课程,读取文件。这些文档包含用于生成问题的教学材料。
phases/<phase-dir>/docs/en.md根据需要读取足够多的课程文档,以覆盖该阶段的全部内容。如果一个阶段包含大量课程(15个以上),优先读取具有代表性的部分:前几个、中间几个和最后几个。
Step 3: Generate 8 Questions
步骤3:生成8道题目
Create exactly 8 multiple-choice questions drawn from the lesson content you just read:
Questions 1-4: Conceptual (What/Why)
These test understanding of ideas, definitions, and reasoning. Examples:
- "What is the purpose of X?"
- "Why does Y happen when Z?"
- "Which statement best describes the relationship between A and B?"
- "What problem does X solve?"
Questions 5-8: Practical (How/Build)
These test applied knowledge and implementation awareness. Examples:
- "How would you implement X?"
- "Which approach correctly solves Y?"
- "What is the correct order of steps to build Z?"
- "If you observe X during training, what should you do?"
Each question must have 3 or 4 answer options labeled A, B, C (and optionally D). Exactly one option is correct. The wrong options should be plausible but clearly incorrect to someone who studied the material.
Tag each question with the specific lesson it draws from (e.g., "Lesson 03: Matrix Transformations").
从刚刚读取的课程内容中创建恰好8道选择题:
第1-4题:概念类(What/Why)
这些题目测试对概念、定义和推理的理解。示例:
- “X的用途是什么?”
- “当Z发生时,Y为什么会出现?”
- “哪个陈述最能描述A和B之间的关系?”
- “X解决了什么问题?”
第5-8题:实践类(How/Build)
这些题目测试应用知识和实现认知。示例:
- “你会如何实现X?”
- “哪种方法能正确解决Y?”
- “构建Z的正确步骤顺序是什么?”
- “如果在训练过程中观察到X,你应该怎么做?”
每道题目必须有3或4个标记为A、B、C(可选D)的选项。恰好有一个选项是正确的。错误选项对于学习过该材料的人来说应该看似合理但明显错误。
为每道题目标记其来源的具体课程(例如,“Lesson 03: Matrix Transformations”)。
Step 4: Present Questions One at a Time
步骤4:逐个展示题目
Use the AskUserQuestion tool (or equivalent interactive prompt) to present each question individually. Format:
Question 1/8 (Conceptual) -- from Lesson 03: Matrix Transformations
What is the geometric interpretation of an eigenvalue?
A) The angle of rotation applied by the matrix
B) The factor by which the eigenvector is scaled during transformation
C) The determinant of the transformation matrix
D) The rank of the matrix after transformationWait for the user's answer before moving to the next question.
使用AskUserQuestion工具(或等效的交互式提示)逐个展示题目。格式如下:
Question 1/8 (Conceptual) -- from Lesson 03: Matrix Transformations
What is the geometric interpretation of an eigenvalue?
A) The angle of rotation applied by the matrix
B) The factor by which the eigenvector is scaled during transformation
C) The determinant of the transformation matrix
D) The rank of the matrix after transformation等待用户回答后再展示下一道题目。
Step 5: Track and Score
步骤5:跟踪与评分
Keep a running tally:
- Total correct out of 8
- For each wrong answer, record: the question number, the user's answer, the correct answer, and which lesson it came from
记录实时统计:
- 8道题中的答对总数
- 对于每道答错的题目,记录:题目编号、用户答案、正确答案以及来源课程
Step 6: Show Results
步骤6:展示结果
After all 8 questions, display the score and grade:
7-8 correct: Mastered
If the phase is 19 (Capstone Projects): "You have mastered the final phase. Congratulations, you have completed the entire curriculum."
Otherwise: "You have a strong grasp of Phase N. You are ready to move on to Phase N+1: [next phase name]."
5-6 correct: Almost
"Solid foundation. Review these specific areas before moving on:"
Then list the lessons tied to the missed questions.
3-4 correct: Developing
"You are building understanding but need to revisit some lessons:"
Then list each missed question with the lesson to re-read.
0-2 correct: Start Over
"This phase needs more time. Work through the lessons again from the beginning, focusing on:"
Then list all missed topics.
完成全部8道题目后,显示得分和评级:
7-8题正确:精通
如果阶段是19(Capstone Projects):“你已经掌握了最后一个阶段。恭喜你完成了全部课程内容。”
否则:“你已牢固掌握Phase N的内容。可以进入下一阶段Phase N+1:[下一阶段名称]。”
5-6题正确:接近精通
“基础扎实。在进入下一阶段前,请复习以下特定内容:”
然后列出答错题目对应的课程。
3-4题正确:正在提升
“你正在逐步建立理解,但需要重新学习部分课程:”
然后列出每道答错的题目及其对应的复习课程。
0-2题正确:重新开始
“你需要在这个阶段投入更多时间。请从头重新学习课程内容,重点关注:”
然后列出所有答错的主题。
Step 7: Wrong Answer Breakdown
步骤7:错题解析
For every question the user got wrong, show:
Question N: [question text, abbreviated]
Your answer: B
Correct answer: C -- [the correct option text]
Why: [1-2 sentence explanation of why C is correct]
Review: Lesson NN -- [lesson name] (phases/<phase-dir>/NN-<lesson-slug>/docs/en.md)对于用户答错的每道题目,展示:
Question N: [简化后的题目文本]
Your answer: B
Correct answer: C -- [正确选项文本]
Why: [1-2句话解释为什么C正确]
Review: Lesson NN -- [课程名称] (phases/<phase-dir>/NN-<lesson-slug>/docs/en.md)Step 8: What Next?
步骤8:下一步操作
End by offering three choices:
- Retake this quiz -- generate a fresh set of 8 questions from the same phase
- Try another phase -- pick a different phase to test
- Explain a topic -- ask about any concept from the questions you missed
Wait for the user's choice and act accordingly.
最后提供三个选项:
- 重测本阶段 -- 从同一阶段生成一套全新的8道题目
- 测试其他阶段 -- 选择另一个阶段进行测试
- 讲解某个主题 -- 询问你答错题目中的任何概念
等待用户选择并相应执行操作。
Rules
规则
- Avoid repeating questions on retakes until the question pool is exhausted. Once exhausted, reshuffle or rephrase questions for subsequent retakes.
- Questions must be directly grounded in the lesson docs, not general knowledge.
- Do not show the correct answer until after the user responds.
- Keep question text concise. One or two sentences max.
- Wrong options must be plausible. No joke answers.
- If a phase has no lesson docs written yet (no files found), tell the user: "Phase N does not have lesson content yet. Pick a completed phase to quiz on."
en.md
- 在重新测试时,避免重复题目,直到试题库用尽。试题库用尽后,对后续重新测试的题目进行重新排序或改写。
- 题目必须直接基于课程文档,而非通用知识。
- 在用户回答前,不得显示正确答案。
- 题目文本需简洁,最多1-2句话。
- 错误选项必须看似合理,不得使用玩笑选项。
- 如果某个阶段尚未编写课程文档(未找到文件),告知用户:“Phase N暂无课程内容。请选择已完成的阶段进行测验。”
en.md