Generate open-ended quiz questions from facts in a specific deck (or all facts). Read-only — does NOT update SM-2 state or review-log. Use when the user says "quiz", "test me", "pratique", "/learn-quiz", or wants to practice without triggering a formal review.
Generates open-ended practice questions from facts in workspace/learning/facts/. This is a read-only exercise — no frontmatter is modified, no log entries are written.
User wants to practice recall without formally reviewing (e.g., "me teste sobre claude-skills", "/learn-quiz", "quiz geral").
Parse the user's request for a deck name:
/learn-quiz {deck-name} → filter facts where deck == deck-name/learn-quiz (no argument) → use all facts in workspace/learning/facts/If no facts are found for the specified deck:
"Nenhum fato encontrado no deck '{deck}'. Verifique o nome do deck ou use /learn-stats para ver os decks ativos."
If workspace/learning/facts/ is empty or doesn't exist:
"Nenhum fato encontrado. Use /learn-capture para adicionar fatos primeiro."
From the matching facts, select up to 5 to quiz on. Prefer:
next_review)For each selected fact, generate one open-ended question derived from the Retrieval Q field. You may rephrase the original question slightly for variety, but the answer must still be the Fact content.
Rules for questions:
For each question (up to 5):
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧪 Quiz — {deck} | Pergunta {current}/{total}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
{question}
Wait for the user's answer. Then show:
✅ Resposta de referência:
{Fact content}
{Brief feedback: correct elements the user got right, what they missed — 1-2 sentences}
Do NOT score formally. This is practice, not review.
After all questions:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏁 Quiz concluído! {N} perguntas praticadas.
💡 Para revisão formal com SM-2, use /learn-review
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━