pyright-lsp-tool

Community

On-demand Pyright LSP for fast Python references.

Authorkunhuang12345
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides on-demand access to Pyright's language-server features to locate references in Python code without launching a full editor LSP workflow. It reduces setup time and overhead when you only need quick symbol reference lookups.

Core Features & Use Cases

  • On-demand LSP startup: Start pyright-langserver on demand and query references, then shut down to minimize resource usage.
  • Two usage modes: Interactive REPL mode for multiple lookups and a single-shot refs command for a one-off search.
  • Project context awareness: Automatically detects the project root (git top-level or current directory) and supports optional root and virtual environment arguments.

Quick Start

  • Run in REPL mode: python3 .codex/skills/pyright-lsp-tool/scripts/pyright_lsp_tool.py repl
  • Run a single lookup: python3 .codex/skills/pyright-lsp-tool/scripts/pyright_lsp_tool.py refs path/to/file.py:line:col

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: pyright-lsp-tool
Download link: https://github.com/kunhuang12345/team-skill/archive/main.zip#pyright-lsp-tool

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 223,000+ vetted skills library on demand.