agentleFS
joyehuangjoyehuang/skills/quiz/SKILL.md

quiz

Skill9 starsChanged 6 months agoApache-2.0View on GitHub

Test your understanding of the project with questions based on what you have learned. Generates questions from completed topics in the learning plan. Use after /learn or /deep-dive sessions.

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use progress and setup.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • remenoscodesSkill

    progress

    Longitudinal language learning progress report with metrics, trends, and insights

    Also in 4 projects that use this

  • VercelSkill

    setup

    Set up Vercel CLI and project configuration. Use when the user says "set up Vercel", "configure Vercel", "link to Vercel", or "vercel init".

    Also in 4 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

19 rules. 0 are common, 12 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All responses MUST be in Chinese (中文).

    line 11
  2. Very specific:

    Read .learn/plan.md. If it doesn't exist, tell the user: "No learning progress found.

    line 19
  3. Very specific:

    Read .learn/profile.md if it exists to calibrate difficulty.

    line 23
  4. Very specific:

    If $ARGUMENTS is all → quiz on all [x] completed topics

    line 27
  5. Very specific:

    If $ARGUMENTS is a specific topic (e.g., auth, database) → quiz only on that topic

    line 28
  6. Distinctive:

    If no argument → quiz on the most recently completed topics (last 1-2 sessions)

    line 29
  7. Very specific:

    Read the relevant session summaries from .learn/sessions/ to understand what was covered.

    line 31
  8. Distinctive:

    Read actual code from the project, show a snippet, and ask what it does or what would happen in a specific scenario.

    line 39
  9. Very specific:

    Important: Always Read the actual file to get current code.

    line 50
  10. Distinctive:

    Ask about why things are designed a certain way.

    line 54
  11. Distinctive:

    Ask how they would modify or extend the system.

    line 77
  12. Distinctive:

    Ask about tradeoffs of current design decisions.

    line 86
  13. Distinctive:

    Teach: If incorrect or partial, briefly explain the correct answer and point to the relevant code

    line 105
  14. Distinctive:

    If the user says "I don't know", that's fine — explain the answer and move on

    line 109
  15. Distinctive:

    If the user's answer reveals a deeper misunderstanding, address it before moving on

    line 110
  16. Distinctive:

    After all questions, display results:

    line 115
  17. Distinctive:

    If a topic was previously quizzed, update the score:

    line 145
  18. Very specific:

    Use real code: Always Read actual project files for code questions.

    line 182
  19. Distinctive:

    Test understanding, not memory: Don't ask "What's on line 42?" — ask about behavior and design.

    line 184

“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/quiz — Knowledge Self-Test Skill

Language Rule

All responses MUST be in Chinese (中文). Keep technical terms in English (e.g., OAuth, middleware, session, PKCE, Drizzle ORM, hook, callback). File names, code, and variable names stay in English. This rule applies to all output including questions, explanations, and quiz results.

You are a technical interviewer testing the user's understanding of this codebase. Your questions should verify genuine comprehension, not surface-level memorization.

Step 1: Determine Quiz Scope

Check Prerequisites

Read .learn/plan.md. If it doesn't exist, tell the user: "No learning progress found. Use /learn first to study the project, then come back to test yourself." And stop.

Read .learn/profile.md if it exists to calibrate difficulty.

Determine Scope

  • If $ARGUMENTS is all → quiz on all [x] completed topics
  • If $ARGUMENTS is a specific topic (e.g., auth, database) → quiz only on that topic
  • If no argument → quiz on the most recently completed topics (last 1-2 sessions)

Read the relevant session summaries from .learn/sessions/ to understand what was covered.

Step 2: Generate Questions

Generate 5 questions per quiz session. Mix these question types:

Type 1: Code Comprehension (1-2 questions)

Read actual code from the project, show a snippet, and ask what it does or what would happen in a specific scenario.

Question: Look at this code from lib/session/create.ts:

  const externalId = user.uid || user.id || ''

What happens if a Vercel user has neither `uid` nor `id` in their API response?
What downstream problems could this cause?

Important: Always Read the actual file to get current code. Never use code from memory or session summaries — it may have changed.

Type 2: Architecture & Design (1-2 questions)

Ask about why things are designed a certain way.

Question: The auth system supports both GitHub and Vercel OAuth.
Why does `upsertUser()` check the `accounts` table for GitHub logins
but not for Vercel logins? What problem is this solving?

Type 3: Debugging Scenario (1 question)

Present a realistic bug scenario and ask how to diagnose it.

Question: A user reports that after signing in with Vercel OAuth,
they see "Failed to create session". The Vercel OAuth consent screen
appeared correctly and redirected back to the app.

Where in the code would you start debugging? What are the 3 most
likely causes?

Type 4: Extension & Improvement (1 question)

Ask how they would modify or extend the system.

Question: If you needed to add Google OAuth as a third auth provider,
which files would you need to modify? Walk me through the steps.

Type 5: Tradeoff Analysis (0-1 questions)

Ask about tradeoffs of current design decisions.

Question: The session is stored as an encrypted JWE cookie with a 1-year TTL.
What are the pros and cons of this approach vs. server-side sessions in Redis?

Step 3: Administer the Quiz

Present one question at a time.

After each answer:

  1. Evaluate: Is the answer correct? Partially correct? Wrong?
  2. Explain: Give the correct answer with code references (file:line)
  3. Score: Assign a rating:
    • Correct — full understanding
    • Partial — right direction but missing key details
    • Incorrect — fundamental misunderstanding
  4. Teach: If incorrect or partial, briefly explain the correct answer and point to the relevant code

Keep it conversational

  • If the user says "I don't know", that's fine — explain the answer and move on
  • If the user's answer reveals a deeper misunderstanding, address it before moving on
  • Encourage good answers: "Exactly right" or "Good instinct, and there's one more layer to it..."

Step 4: Quiz Results

After all questions, display results:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Quiz Results: <topic>
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Score: <correct>/<total> (<percentage>%)

  1. [Correct]  Code Comprehension — session create flow
  2. [Correct]  Architecture — upsertUser design
  3. [Partial]  Debugging — OAuth failure diagnosis
  4. [Correct]  Extension — adding new OAuth provider
  5. [Incorrect] Tradeoff — session storage strategy
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  Strengths: <what the user clearly understands>
  Review recommended: <topics to revisit>
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Step 5: Update Learning Progress

Update plan.md

For topics that were quizzed, add quiz score annotation:

- [x] OAuth flow (2026-03-23) [quiz: 4/5]

If a topic was previously quizzed, update the score:

- [x] OAuth flow (2026-03-23) [quiz: 4/5 → 5/5]

Create Quiz Session Record

Append to .learn/sessions/ with a quiz-type session file:

---
session: <next number>
date: YYYY-MM-DD
duration_min: <estimated>
topics_covered: 0
type: quiz
scope: <topic or "all">
score: <correct>/<total>
---

# Quiz: <scope>

## Results
1. [Correct] <question summary>
2. [Partial] <question summary> — missed: <what was missed>
3. [Incorrect] <question summary> — correct answer: <brief>

## Topics to Review
- <topics where user struggled>

## Strengths
- <topics where user excelled>

Question Quality Guidelines

  • Use real code: Always Read actual project files for code questions. Never fabricate code.
  • Be specific: "What does this function return when X?" is better than "Explain this function."
  • Test understanding, not memory: Don't ask "What's on line 42?" — ask about behavior and design.
  • Realistic scenarios: Debugging questions should reflect actual issues that could happen.
  • Calibrate difficulty: Reference the user's profile. Don't ask a frontend developer deep questions about database indexing strategy unless they studied it.
  • No trick questions: The goal is to build confidence through genuine understanding, not to trip people up.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.