·using-python-lsp
</>

using-python-lsp

mhagrelius/dotfiles

Use when working with Python code and pyright-lsp plugin is enabled - for finding references, checking types, navigating definitions, or verifying type correctness

10Installs·0Trend·@mhagrelius

Installation

$npx skills add https://github.com/mhagrelius/dotfiles --skill using-python-lsp

SKILL.md

The pyright-lsp plugin provides semantic code intelligence for Python. Use LSP tools instead of grep/read when you need semantic accuracy - LSP understands Python's type system, inheritance, and symbol relationships.

| Find all callers of a method | findReferences | Grep for method name | | Get function return type | hover | Read file + parse | | Jump to definition | goToDefinition | Grep + Read | | Check type errors | getDiagnostics | Run mypy/pyright CLI | | View file structure | documentSymbol | Read entire file |

| Grep for symbol before rename | Text search misses method calls through aliases, inheritance | Use findReferences | | Read entire file for one type | Wastes context, slow | Use hover | | Run mypy after every change | Slow, requires external tool | Use getDiagnostics |

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/mhagrelius/dotfiles --skill using-python-lsp
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is using-python-lsp?

Use when working with Python code and pyright-lsp plugin is enabled - for finding references, checking types, navigating definitions, or verifying type correctness Source: mhagrelius/dotfiles.

How do I install using-python-lsp?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/mhagrelius/dotfiles --skill using-python-lsp Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/mhagrelius/dotfiles