Quiz Generator
by @ahmed181283
Generate quizzes and assessments from any topic or content. Create questions of varying difficulty (easy, medium, hard), multiple formats (multiple choice, t...
clawhub install quiz-creatorπ About This Skill
name: quiz-generator description: Generate quizzes and assessments from any topic or content. Create questions of varying difficulty (easy, medium, hard), multiple formats (multiple choice, true/false, fill-in-blank), with answers and detailed explanations. Use when the user asks to create a quiz, test knowledge, generate questions, or build assessments.
Quiz Generator
Overview
Generate comprehensive quizzes from topics, documents, or learning materials. Include questions of varying difficulty, different question formats, correct answers, and detailed explanations to reinforce learning.
Quiz Structure
Required Elements
1. Quiz Title and Description - Clear, descriptive title - Topic focus - Target audience level - Estimated completion time - Question count
2. Questions Each question must include: - Question text - Question difficulty (easy/medium/hard) - Question type (see formats below) - Correct answer(s) - Detailed explanation - Optional: reference to source material
3. Answer Key - Quick reference for all correct answers - Usually at the end of the quiz
4. Scoring Guide (optional) - How many points per question - What score indicates mastery - Recommended follow-up based on score ranges
Question Formats
#### Multiple Choice (default)
#### True/False
#### Fill-in-the-Blank
#### Short Answer
#### Matching
Difficulty Guidelines
Easy
Medium
Hard
Writing Guidelines
Question Quality
Explanations
Distractor Generation
Example Question
### Question 3 (Medium)
What is the primary purpose of environment variables in application configuration?A) To store sensitive credentials securely
B) To configure application behavior across environments
C) To manage database connections
D) To handle user authentication
Correct Answer: B
Explanation: Environment variables allow applications to be configured differently across development, testing, and production environments without changing code. While they can store credentials (A), their primary purpose is configuration flexibility. Database connections (C) and authentication (D) are specific use cases, not the primary purpose.
Generation Workflow
1. Understand the Source - Read the topic or provided material - Identify key concepts, facts, and relationships - Note common pitfalls or misconceptions
2. Plan Question Distribution - Target: 40% easy, 40% medium, 20% hard - Mix question types based on content - Ensure coverage of all key topics
3. Generate Questions - Draft questions with answers and explanations - Review for clarity and accuracy - Check that explanations actually explain
4. Review and Refine - Remove redundant or overlapping questions - Ensure difficulty is consistent - Verify all answers are correct - Add a practice question or bonus if appropriate
Output Format
Deliver the quiz in the user's preferred format:
JSON Format Example
{
"title": "Web Development Fundamentals Quiz",
"description": "Test your knowledge of HTML, CSS, and JavaScript basics",
"questions": [
{
"id": 1,
"difficulty": "easy",
"type": "multiple_choice",
"question": "What does HTML stand for?",
"options": [
"Hyper Text Markup Language",
"High Tech Modern Language",
"Hyper Transfer Markup Language",
"Home Tool Markup Language"
],
"correct_answer": 0,
"explanation": "HTML stands for Hyper Text Markup Language. It's the standard markup language for creating web pages."
}
],
"answer_key": {
"1": "A"
}
}
Quality Checklist
Before finalizing a quiz, verify: