·using-python-lsp
</>

using-python-lsp

mhagrelius/dotfiles

À utiliser lorsque vous travaillez avec du code Python et que le plugin pyright-lsp est activé - pour rechercher des références, vérifier les types, parcourir les définitions ou vérifier l'exactitude du type

10Installations·0Tendance·@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 |

Voir l'original

Faits (prêts à citer)

Champs et commandes stables pour les citations IA/recherche.

Commande d'installation
npx skills add https://github.com/mhagrelius/dotfiles --skill using-python-lsp
Catégorie
</>Développement
Vérifié
Première apparition
2026-02-01
Mis à jour
2026-02-18

Réponses rapides

Qu'est-ce que using-python-lsp ?

À utiliser lorsque vous travaillez avec du code Python et que le plugin pyright-lsp est activé - pour rechercher des références, vérifier les types, parcourir les définitions ou vérifier l'exactitude du type Source : mhagrelius/dotfiles.

Comment installer using-python-lsp ?

Ouvrez votre terminal ou outil de ligne de commande (Terminal, iTerm, Windows Terminal, etc.) Copiez et exécutez cette commande : npx skills add https://github.com/mhagrelius/dotfiles --skill using-python-lsp Une fois installé, le skill sera automatiquement configuré dans votre environnement de programmation IA et prêt à être utilisé dans Claude Code ou Cursor

Où se trouve le dépôt source ?

https://github.com/mhagrelius/dotfiles