pyright
Installation
SKILL.md
Pyright
Workflow
- Detect current Python targets, repo layout, and editor setup.
- Choose one source of truth:
pyrightconfig.jsonor[tool.pyright]. - Stabilize include/exclude/import resolution and execution environments.
- Set baseline strictness and roll strict mode by path.
- Address third-party typing with stubs and typed packages.
- Wire pinned Pyright checks into CI and enforce no-regression policy.
Preflight (Ask / Check First)
- Check whether both
pyrightconfig.jsonand[tool.pyright]exist. - Check whether VS Code uses Pylance and whether config files override editor settings.
- Check Python versions that must be supported at runtime.
- Check whether
src/layout or monorepo roots require explicit environments. - Check whether strict typing is expected globally or incrementally.