कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

pyright-lsp

bowen31337 द्वारा

Coding Agents & IDEs
895clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

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. 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

आउटपुट

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-lsp

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक