Search

PythonReactSEOPDF
OpenClaw

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.

bowen313370 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install bowen31337/pyright-lsp

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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 information

Source
github
Repository
openclaw/skills
Path
skills/bowen31337/pyright-lsp
Version
—
Commit
52fa7c3ae474d9631e8abc27835f85d4e489a6e5
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# 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:

```bash
which pyright || npm install -g pyright
```

Alternative installation methods:
```bash
pip install pyright
# or
pipx install pyright  # recommended for CLI tools
```

## Usage

Run type checking on Python files:

```bash
pyright path/to/file.py
```

Run on entire project:

```bash
cd project-root && pyright
```

## Configuration

Create `pyrightconfig.json` in project root for custom settings:

```json
{
  "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

- [Pyright on npm](https://www.npmjs.com/package/pyright)
- [Pyright on PyPI](https://pypi.org/project/pyright/)
- [GitHub Repository](https://github.com/microsoft/pyright)

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.