pyright-type-checker

Perform static type checking on Python code with Pyright.

68|19|Updated Nov 21, 2025
One-click install
npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill pyright-type-checker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pyright-type-checker
Source: https://github.com/bobmatnyc/claude-mpm-skills/tree/main/toolchains/python/tooling/pyright
Command: npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill pyright-type-checker

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides fast and efficient static type checking for Python code, helping to catch errors early in the development cycle and improve code quality.

Core Features & Use Cases

  • Strict Type Enforcement: Enforces type hints to prevent runtime errors.
  • VS Code Integration: Powers Pylance for real-time type checking and autocompletion within VS Code.
  • Performance: Significantly faster than traditional type checkers like mypy.
  • Use Case: Integrate Pyright into your CI/CD pipeline to automatically verify type correctness before merging code, ensuring a more robust codebase.

Quick Start

Run pyright from your project's root directory to perform a type check.

Frequently Asked Questions about pyright-type-checker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform fast static type checking on Python code?

Pyright performs fast static type checking on Python code to enforce type hints and catch type-related errors early. Run it from your project's root directory to identify issues before runtime.

How do I configure strict type checking modes for Python in VS Code?

Strict type checking modes for Python in VS Code are configured through a pyrightconfig.json file. Pyright powers the Pylance extension to provide real-time type checking and autocompletion directly within the editor.

Why use Pyright instead of mypy for Python type checking?

Pyright offers significantly faster performance compared to traditional type checkers like mypy. It also seamlessly powers VS Code's Pylance extension for real-time type checking and autocompletion.

Can I integrate Python type checking into a CI/CD pipeline?

Python type checking can be integrated into a CI/CD pipeline by running Pyright to automatically verify type correctness before code is merged. This ensures a more robust codebase by catching errors early in the development cycle.

What is the purpose of static type enforcement in Python development?

Static type enforcement in Python development prevents runtime errors by validating type hints before execution. It helps maintain code quality and catch type-related errors proactively during the development cycle.