Pular para o conteúdo
TakoAPI
Voltar às skills

pyright-lsp

por bowen31337

Coding Agents & IDEs
895Downloads informados pelo clawskills.sh
0Visualizações
0 curtidaEntre para curtir esta skill
—Ainda sem avaliações
Sua avaliação

Resumo

Python language server (Pyright) providing static type checking, code intelligence, and LSP diagnostics for .py and .

Descrição

O que esta skill faz

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.

Quando usá-la

  • 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

Exemplo de fluxo de trabalho

ENTRADA

User asks: Check my Python project for type errors

AGENTE
  1. 1

    Navigate to the project root directory

  2. 2

    Run pyright to analyze all Python files

  3. 3

    Parse the diagnostic output for errors and warnings

  4. 4

    Report each type error with file path, line number, and description

SAÍDA

A list of type errors and warnings with locations, ready to address before committing

Requisitos

  • Pyright installed via npm (`npm install -g pyright`), pip (`pip install pyright`), or pipx (`pipx install pyright`)

Instalação

clawhub install bowen31337/pyright-lsp

Execute o comando da CLI ou cole o prompt no Claude Code, Cursor, Codex ou no agente de código que você usa.

Links