Auto fix

From tae0y/python-project-template · View interactive version

Auto fix is an AI agent skill from the GitHub repository tae0y/python-project-template. Auto-fix lint and formatting issues in Python code using ruff. Use when you want to apply automatic code fixes. Does not fix type errors or security issues.

How to use this skill

Skill file

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:

# 1. Fix lint issues
uv run ruff check --fix src/ tests/

# 2. Apply formatting
uv run ruff format src/ tests/

Output Format

## 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:

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.