sk Skill · blackwell-systems
lsp-extract-function
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.
Open on skills.sh ↗read 2026-09-18
- installs 8w
- 0
- 30-day movement
- starts with the next reading
- Related entries
- 1
- Connections
- 0
Go
- Host repository
- blackwell-systems/agent-lsp
- Compatible with
- Requires the agent-lsp MCP server (github.com/blackwell-systems/agent-lsp)
- Licence
- MIT
- Invocable by
- user
- Host stars
- 128
- Host language
- Go