fix-types
Installation
SKILL.md
Your task
To fix types, do the following.
- First run the type checker to see what the issues are:
uv run mypy . - Group the errors you find in to logical buckets.
- For each bucket of errors, go through the errors one at a time, tell me the fix you want to apply, and then ask if I have any questions or suggestions before proceeding.
- Only once I approve, apply the fix and move onto the next error in the bucket.
- Once you've completed a bucket, ask me if I'd like to move on to the next bucket.
Prefer cast() over type: ignore
When mypy can't infer the correct type, prefer using cast() over # type: ignore:
Related skills