with one click
learn-quiz
Test understanding of recently written or accepted code
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Test understanding of recently written or accepted code
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | learn-quiz |
| description | Test understanding of recently written or accepted code |
| argument-hint | [topic] [--hard] |
| effort | low |
Test understanding of recently written or accepted code.
/learn:quiz # Quiz on last code worked with
/learn:quiz error handling # Focus on specific aspect
/learn:quiz --hard # More challenging questions
When focus is specified (e.g., /learn:quiz error handling), prioritize questions about:
| Focus | Question Themes |
|---|---|
error handling | Try/catch, error types, recovery strategies |
performance | Big-O, optimization, bottlenecks |
security | Input validation, XSS, injection |
testing | Test cases, edge cases, mocking |
architecture | Patterns, separation of concerns, SOLID |
types | TypeScript types, inference, generics |
--hardFor each question:
## Question 1 of 3
[Question text]
What's your answer?
---
(After user responds)
### Feedback
[Whether correct and why]
**Key insight**: [The concept this tests]
**Related concept**: [Something to explore further]
Ready for the next question?
Summarize:
User: /learn:quiz
Claude: Looking at your last code - the useEffect hook for data fetching.
## Question 1 of 3
In your useEffect, you have an empty dependency array [].
What does this mean for when the effect runs?
User: It runs only once when the component mounts
Claude: ### Feedback
Correct! An empty dependency array means the effect runs only on mount
(and cleanup on unmount).
**Key insight**: The dependency array controls WHEN effects re-run.
**Related concept**: What happens with no array vs. [someValue]?
Ready for Question 2?
$ARGUMENTS
Clean up stale git worktrees with merged branch detection and disk usage report
Safely remove a git worktree with branch cleanup and safety checks
Create isolated git worktrees for feature development without switching branches
Check status of background verification tasks running in a git worktree
Perform a comprehensive code review of a pull request
Display native sandbox status, configuration, and recent violations