生成测验批次
diegosouzapw2026-10-26查看 1640复制 1986
为 BlindsidedGames 题库生成批量高质量 JSON 格式测验,按难度分类和评级。
📘如何使用这个技能
- 1复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
- 2打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
- 3粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
- 4直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景
💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。
SKILL.md2930 chars
---
name: generate_quiz_batch
description: Generates batches of high quality quizzes in JSON format for the BlindsidedGames pool, categorised and rated by difficulty.
---
# Generate Quiz Batch Skill
Use this skill to generate specific numbers of quiz files for the BlindsidedGames quiz pool.
## Requirements
When the user asks you to generate quizzes, they will specify a topic/category, a difficulty level (Easy, Medium, Hard), and the **configurable number of quizzes** they want to generate in a batch (e.g., "generate 5 distinct Easy History quizzes").
For **EACH** quiz requested in the batch (repeat this process N times):
1. Generate exactly 10 questions on the requested category at the requested difficulty. Ensure they are unique compared to other quizzes in the batch.
2. The 10 questions MUST follow this exact distribution:
- 1 `multiple-choice` question
- 2 `true-false` questions
- 7 `self-eval` questions
3. Ensure the quality of the questions is appropriate for the target audience. CRITICAL: Do not include the answer (or obvious parts of the answer) within the wording of the question itself (e.g., asking "What insects build anthills?" when the answer is "Ants").
4. Output the quiz as a JSON file saved in `quizzes/`. The filename format should be `[category]_[difficulty]_[xx].json` (e.g. `biology_hard_01.json`).
## JSON Schema Example
```json
{
"id": "biology_hard_01",
"title": "Hard Biology Quiz 1",
"sections": [
{
"title": "Biology",
"items": [
{
"type": "multiple-choice",
"q": "What is the powerhouse of the cell?",
"options": ["Nucleus", "Ribosome", "Mitochondria", "Lysosome"],
"a": "Mitochondria",
"explanation": "Mitochondria generate most of the chemical energy needed to power the cell's biochemical reactions."
},
{
"type": "true-false",
"q": "All mammals give birth to live young.",
"options": ["True", "False"],
"a": "False",
"explanation": "Monotremes like the platypus are mammals that lay eggs."
},
{
"type": "self-eval",
"q": "Describe the process of photosynthesis.",
"a": "Photosynthesis is the process by which plants convert light energy into chemical energy, using water and carbon dioxide to create oxygen and energy in the form of sugar.",
"explanation": "This requires chlorophyll and sunlight."
}
// ... 7 more items to total 10
]
}
]
}
```
## Post-Generation Steps
After writing the quiz JSON files, you MUST update `quizzes/manifest.json`.
1. Parse the existing `quizzes/manifest.json`.
2. Append each new quiz you generated into the `quizzes` array with this format:
```json
{
"id": "biology_hard_01",
"category": "Biology",
"difficulty": "Hard",
"file": "biology_hard_01.json"
}
```
3. Save the updated `manifest.json`.