openducky
v1.0.1
Published
Rubber duck debugging quiz plugin for OpenCode
Downloads
171
Maintainers
Readme
openducky
Rubber duck debugging quiz plugin for OpenCode.
Test your understanding of code through interactive quizzes - the AI reads a file and quizzes you on it, one question at a time.
Installation
Add to your opencode.json:
{
"plugin": ["openducky"]
}Usage
Just ask to be quizzed on any file:
duckyQuiz me on src/index.tsUse ducky to test my understanding of the auth moduleOpenCode will prompt you to select a file and quiz mode, then begin the interactive quiz.
Quiz Flow
- Select a file - Choose which file you want to be quizzed on
- Choose a mode - Skim (high-level) or Full (implementation details)
- Answer questions - 3-5 questions presented one at a time
- Get feedback - Each answer is evaluated with corrections if needed
- Review summary - Final assessment of your understanding
Modes
| Mode | Focus | |------|-------| | Skim | Purpose, architecture, exports, interfaces, what the code does overall | | Full | Logic flow, edge cases, error handling, why specific decisions were made |
Topic Focus (Optional)
Narrow the quiz to a specific aspect:
Quiz me on src/api.ts, focus on error handlingTest my understanding of the caching logic in utils.tsLicense
MIT
