byblackwell-systems· 24 skills
Extract a selected code block into a named function. Primary path uses the language server's extract-function code action; falls back to manual extraction when no code action is available. Validates captured variables, scope shadowing, and compilation after extraction.
$npx -y skills add blackwell-systems/agent-lsp --skill lsp-extract-functionInstalls into the current project.
Run `npx skills use "https://github.com/blackwell-systems/agent-lsp" --skill "blackwell-systems/agent-lsp/lsp-extract-function"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/blackwell-systems/agent-lsp" that are relevant to the current task. Run `npx skills add "https://github.com/blackwell-systems/agent-lsp"` and select the relevant skills, then follow their instructions.