Extract Function

Pulls a block of code into a named function with the right parameters and return value while keeping control flow and results identical. Use when the user asks to extract a function or helper, says a function is too long, or wants a repeated block factored out.

Lucki74 Updated
Draggy in Code mode, working on a sample project

File contents

Lucki74/draggy commit d6cff89a81

Frequently asked questions

npx get-skill add lucki74/extract-function