npx skills add ...
npx skills add getsentry/sentry-skills --skill typing-exclusion-worker
Python typing exclusion worker: remove assigned mypy exclusion modules in small scoped batches, fix typing issues, run validation, and produce a structured completion summary. Use when running parallel typing-debt workers or when asked to remove modules from pyproject mypy exclusion overrides.
This repo is now called getsentry/skills. Both names install the same content, but the install count here only covers this one.
npx skills add getsentry/sentry-skills --skill typing-exclusion-worker
Execute one assigned typing batch safely and predictably:
Before starting, confirm these inputs exist in the task prompt:
If any are missing, ask for them before editing.
pyproject.toml.# type: ignore; if unavoidable, use narrow ignore[code] with a short reason.Apply exclusion change
pyproject.toml.Run mypy on assigned scope
isinstance narrowing, accurate return types, typed class attrs, relation-safe model access).Run tests for touched area
Run pre-commit on changed files
pre-commit run --files <changed files>.Final verification
Any.obj.related) when stubs do not expose raw *_id attributes.Return this exact structure at the end of each batch:
Stop and report instead of widening scope when:
pyproject.toml cannot be resolved safely,