lsp-extract-function
SolidExtract 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.
Install
Quality Score: 91/100
Skill Content
Details
- Author
- blackwell-systems
- Repository
- blackwell-systems/agent-lsp
- Created
- 2 months ago
- Last Updated
- today
- Language
- Go
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
lsp-generate
Trigger language server code generation — implement interface stubs, generate test skeletons, add missing methods, generate mock types. Uses suggest_fixes to surface generator options and execute_command to run them.
lsp-edit-export
Safe workflow for editing exported symbols or public APIs. Use when changing a function signature, modifying a public type, or altering any symbol used outside its own package — finds all callers first so nothing breaks silently.
extract
Use when the user wants to extract structured data from a web page using an LLM, parse specific fields from a URL (prices, names, dates, specs), get structured JSON from a page, or do LLM-powered data extraction. Triggers on "extract data from", "pull structured data from", "get the pricing table from", "parse the fields from", "extract JSON from this URL", "structured extraction". Different from scrape (raw markdown) — extract uses an LLM to interpret and structure the content.