lsp-generate

Generate interface implementations, mocks, and test skeletons via language-server code actions.

102|5|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/blackwell-systems/agent-lsp --skill lsp-generate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lsp-generate
Source: https://github.com/blackwell-systems/agent-lsp/tree/main/skills/lsp-generate
Command: npx skills add https://github.com/blackwell-systems/agent-lsp --skill lsp-generate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of missing code artifacts in language-server workflows by generating stubs, mocks, and interface implementations, reducing boilerplate and friction.

Core Features & Use Cases

  • Generate interface implementations, mocks, and test skeletons via code actions
  • Apply edits deterministically using execute_command and apply_edit
  • Works within the agent-lsp MCP server to scaffold code across supported languages

Quick Start

Open a workspace, open the target file, and trigger the lsp-generate action with a specified intent such as 'implement interface' or 'generate tests'.

Frequently Asked Questions about lsp-generate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate mocks and interface implementations using language server code actions?

Generate mocks and interface implementations by triggering code actions within an active agent-lsp MCP server workflow, which surfaces per-language code-action hooks to scaffold stubs deterministically across the workspace.

What's the best way to automate test skeleton generation for language server workflows?

Automate test skeleton generation by invoking the lsp-generate intent during an active language server session, applying edits and execute_command operations to scaffold test files safely across supported languages.

Do I need an active agent-lsp MCP server to scaffold code artifacts across my workspace?

Yes, an active agent-lsp MCP server connection is required to surface language-server code actions and apply deterministic workspace edits for generating interface implementations and test skeletons.

Can I use code actions to apply deterministic edits for multiple supported programming languages?

Yes, the generation workflow uses per-language code-action hooks ensuring safe, deterministic application of edits and commands across supported languages within the language server environment.

What are the limitations of using code-action hooks for generating code scaffolding?

Code generation is constrained to capabilities meeting the codeActionProvider requirement, relying on per-language hooks for deterministic edits, meaning unsupported languages or disconnected workspaces will not surface generation actions.