lsp-client

Tests Tcl Language Server Protocol features via JSON-RPC.

59|6|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/bitwisecook/tcl-lsp --skill lsp-client-bitwisecook
Or copy as Structured Prompt for Agentβ–Ό
Please help me install this Agent Skill.
Skill: lsp-client
Source: https://github.com/bitwisecook/tcl-lsp/tree/main/.claude/skills/lsp-client
Command: npx skills add https://github.com/bitwisecook/tcl-lsp --skill lsp-client-bitwisecook

SYSTEM DOCUMENTATION & REQUIREMENTS

πŸ’‘ This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows for direct verification of the Tcl Language Server Protocol (LSP) features without the need for a full editor integration, enabling precise testing of server functionality.

Core Features & Use Cases

  • Direct LSP Feature Testing: Exercise and validate semantic tokens, diagnostics, formatting, hover, completion, definition, references, code actions, optimizations, and more.
  • Server Behavior Verification: Ideal for developers making changes to the Tcl LSP server to ensure features work as expected.
  • Use Case: After modifying the Tcl LSP server's optimization logic, use this Skill to run the optimize subcommand on a sample Tcl file and review the suggested optimizations and the rewritten source code.

Quick Start

Use the lsp-client skill to check the semantic tokens for the file 'tcl-lsp/samples/for_screenshots/03-completions.tcl'.

Frequently Asked Questions about lsp-client

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

FAQPage Schema
How do I test Tcl Language Server Protocol features without an editor integration?β–Ό

You can test Tcl Language Server Protocol features directly by interacting with the server over JSON-RPC. This approach bypasses editor integration, allowing precise verification of semantic tokens, diagnostics, and code formatting.

What LSP features can I verify for Tcl and iRules files?β–Ό

You can verify semantic tokens, diagnostics, code formatting, hover information, code completion, symbol discovery, and optimization suggestions. These features are tested directly against the Tcl Language Server Protocol implementation.

How do I check optimization suggestions for a Tcl file after modifying the LSP server?β–Ό

Run the optimize subcommand on a sample Tcl file to review suggested optimizations and the rewritten source code. This verifies that your changes to the Tcl Language Server Protocol optimization logic work as expected.

Do I need Python and uv to run Tcl LSP server behavior verification?β–Ό

Yes, verifying Tcl LSP server behavior requires a Python 3 environment and the uv package manager for server execution. These dependencies are necessary to run the Language Server Protocol tests directly.

Can I validate hover information and code completion for iRules using a language server?β–Ό

Yes, you can validate hover information and code completion for iRules by interacting directly with the Tcl Language Server Protocol. The testing client sends JSON-RPC requests to check these specific server behaviors.

Why does my Tcl LSP semantic token testing return inconsistent results?β–Ό

Inconsistent semantic token testing results often indicate issues with the Tcl Language Server Protocol implementation changes. Use the client to directly query the server over JSON-RPC and isolate the diagnostics behavior.