Skill / SKILL.md

Lsp Extract Function

blackwell-systems/agent-lsp

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.
2 views 184 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/blackwell-systems/agent-lsp' skill-source

Use the complete skill-source/skills/lsp-extract-function directory with your client’s skill installer.

  • skills/lsp-extract-function

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/lsp-extract-function

Compatibility & requirements

Declared compatibility

Requires the agent-lsp MCP server (github.com/blackwell-systems/agent-lsp)

Declared tools

mcp__agent-lsp__list_symbols mcp__agent-lsp__suggest_fixes mcp__agent-lsp__execute_command mcp__agent-lsp__apply_edit mcp__agent-lsp__get_diagnostics mcp__agent-lsp__open_document mcp__agent-lsp__format_document mcp__agent-lsp__get_server_capabilities

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
54559e16faaf6ad19aa314952a69afc0f343dbf289f892bef138e4787ad56e74
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills