Skip to content
    ↑↓ select↵ openesc close
    English中文
    thePrnvBot

    Openducky

    v1.0.1Other
    openducky

    Rubber duck debugging quiz plugin for OpenCode

    GitHub stars

    5

    Monthly installs

    5

    2 in 7 days

    Composite scoreSCORE

    20.7

    Multi-signal model

    Last commit

    6 months ago

    2026-02-08

    Install and configure

    opencode.json

    Writes to this project's opencode.json — applies to this repository only.

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["openducky@1.0.1"]
    }

    opencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.

    npm downloads npm

    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.

    image
    image
    image

    Installation

    Add to your opencode.json:

    {
      "plugin": ["openducky"]
    }
    

    Usage

    Just ask to be quizzed on any file:

    ducky
    
    Quiz me on src/index.ts
    
    Use ducky to test my understanding of the auth module
    

    OpenCode will prompt you to select a file and quiz mode, then begin the interactive quiz.

    Quiz Flow

    1. Select a file - Choose which file you want to be quizzed on
    2. Choose a mode - Skim (high-level) or Full (implementation details)
    3. Answer questions - 3-5 questions presented one at a time
    4. Get feedback - Each answer is evaluated with corrections if needed
    5. 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 handling
    
    Test my understanding of the caching logic in utils.ts
    

    License

    MIT