pyright-lsp

Python language server (Pyright) providing static type checking, code intelligence, and LSP diagnostics for .py and .pyi files. Use when working with Python code that needs type checking, autocomplete suggestions, error detection, or code navigation.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "pyright-lsp" with this command: npx skills add bowen31337/pyright-lsp

Pyright LSP

Python language server integration providing static type checking and code intelligence through Microsoft's Pyright.

Capabilities

  • Type checking: Static analysis of Python types
  • Code intelligence: Autocomplete, go-to-definition, find references
  • Error detection: Real-time diagnostics for type errors and issues
  • Supported extensions: .py, .pyi

Installation Check

Before using, verify Pyright is installed:

which pyright || npm install -g pyright

Alternative installation methods:

pip install pyright
# or
pipx install pyright  # recommended for CLI tools

Usage

Run type checking on Python files:

pyright path/to/file.py

Run on entire project:

cd project-root && pyright

Configuration

Create pyrightconfig.json in project root for custom settings:

{
  "include": ["src"],
  "exclude": ["**/node_modules", "**/__pycache__"],
  "typeCheckingMode": "basic",
  "pythonVersion": "3.10"
}

Integration Pattern

When editing Python code:

  1. Run pyright after significant changes
  2. Address type errors before committing
  3. Use diagnostics to improve code quality

More Information

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Workspace Init

Use this skill to initialize or update a multi-repo workspace created from dev-config-template. Invoke whenever the user wants to: set up a fresh workspace c...

Registry SourceRecently Updated
Coding

Google Seo Assistant

A client-facing SEO assistant grounded in Google's official SEO Starter Guide. Use this skill whenever a user mentions SEO, search rankings, Google visibilit...

Registry SourceRecently Updated
Coding

Version Drift

One command to check if your entire stack is up to date. SSHes into servers, queries APIs, and compares installed versions against latest — across every serv...

Registry SourceRecently Updated