scratchpad
Installation
SKILL.md
Use this skill to create a scratchpad TypeScript file from the JSDoc **Example**
nearest the user's active source cursor or selection.
Workflow
-
Determine the source path and line:
- Use the IDE active file and selection/cursor line when present.
- Use an explicit file and line when the user provides them.
- If no line or selection is available, ask for it.
-
Run:
node .agents/skills/scratchpad/scripts/extract-example.mjs <source-path> <line>