lsp-format-code

Community

Format code with your language server.

Authorblackwell-systems
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Format a file or selection using the language server's formatter. Ensures consistent style across codebases.

Core Features & Use Cases

  • Full-file formatting via format_document.
  • Range-based formatting via format_range.
  • Apply edits with apply_edit to commit changes.
  • Check server capabilities with get_server_capabilities to determine support for documentFormattingProvider and documentRangeFormattingProvider.

Quick Start

Open a file and run the lsp-format-code skill to format the entire file, then apply the edits with the provided apply_edit action.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: lsp-format-code
Download link: https://github.com/blackwell-systems/agent-lsp/archive/main.zip#lsp-format-code

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.