What problem does it solve?
Manually copying JSDoc code examples from source files to test or experiment with them is time-consuming and error-prone. This Skill automates that process, letting developers quickly access and run code examples directly from their codebase.
Core Features & Use Cases
- Automatic Example Selection: Finds the JSDoc Example block nearest to your active cursor, selection, or specified line number in a source file.
- Runnable Scratchpad Files: Generates uniquely named TypeScript files in the scratchpad directory, with optional auto-appended Effect runtime runners for immediate execution.
- Use Case: When working with the Effect TypeScript library, you can instantly pull a Schedule retry example from the source code to test behavior without manual copy-paste.
Quick Start
Use the scratchpad skill to extract the JSDoc example nearest your current cursor in the Effect Schedule.ts source file.