Loading...
Loading...
Run Python (ruff) and JavaScript (Biome) linting, formatting, and code quality checks with auto-fix support. Use when code needs linting, formatting, or style checking before commits. Use for "lint", "format", "ruff", "biome", "code style", or "check quality". Do NOT use for comprehensive code review (use systematic-code-review).
npx skill4agent add notque/claude-code-toolkit code-linting--fix./venv/bin/ruff./env/bin/ruffpip install ruffpipx run ruff check .npx @biomejs/biome# Navigate to your project
cd /path/to/your/project
# Check for issues (use project's venv if available)
ruff check .
# or with virtual env: ./venv/bin/ruff check .
# Auto-fix issues
ruff check --fix .
# Format code
ruff format .
# Check formatting only (no changes)
ruff format --check .# Navigate to your project
cd /path/to/your/project
# Check for issues
npx @biomejs/biome check src/
# Auto-fix issues
npx @biomejs/biome check --write src/
# Format only
npx @biomejs/biome format --write src/make lint # Check both Python and JS
make lint-fix # Fix both Python and JS| Tool | Config | Typical Line Width |
|---|---|---|
| ruff | pyproject.toml | 88-120 |
| biome | biome.json | 80-120 |
ruff check --fixvarletconstconst=====$ ruff check .
$ # Immediately running --fix without reviewing issues
$ ruff check --fix .$ ruff check --fix .
# All files changed
$ git add . && git commit -m "lint fixes"
# Didn't review what changedruff check --fix .git diffUser: "Lint the code"
Assistant: "I ran the linter and found 3 issues. All fixed!"$ ruff check .
src/main.py:10:1: F401 [*] `os` imported but unused
src/utils.py:25:80: E501 Line too long (95 > 88 characters)
Found 2 errors.
[*] 1 fixable with the --fix flag
$ ruff check --fix .
Fixed 1 error:
src/main.py:10:1: F401 Removed unused import `os`ruff check .npx @biomejs/biome check src/ruff check --fix .ruff format .