pyright-lsp
bowen31337 제작
Coding Agents & IDEs요약
Python language server (Pyright) providing static type checking, code intelligence, and LSP diagnostics for .py and .
설명
이 스킬이 하는 일
Pyright is Microsoft's Python language server that runs static type checking and code intelligence on .py and .pyi files. It detects type errors, provides autocomplete suggestions, and supports go-to-definition and find references.
Pyright is faster and more precise than mypy for type inference, making it practical for large or complex Python projects.
사용 시점
- Catching type mismatches before running Python scripts
- Navigating large Python codebases with go-to-definition
- Validating type annotations in a library or package
- Running type checks in CI to catch regressions
- Getting autocomplete and error feedback without a full IDE
예시 워크플로
User asks: Check my Python project for type errors
- 1
Navigate to the project root directory
- 2
Run
pyrightto analyze all Python files - 3
Parse the diagnostic output for errors and warnings
- 4
Report each type error with file path, line number, and description
A list of type errors and warnings with locations, ready to address before committing
요구 사항
- Pyright installed via npm (`npm install -g pyright`), pip (`pip install pyright`), or pipx (`pipx install pyright`)
설치
clawhub install bowen31337/pyright-lspCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.