28 chapters · 88 min
Skills
Chapter 28 of 28
Python typing exclusion worker: remove assigned mypy exclusion modules in small scoped batches, fix typing issues, run validation, and produce a structured completion summary.
1 minute · 322 words · 7 sections
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:
## Batch Summary
- Branch/worktree: `<name>`
- Ownership/domain: `<team-or-domain>`
### Modules Removed From Exclusion
- `<module.path.one>`
- `<module.path.two>`
### Files Changed
- `<path>`
- `<path>`
### Key Typing Fixes
- `<short rationale + fix>`
Stop and report instead of widening scope when:
pyproject.toml cannot be resolved safely,Install this repository
npx skills add getsentry/skills/plugin marketplace add getsentry/skillsSkills install per repository, not per chapter — the CLI has no documented per-skill form, so we do not print one.
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.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
main, last pushed 8 August 2026.SKILL.md, not by matching a directory convention. One layout observed: skills/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Sentry, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./getsentry/skills.md, and each chapter at its own URL..md