Toolverse
All skills

pyright-lsp

by openclaw

Python language server (Pyright) providing static type checking, code intelligence, and LSP diagnostics for .py and .pyi files. Use when working with Python code that needs type checking, autocomplete suggestions, error detection, or code navigation.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
openclaw
Category
Backend
Views
2

About this skill

Python language server (Pyright) providing static type checking, code intelligence, and LSP diagnostics for .py and .pyi files. Use when working with Python code that needs type checking, autocomplete suggestions, error detection, or code navigation.

How to use

  1. Sprawdź, czy Pyright jest zainstalowany na Twoim systemie, uruchamiając polecenie which pyright. Jeśli nie jest dostępny, zainstaluj go globalnie za pomocą npm install -g pyright, lub użyj pip install pyright, albo pipx install pyright (ostatnia opcja jest rekomendowana dla narzędzi CLI).

  2. Przejdź do katalogu projektu Python, w którym chcesz uruchomić analizę typów, używając cd path/to/your/project.

  3. Uruchom Pyright na pojedynczym pliku, wpisując pyright path/to/file.py, aby sprawdzić typy i błędy w tym pliku. Alternatywnie, aby przeanalizować cały projekt, uruchom pyright z katalogu głównego projektu.

  4. Przejrzyj wyniki diagnostyki — Pyright wyświetli listę błędów typów, ostrzeżeń i sugestii dotyczących kodu. Zwróć uwagę na linie, które wymagają poprawy.

  5. Opcjonalnie, dostosuj zachowanie Pyright, tworząc plik pyrightconfig.json w katalogu głównym projektu. W pliku możesz ustawić tryb sprawdzania typów (np. basic), wersję Pythona, katalogi do analizy (include) i katalogi do pominięcia (exclude, np. node_modules czy pycache).

  6. Zintegruj Pyright w swój przepływ pracy, uruchamiając go regularnie po znaczących zmianach w kodzie i rozwiązując błędy typów przed zatwierdzeniem zmian w repozytorium.

Related skills

fastapi-templates

by wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

Backend
327582

humanizer

by davila7

Remove signs of AI-generated writing from text. Use when editing or reviewing\ntext to make it sound more natural and human-written. Based on Wikipedia's\ncomprehensive \

Backend
2873

clickup

by civitai

Interact with ClickUp tasks and documents - get task details, view comments, create and manage tasks, create and edit docs. Use when working with ClickUp task/doc URLs or IDs.

Backend
2483

himalaya

by openclaw

CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).

Backend
35108

architecture-decision-records

by wshobson

Write and maintain Architecture Decision Records (ADRs) following best practices for technical decision documentation. Use when documenting significant technical decisions, reviewing past architectural choices, or establishing decision processes.

Backend
29130

openspec

by ruan-cat

OpenSpec 中文版规范助手 - 规范驱动的 AI 编程开发,帮助初始化、创建提案、编写规格、校验格式并归档变更。触发条件: 当用户提及 openspec、规范文档、需求管理、变更提案、spec-driven development 等关键词时主动调用。

Backend
27122