K12 Interactive Game Production Pipeline
Paste the following prompt into your AI chat to install this skill:
Please install @user_b330f11a/k12-interactive-game according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Turning K12 knowledge points into interactive courseware is usually fragmented: teaching design, question generation, game mechanics, front-end implementation, and scoring end up in separate tools or throwaway scripts. The output often fails in practical ways: the canvas starts at 0×0, high-DPI screens look blurry, questions repeat, the leaderboard only uses localStorage, or the student page exposes API details. k12-interactive-game-pipeline targets this workflow by connecting knowledge planning, interactive content generation, question validation, game design, and result tracking into one repeatable pipeline.
How It Works
The skill follows a 7-stage workflow:
- Learning planning: define the target grade level, knowledge point, and practice objective.
- Interactive courseware: generate structured learning content rather than jumping straight into game elements.
- Question generation and validation: create questions and self-test them to avoid logic errors, duplicates, or invalid options.
- Game design: choose suitable gameplay patterns by subject, such as reaction, memory, matching, quiz, puzzle, tower defense, or building.
- Assets and implementation: produce a single-file HTML page with inlined CSS and JavaScript for easy sharing and offline opening.
- Leaderboard and login: the first screen asks for class and name; scores are fetched from an API, with local fallback and clear status messaging.
It enforces several engineering constraints: a default light theme with a toggle; a main screen focused on the game canvas with other features in modals; resize() calls after login and in startGame(); Canvas handling for devicePixelRatio; no-cache meta and version watermark; question deduplication using fingerprints; and configurable question counts of 10/20/30/50. The leaderboard is not simulated locally: it prioritizes server data from data.submissions[], displays the Top 30, and escapes fields to reduce XSS risk.
Boundaries and Notes
- The skill cannot run standalone; its required sub-skills must be installed before starting.
- It fits classroom tools that need practice, play, and score tracking, not plain PPTs or text-only lesson notes.
- If the leaderboard, login, or API domain changes, the backend fields and deployment environment must stay consistent.
- 2D gameplay is recommended by default because 3D scenes add maintenance cost.
Use Cases
- Turn multiplication tables into a single-file HTML mini-game with login, question-count selection, and a live leaderboard
- Plan a middle-school buoyancy lesson into quiz, puzzle, and building modes, then self-test question deduplication
- Generate a Canvas-based English word-matching page with high-DPI support, modal controls, and theme switching
- Wire student class/name login, 10/20/30/50 question options, and Top 30 score fetching into the release workflow
Best For
- K12 teachers or curriculum designers who need to turn knowledge points into practicable web mini-games
- Classroom TAs who need student class/name login, per-round question limits, and a visible leaderboard
- EdTech product engineers who want distributable single-file HTML courseware without a complex backend
- Solo developers who need to chain question generation, gameplay, Canvas rendering, and score tracking into one repeatable workflow
Related Skills
A text-based English listening assistant that annotates vocabulary, connected speech, and key phrases, and generates dictation practice and a study plan.
Extracts new words from content and generates cards, IPA examples, memory tips, and review quizzes, with no audio playback or automatic reminders.
Rephrase a poem in plain prose through tracing, positioning, and prosody notes, helping readers see the distance between daily words and poetic effect.
Generates a balanced preschool-to-primary transition plan across knowledge, habits, and readiness, with time-based pacing and parent guidance.