Skip to main content

learn-quiz

Test understanding of recently written or accepted code

소스 정보

저장소
FlorianBruniaux/claude-code-ultimate-guide
최근 소스 활동
2026년 9월 30일 13:41
감지된 SKILL.md 언어
영어
스타
6,250
포크
814

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
learn-quiz
description
Test understanding of recently written or accepted code
argument-hint
[topic] [--hard]
effort
low
# Quiz me Test understanding of recently written or accepted code. ## Usage ``` /learn:quiz # Quiz on last code worked with /learn:quiz error handling # Focus on specific aspect /learn:quiz --hard # More challenging questions ``` ## Instructions 1. Identify the last code I worked with (wrote, edited, or accepted from AI) 2. Generate 3-5 questions that test understanding at different levels: - **Recall**: What does this code do? - **Understanding**: Why was this approach chosen? - **Application**: What would happen if X changed? - **Analysis**: What are the trade-offs of this approach? - **Synthesis**: How would you extend this? 3. Present questions one at a time 4. Wait for my answer before revealing the correct response 5. Provide explanations with each answer, not just "correct/incorrect" ## Question types ### Level 1: Recall - "What does the function X return?" - "What parameters does Y accept?" - "What happens when Z is called?" ### Level 2: Understanding - "Why do we use X instead of Y here?" - "What problem does this pattern solve?" - "Why is this line necessary?" ### Level 3: Application - "What would happen if we removed line X?" - "How would you add feature Y to this code?" - "What would break if input Z was provided?" ### Level 4: Analysis - "What are the performance implications of this approach?" - "What edge cases might cause issues?" - "How does this compare to alternative X?" ### Level 5: Synthesis - "How would you refactor this for better testability?" - "What would need to change to support X?" - "Design an extension that adds Y" ## Focus areas 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 | ## Difficulty modes ### Default - 3 questions - Mix of Level 1-3 - Focus on understanding current code ### `--hard` - 5 questions - Levels 3-5 - Include hypothetical modifications - Ask about trade-offs and alternatives ## Response format For 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? ``` ## After quiz complete Summarize: - Score: X/Y correct - Strengths: [Topics understood well] - Review needed: [Topics to revisit] - Suggested practice: [Specific exercise] ## Example session ``` 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? ``` ## Tips for users 1. **Be honest**: Wrong answers are learning opportunities 2. **Explain your reasoning**: Helps identify gaps even in correct answers 3. **Ask follow-ups**: If feedback is unclear, dig deeper 4. **Track weak areas**: Note topics that need more practice $ARGUMENTS
GitHub에서 보기