Generating Practice Questions logo

Generating Practice Questions

OrganizationPopular
datawhalechina
generating-practice-questions

Generate educational practice questions from lecture notes to test student understanding. Use when users request practice questions, exam preparation materials, study guides, or assessment items based on lecture content.

Overview

Publisherdatawhalechina
Repositoryagent-skills-with-anthropic
Skill namegenerating-practice-questions
Stars
1.5K
Forks
198
Bundled files
3
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by datawhalechina on GitHub. Read the source before you install it.

Installation

Install the Generating Practice Questions AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.

Use it in TypingMind

Enable Generating Practice Questions in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Generating Practice Questions on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Generating Practice Questions is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Practice Question Generator

Generate comprehensive practice questions from lecture notes to test student understanding of learning objectives and key concepts.

Input

Supported formats: LaTeX (.tex), PDF, Markdown (.md), plain text (.txt)

  • PDF: Use pdfplumber for text extraction

  • LaTeX: Read as text, strip preamble (everything before \begin{document}), preserve math environments ($...$, \[...\], \begin{equation}, etc.)

  • Markdown/Text

Content to extract:

  1. Learning objectives - Usually at beginning: "After this lecture, you should be able to..." or may be in section: "Learning Outcomes","Objectives", "Goals". If absent, derive from main topics.
  2. Main topics - Section headings, bold terms, definitions, algorithms.
  3. Examples - Use for realistic scenarios in questions.

Question Structure

Generate questions in this order:

  1. True/False (one per learning objective, or 3-5 if no objectives)
  2. Explanatory Questions (3-5 covering main topics)
  3. Coding Question (1 algorithm implementation or concept simulation)
  4. Use Case (1 realistic application)

For each question type, follow guidelines below, and never include answer key.

Question Guidelines

Type 1: True/False

Test factual understanding and common misconceptions.

Coverage:

  • One per learning objective, or 3-5 covering main topics if no objectives

Difficulty progression:

  • Start with 1-2 simple definitional questions
  • Include 2-3 reasoning-based questions requiring concept application or testing relationships between concepts

Quality criteria:

  • Unambiguous with one correct interpretation
  • Clear language without complex nested clauses
  • Answer directly found in lecture notes
  • Wrong answer reveals common misconception

Examples:

  • Easy: "In supervised learning, the training data includes both input features and their corresponding labels."
  • Medium: "A model with high training accuracy but low test accuracy is likely underfitting the data."

Type 2: Explanatory Questions

Test deeper understanding by requiring students to articulate concepts, compare approaches, and explain reasoning.

Topic selection:

  • Choose 3-5 main topics (key algorithms and their implementations, Advantages/limitations of approaches, Relationships between concepts)
  • Avoid repetition: If topic appears in T/F, ask about a different aspect

Question formulations:

  • "Explain..." - requires description in student's words
  • "Compare and contrast..." - tests understanding of differences
  • "Why does..." - tests causal reasoning
  • "What are the advantages/disadvantages..." - tests critical analysis
  • "Describe the steps..." - tests procedural knowledge

Quality criteria:

  • Open-ended but focused
  • Cannot be answered with simple yes/no
  • Requires 3-5 sentences to answer well

Examples:

  • "Explain the bias-variance tradeoff. How does increasing model complexity affect bias and variance?"
  • "Compare K-Nearest Neighbors and Decision Trees in terms of decision boundaries, training time, and prediction time."

Type 3: Coding Question

Test practical implementation through code.

Scope:

  • Implementation of an algorithm discussed in lecture
  • Simulation of a concept or process
  • Must be achievable with lecture knowledge only
  • Should take 15-30 minutes for prepared student

Required structure:

  1. Clear objective
  2. Step-by-step instructions (3-5 steps)
  3. Function signature (if applicable)
  4. Expected behavior with input/output examples
  5. Hints (optional but helpful)

Language:

  • Python (default) with standard library.
  • If using external libraries: NumPy, pandas, matplotlib, scikit-learn.
  • Should not require advanced Python features

Type 4: Use Case Question

Test ability to apply concepts or algorithms explained in lecture notes to realistic scenarios.

Components:

  1. Context - Realistic scenario description
  2. Data description - What data is available (provide generation code if needed)
  3. Task - What needs accomplishment
  4. Constraints (optional) - Time, space, accuracy requirements
  5. Hints (2-3) - Guidance without giving solution
  6. Libraries - Can use scikit-learn, pandas, NumPy

Data generation: If needed, provide simple, clear code to generate appropriate data.

Output Format Guidelines

Output format depends on user request (LaTeX, PDF, Markdown, plain text).

General structure for all formats:

  1. Title with document name
  2. Instructions section
  3. Part 1: True/False Questions (numbered sequentially)
  4. Part 2: Explanatory Questions (numbered sequentially)
  5. Part 3: Coding Question (with steps, signature, examples, hints)
  6. Part 4: Use Case Application (with scenario, data, task, requirements, hints)

For specific formats: For LaTeX and Markdown document structures, use the following templates (in assets/ folder):

  • questions_template.tex - Complete LaTeX document structure with formatting
  • markdown_template.md - Complete Markdown document structure

Supporting Resources

References (in references/ folder):

  • examples_by_topic.md - Domain-specific question examples for ML topics (algorithms, preprocessing, evaluation, etc.)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Generating Practice Questions AI skill do?

Generate educational practice questions from lecture notes to test student understanding. Use when users request practice questions, exam preparation materials, study guides, or assessment items based on lecture content.

Why use Generating Practice Questions on TypingMind?

Because you install it once and use it with any model. Generating Practice Questions is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Generating Practice Questions in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/datawhalechina/agent-skills-with-anthropic/tree/main/6.Creating%20Custom%20Skills(自定义skills)/generating-practice-questions. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Generating Practice Questions?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Generating Practice Questions?

As many as you like. As long as a model supports skills, you can use Generating Practice Questions with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Generating Practice Questions AI skill free?

It is published on GitHub by datawhalechina. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇