# Auto Fix

> 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.

- Skill: `taewook486/auto-fix` (Agent Skill)
- Install (CLI): `npx skillmds@latest add taewook486/auto-fix`
- Raw SKILL.md: https://api.skillmd.com/api/skills/taewook486/auto-fix/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: taewook486 (https://skillmd.com/u/taewook486)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/taewook486/auto-fix

---


# 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

```
## 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 add` and record with `worklog done [description]`"
- If issues remain → "Run `check` skill 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 status` first to confirm baseline before applying changes

