Auto-Fix Lint and Format
Apply automatic fixes for lint and formatting issues only. Type errors and security issues require manual review.
Execution
Run in order:
bash
# 1. Fix lint issues uv run ruff check --fix src/ tests/ # 2. Apply formatting uv run ruff format src/ tests/
Output Format
code
## Auto-Fix Results ### Ruff Lint - Issues fixed: [count] - Files modified: [file list] - Remaining issues: [count] (require manual fix) ### Ruff Format - Files reformatted: [count] - Key files changed: [file list]
After fixing:
- •If files were modified → "Review changes, then
git addand record withworklog done [description]" - •If issues remain → "Run
checkskill to see remaining details" - •If all resolved →
All auto-fixes applied ✓
Notes
- •Fixes lint and format only — not type errors or security issues
- •Run
git statusfirst to confirm baseline before applying changes