quiz-engine

Automate creation and validation of diverse quiz exercises in a learning app.

3|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/YanCheng-go/danskprep --skill quiz-engine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quiz-engine
Source: https://github.com/YanCheng-go/danskprep/tree/main/.claude/skills/quiz-engine
Command: npx skills add https://github.com/YanCheng-go/danskprep --skill quiz-engine

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation and validation of diverse quiz exercises within a learning app.

Core Features & Use Cases

  • Supports multiple exercise types: type_answer, cloze, multiple_choice, word_order, error_correction, matching, conjugation.
  • Centralized answer checking via checkAnswer.ts for consistent scoring, with diacritic-insensitive matching and Damerau-Levenshtein distance.
  • Uses a dedicated useQuiz/useStudy flow to manage sessions and ensure correct UX across Quiz and SRS.

Quick Start

Start by installing dependencies and running the development server to begin building or testing the quiz engine.

Frequently Asked Questions about quiz-engine

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate answers for multiple quiz exercise types in a frontend learning app?

A centralized answer-checking pipeline validates diverse quiz exercise types like cloze, multiple_choice, and matching. It ensures consistent scoring by processing user inputs through a standardized validation function, providing clear feedback for frontend learning apps.

Does the quiz answer checker support diacritic-insensitive text matching?

Yes, the answer checker supports diacritic-insensitive matching using Damerau-Levenshtein distance. This allows the quiz engine to accurately validate typed answers even when users omit or mismatch accent marks in language exercises.

What's the best way to build interactive quizzes that support both standard sessions and spaced repetition?

The best way is using a dedicated study flow to manage interactive quiz sessions. This ensures correct user experience across both standard quiz sessions and spaced repetition system (SRS) contexts.

How do I implement error correction and word order exercises in TypeScript?

You can implement error correction and word order exercises by defining them within a TypeScript-based quiz engine. The engine automates creation and validation for these formats, ensuring a consistent user experience across learning app exercises.

Can I use this quiz engine to create conjugation and matching exercises without external dependencies?

Yes, you can create conjugation and matching exercises without external dependencies. The quiz engine operates independently to automate exercise creation and validation across diverse formats like conjugation and matching.