Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
laurigates avatar

Basedpyright Type Checking

  • 92 installs
  • 49 repo stars
  • Updated August 4, 2026
  • laurigates/claude-plugins

Helps with ai & agent building tasks.

About

basedpyright-type-checking is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • basedpyright-type-checking
  • AI & Agent Building
  • AI-coding skill

Basedpyright Type Checking by the numbers

  • 92 all-time installs (skills.sh)
  • +1 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #4,749 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/laurigates/claude-plugins --skill basedpyright-type-checking

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs92
repo stars49
Last updatedAugust 4, 2026
Repositorylaurigates/claude-plugins

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Basedpyright Type Checking

Basedpyright is a fork of Pyright with additional features and stricter defaults, designed for maximum type safety and performance.

When to Use This Skill

Use this skill when...Use another tool instead when...
Setting up type checking for PythonFormatting code (use ruff format)
Configuring strict type validationLinting for style issues (use ruff check)
Comparing type checkers (basedpyright vs mypy)Detecting unused code (use vulture/deadcode)
Setting up LSP for type-aware editor supportRunning tests (use pytest)

Installation

Via uv (Recommended)

# Install globally
uv tool install basedpyright

# Install as dev dependency
uv add --dev basedpyright

# Run with uv
uv run basedpyright

Via pipx

pipx install basedpyright

Basic Usage

# Check entire project
basedpyright

# Check specific files/directories
basedpyright src/ tests/

# Watch mode for development
basedpyright --watch

# Output JSON for tooling integration
basedpyright --outputjson

# Verbose diagnostics
basedpyright --verbose

Configuration

Minimal Strict Configuration (pyproject.toml)

[tool.basedpyright]
typeCheckingMode = "strict"
pythonVersion = "3.12"
include = ["src"]
exclude = ["**/__pycache__", "**/.venv"]

# Basedpyright-specific strict rules
reportUnusedCallResult = "error"
reportImplicitStringConcatenation = "error"
reportMissingSuperCall = "error"
reportUninitializedInstanceVariable = "error"

Type Checking Modes

ModeDescriptionUse Case
offNo type checkingLegacy code, migration start
basicBasic type checkingGradual typing adoption
standardStandard strictnessMost projects (default Pyright)
strictStrict type checkingType-safe codebases
allMaximum strictnessHigh-assurance systems

Progressive Type Checking

# Start with basic mode
[tool.basedpyright]
typeCheckingMode = "basic"
include = ["src/new_module"]  # Type check new code only

# Gradually expand
include = ["src/new_module", "src/api"]

# Eventually enable strict mode
typeCheckingMode = "strict"
include = ["src"]

Choosing a Type Checker

FactorBasedpyrightPyrightmypy
SpeedFastestFastestSlower
StrictnessStrictest defaultsConfigurableConfigurable
LSP SupportBuilt-inBuilt-inVia dmypy
Plugin SystemLimitedLimitedExtensive

Choose Basedpyright for maximum type safety with stricter defaults and fastest speed. Choose Pyright for Microsoft's official support and VS Code Pylance compatibility. Choose mypy for extensive plugin ecosystem (django-stubs, pydantic-mypy).

Inline Error Suppression

# Inline type ignore
result = unsafe_operation()  # type: ignore[reportUnknownVariableType]

# Function-level ignore
def legacy_function():  # basedpyright: ignore
    pass

Agentic Optimizations

ContextCommand
Quick checkbasedpyright
JSON outputbasedpyright --outputjson
Watch modebasedpyright --watch
CI checkuv run basedpyright
Verbosebasedpyright --verbose

Quick Reference

FlagDescription
--watchWatch mode for development
--outputjsonJSON output for tooling
--verboseVerbose diagnostics
--pythonversion X.YOverride Python version
--level <mode>Override type checking mode

For detailed configuration options, LSP integration, migration guides, CI setup, and best practices, see REFERENCE.md.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.