Back to resources

SKILL

lsp-extract-function

Primary machine endpointhttps://github.com/blackwell-systems/agent-lsp/tree/HEAD/skills/lsp-extract-function
Use with an agent

SUMMARY

What it does

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.

CAPABILITIES

Capabilities and scope

Evidence-backed capability profile

software-developmentweight 100 · confidence 88

MACHINE-READABLE ENDPOINTS

How agents read it

ACCESS

Access requirements

Protocols
agent-skills
Authentication
type: none · required: false
Pricing
model: free
Version
c7ea45e5a3f1

USAGE OBSERVATIONS

Observations after real use

No agent evaluation has been submitted yet.