원클릭으로
quiz-engine
Implement or extend quiz functionality and answer checking
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Implement or extend quiz functionality and answer checking
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | quiz-engine |
| description | Implement or extend quiz functionality and answer checking |
| user-invocable | true |
Implement or extend quiz functionality. Key files: src/types/quiz.ts, src/lib/quiz-engine.ts, src/lib/answer-check.ts, src/hooks/useQuiz.ts.
| Type | exercise_type | Answer input | Notes |
|---|---|---|---|
| Type answer | type_answer | Text field | Most common; EN→DA or DA→EN |
| Cloze | cloze | Text field | One blank per sentence; unambiguous answer |
| Multiple choice | multiple_choice | Button pick | 4 options; distractors same POS |
| Word order | word_order | Drag/tap chips | Exactly one correct arrangement |
| Error correction | error_correction | Text field | Exactly one grammatical error |
| Matching | matching | Pair selection | DA <-> EN pairs |
| Conjugation | conjugation | Multiple fields | All tense forms for one verb |
checkAnswer() from src/lib/answer-check.ts — never compare strings with ==={ isCorrect, isAlmostCorrect, closestMatch } — show "almost" feedback when edit distance = 1src/data/seed/user_cards in Supabase after every ratinguseQuiz hook manages quiz sessions; useStudy hook manages SRS reviews — never mix themgenerateWordExercises(word, allWords, types) in quiz-engine.ts produces type_answer + multiple_choice + gender + conjugation exercises from a Word row. Distractors are picked from same POS first.
useRef(Date.now()) on question mount, delta on submit)shuffle() from quiz-engine.ts)Manage the project backlog — add, list, filter, update, prioritize, and suggest work items
Daily session wrapper — start with backlog, work, commit, retro
End-of-session retrospective — summarize work, update backlog statuses, update MEMORY.md
Commit, branch, PR, self-review, fix — then stop for human approval before merge
Pre-flight for parallel work — pick items, check file overlap, set statuses, generate terminal commands
Manage project backlog — add, list, filter, update, prioritize, suggest