gpsaggese/helpers / .claude/skills/coding.fix_pyright
coding.fix_pyright
VerifiedRun pyright on Python files and fix the reported lints
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1003 B |
SKILL.md
View on GitHub---
description: Run pyright on Python files and fix the reported lints
model: haiku
---
# Goal
Given a list of files `<FILES>`, run `pyright` on them and fix the reported
lints without changing behavior.
# Workflow
## Run `pyright`
- Run `pyright` on the `<FILES>` generating a file `tmp.pyright_before.txt`
- Summarize the types of issues and how many of them are present
## Fix Lints From `pyright`
- Read `tmp.pyright_before.txt`
- Fix the lints without changing the behavior of the code
- If there are tests in `test/test_<FILE>.py`, run the tests to make sure they
are still passing
- E.g., for `helpers/haws.py` run `helpers/test/test_haws.py`
## Run `pyright` After the Fixes
- Run `pyright` on the `<FILES>` generating a file `tmp.pyright_after.txt`
- Summarize the types of issues and how many of them are present
# Verification
- [ ] Confirm `tmp.pyright_after.txt` shows fewer or no issues compared to `tmp.pyright_before.txt`
- [ ] Confirm the corresponding unit tests still pass
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |