원클릭으로
lesson-quiz
// Claude Code 单模块互动测验。Use when asked to "quiz me on hooks", "test my knowledge of lesson 3", "lesson quiz", "practice quiz for MCP", "do I understand skills", or similar Chinese requests.
// Claude Code 单模块互动测验。Use when asked to "quiz me on hooks", "test my knowledge of lesson 3", "lesson quiz", "practice quiz for MCP", "do I understand skills", or similar Chinese requests.
综合代码审查 skill,覆盖安全、性能、代码质量和可维护性。Use when users ask to review code, analyze code quality, evaluate pull requests, or mention code review, security analysis, or performance optimization.
根据想法和资料起草博客文章。Use when users want to draft a blog post, write an article from research, or turn notes/resources into a structured post.
保持品牌语气和写作风格一致。Use when creating marketing copy, customer communication, public-facing content, or when users mention brand voice, tone, or writing style.
按最佳实践创建或更新 CLAUDE.md,帮助 AI agent 更快理解项目。Use when users want to create, update, audit, or improve a CLAUDE.md file.
从源码生成准确、完整的 API 文档和技术说明。Use when creating or updating API docs, generating endpoint documentation, or when users mention API docs, endpoints, or documentation.
基于 Martin Fowler 方法论做系统化重构。Use when users ask to refactor code, improve structure, reduce technical debt, clean up legacy code, or improve maintainability.
| name | lesson-quiz |
| version | 1.0.0 |
| description | Claude Code 单模块互动测验。Use when asked to "quiz me on hooks", "test my knowledge of lesson 3", "lesson quiz", "practice quiz for MCP", "do I understand skills", or similar Chinese requests. |
这是一个针对单个 Claude Code lesson 的完整互动测验 skill,用于检查用户对某一课的理解程度。
如果用户提供了参数,就映射到 lesson 目录:
01 / slash-commands / commands → 01-slash-commands02 / memory → 02-memory03 / skills → 03-skills04 / subagents / agents → 04-subagents05 / mcp → 05-mcp06 / hooks → 06-hooks07 / plugins → 07-plugins08 / checkpoints → 08-checkpoints09 / advanced-features / advanced → 09-advanced-features10 / cli → 10-cli如果用户没提供参数,使用 AskUserQuestion 分 2-3 轮让用户选择 lesson。
先读取:
<lesson-directory>/README.mdreferences/question-bank.md优先使用题库中该 lesson 的预置题。
如果题库不足 8 题,可根据 lesson README 补充生成,但必须保持与 lesson 内容一致。
用 AskUserQuestion 询问用户当前是在:
Before (pre-test)During (progress check)After (mastery check)不同 timing 会影响结果解读。
每题必须包含这些信息:
categoryquestionoptionscorrectexplanationreview记录用户答案;每轮反馈不替代最终结果,所有 4 轮结束后仍要统一评分。
每题答对记 1 分,总分 8 分。
等级:
输出格式必须包含:
## 课程测验结果:[课程名称]
**得分:N/8** — [等级]
**测验时机**: [学习前 / 学习中 / 学习后]
**答题拆分**: 概念题正确 N 道,实践题正确 N 道
### 单题结果
| # | 类型 | 问题摘要 | 你的回答 | 结果 |
### 错题复盘
**Q[N]: [问题]**
- 你的回答:
- 正确答案:
- 解释:
- 复习建议:
### 按测验时机给出的反馈
[根据 pre-test / progress check / mastery check 给不同反馈]
### 推荐下一步
- [继续下一课 / 回看哪一节 / 重测 / 深入解释]
最后再用 AskUserQuestion 让用户选择:
Retake this quizQuiz another lessonExplain a topic I missedDone如果选第三项,先问错题编号,再读取该 lesson README 的相关部分,用中文解释并给例子。