Auditor Quiz Skill
Generate focused, security-oriented quizzes to test auditor understanding of codebases, protocols, and documentation.
Overview
This skill creates 8-10 question quizzes that focus on:
- Protocol/system understanding and core mechanisms
- Weakness points and potential vulnerabilities
- Security considerations and attack vectors
- Core functionality and critical code paths
Questions are generated from repository documentation (README, docs/, whitepapers, specifications, inline comments) and presented interactively with immediate feedback.
Workflow
Identify documentation sources
- Search for documentation files:
*.md, README*, docs/*, *.sol (comments), *.rs (comments), etc.
- Prioritize: security docs, architecture docs, README, specification files
- Use grep/glob to find relevant files efficiently
Analyze documentation
- Read and synthesize key information about:
- Core protocol/system mechanics
- Security assumptions and trust boundaries
- Known edge cases or limitations
- Critical functions and state transitions
- Potential attack vectors or vulnerability areas
Generate quiz questions
- Create 8-10 questions (mix of multiple choice, true/false)
- Follow guidelines in
references/question-types.md
- Focus on security-critical aspects and deep understanding
- Balance difficulty: 2-3 easy, 4-5 medium, 2-3 hard questions
- Include specific references (line numbers, function names)
- Store questions in memory (not in files)
Run the quiz conversationally
- Present questions ONE AT A TIME in the conversation
- Format clearly with question number, text, and answer options
- WAIT for the user's answer in their next message
- After receiving answer, provide immediate feedback:
- ✅ CORRECT or ❌ INCORRECT
- Show correct answer if wrong
- Provide detailed explanation
- Show current score (e.g., "Score: 3/5")
- Continue to next question only after user responds
- Track score throughout
- Display final results at the end with percentage and feedback
Important: Conversational Mode
- Do NOT use terminal scripts, bash sessions, or file-based quiz systems
- Present each question directly in your response
- Use the
ask_user tool if helpful for getting answers
- Keep the interaction natural and conversational
Question Generation Guidelines
Focus Areas
Protocol Understanding (2-3 questions):
- How core mechanisms work
- State transitions and workflows
- Design rationale
Weakness Points (2-3 questions):
- Known edge cases
- Potential attack vectors
- Boundary conditions
Security Considerations (2-3 questions):
- Access controls
- Trust assumptions
- Input validation
- Privilege boundaries
Core Functionality (1-2 questions):
- Main entry points
- Critical algorithms
- Key data structures
Quality Standards
- Specific: Reference actual code (function names, line numbers)
- Relevant: Focus on audit-critical aspects
- Clear: Avoid ambiguity in questions and answers
- Educational: Explanations should teach, not just confirm
- Deep: Test understanding over memorization
Consult references/question-types.md for detailed examples and patterns.
Resources
- references/question-types.md - Question format guidelines, examples, and best practices
Tips
- When documentation is extensive (>10 files), prioritize security-relevant docs first
- Include code references in explanations (e.g., "line 142", "deposit() function")
- Present questions one at a time, waiting for user response between each
- Keep conversational flow natural - don't use scripts or terminal sessions
- Track score internally and display after each question
1---2name: auditor-quiz3description: Generate and administer interactive knowledge quizzes for security auditors based on repository documentation and code. Use when an auditor needs to be tested on their understanding of a codebase, protocol mechanics, security considerations, potential vulnerabilities, or core functionality. Triggers include requests like "quiz me on", "test my knowledge", "generate a quiz", or when preparing for security audits and code reviews.4---5
6# Auditor Quiz Skill
7
8Generate focused, security-oriented quizzes to test auditor understanding of codebases, protocols, and documentation.
9
10## Overview
11
12This skill creates 8-10 question quizzes that focus on:
13- Protocol/system understanding and core mechanisms
14- Weakness points and potential vulnerabilities
15- Security considerations and attack vectors
16- Core functionality and critical code paths
17
18Questions are generated from repository documentation (README, docs/, whitepapers, specifications, inline comments) and presented interactively with immediate feedback.
19
20## Workflow
21
221. **Identify documentation sources**
23 - Search for documentation files: `*.md`, `README*`, `docs/*`, `*.sol` (comments), `*.rs` (comments), etc.
24 - Prioritize: security docs, architecture docs, README, specification files
25 - Use grep/glob to find relevant files efficiently
26
272. **Analyze documentation**
28 - Read and synthesize key information about:
29 - Core protocol/system mechanics
30 - Security assumptions and trust boundaries
31 - Known edge cases or limitations
32 - Critical functions and state transitions
33 - Potential attack vectors or vulnerability areas
34
353. **Generate quiz questions**
36 - Create 8-10 questions (mix of multiple choice, true/false)
37 - Follow guidelines in `references/question-types.md`
38 - Focus on security-critical aspects and deep understanding
39 - Balance difficulty: 2-3 easy, 4-5 medium, 2-3 hard questions
40 - Include specific references (line numbers, function names)
41 - Store questions in memory (not in files)
42
434. **Run the quiz conversationally**
44 - Present questions ONE AT A TIME in the conversation
45 - Format clearly with question number, text, and answer options
46 - WAIT for the user's answer in their next message
47 - After receiving answer, provide immediate feedback:
48 - ✅ CORRECT or ❌ INCORRECT
49 - Show correct answer if wrong
50 - Provide detailed explanation
51 - Show current score (e.g., "Score: 3/5")
52 - Continue to next question only after user responds
53 - Track score throughout
54 - Display final results at the end with percentage and feedback
55
565. **Important: Conversational Mode**
57 - Do NOT use terminal scripts, bash sessions, or file-based quiz systems
58 - Present each question directly in your response
59 - Use the `ask_user` tool if helpful for getting answers
60 - Keep the interaction natural and conversational
61
62## Question Generation Guidelines
63
64### Focus Areas
65
66**Protocol Understanding** (2-3 questions):
67- How core mechanisms work
68- State transitions and workflows
69- Design rationale
70
71**Weakness Points** (2-3 questions):
72- Known edge cases
73- Potential attack vectors
74- Boundary conditions
75
76**Security Considerations** (2-3 questions):
77- Access controls
78- Trust assumptions
79- Input validation
80- Privilege boundaries
81
82**Core Functionality** (1-2 questions):
83- Main entry points
84- Critical algorithms
85- Key data structures
86
87### Quality Standards
88
89- **Specific**: Reference actual code (function names, line numbers)
90- **Relevant**: Focus on audit-critical aspects
91- **Clear**: Avoid ambiguity in questions and answers
92- **Educational**: Explanations should teach, not just confirm
93- **Deep**: Test understanding over memorization
94
95Consult `references/question-types.md` for detailed examples and patterns.
96
97## Resources
98
99- **references/question-types.md** - Question format guidelines, examples, and best practices
100
101## Tips
102
103- When documentation is extensive (>10 files), prioritize security-relevant docs first
104- Include code references in explanations (e.g., "line 142", "deposit() function")
105- Present questions one at a time, waiting for user response between each
106- Keep conversational flow natural - don't use scripts or terminal sessions
107- Track score internally and display after each question