Przejdź do treści
Biblioteka skilli
Programowanie · Automatyzacja

ruff-check

/ruff-check

Sprawdza i formatuje pliki Python w projekcie narzędziem Ruff, automatycznie naprawia to, co da się naprawić, i raportuje resztę.

Repozytorium
claude-plugins ↗
Licencja
MIT
Ostatnia zmiana repozytorium
15.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 15.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Sprawdza i formatuje pliki Python w projekcie narzędziem Ruff, automatycznie naprawia to, co da się naprawić, i raportuje resztę.

Wyzwalacze z opisu

lint my Pythonfix Python code stylerun ruffformat my Python filescheck Python qualityfix linting errors
Oryginalny opis (EN)

Lints and formats all Python files in the project using Ruff. Activates when the user asks to "lint my Python", "fix Python code style", "run ruff", "format my Python files", "check Python quality", or "fix linting errors". Installs Ruff if not present, auto-fixes resolvable issues, and reports remaining violations.

Jak działa

  1. Workflow
  2. Useful Options
  3. On Remaining Violations
Sekcje z nagłówków SKILL.md, w oryginale · 63 linii, 229 słów
Podgląd SKILL.md
---
name: ruff-check
description: >
  Lints and formats all Python files in the project using Ruff. Activates when
  the user asks to "lint my Python", "fix Python code style", "run ruff",
  "format my Python files", "check Python quality", or "fix linting errors".
  Installs Ruff if not present, auto-fixes resolvable issues, and reports
  remaining violations.
---

# Python Linting and Formatting with Ruff

Lint and auto-format all Python files in the project using Ruff — the fast,
all-in-one Python linter and formatter that replaces flake8, isort, and black.

## Workflow

### Step 1 — Install Ruff (if not present)

```bash
# Preferred: uv dev dependency
uv add --dev ruff 2>/dev/null || \
  # Fallback: pip
  pip install ruff
```

### Step 2 — Check for violations

```bash
ruff check .
```

Report the number of violations found and their categories.

### Step 3 — Auto-fix resolvable violations

```bash
ruff check --fix .
```

### Step 4 — Format code (replaces black)

```bash
ruff format .
```

### Step 5 — Final verification

```bash
ruff check . && ruff format --check .
```

Report outcome:
- `✓ No violations — all files clean.`
- List any remaining violations that require manual attention.

## Useful Options

| Flag | Purpose |
|---|---|
| `ruff check --select E,W` | Errors and warnings only |
| `ruff check --fix --unsafe-fixes` | Apply unsafe fixes as well |
| `ruff format --diff` | Preview formatting changes without applying |
| `ruff check --statistics` | Show count per rule |

## On Remaining Violations

For each violation that could not be auto-fixed:
1. Show the file path and line number
2. Explain what the rule requires
3. Suggest the manual fix

Wersje

W bazie nie ma innych skilli o nazwie ruff-check.

Migawka bazy z 13.11.2026 · wersja paczki a982c3f34125 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100python-code-quality
    Dba o jakość kodu Python z ruff i ty: linting, formatowanie, sprawdzanie typów i styl kodu.
  • 100ruff-linting
    Lintuje kod Pythona narzędziem ruff: dobiera reguły, automatycznie naprawia uwagi i konfiguruje narzędzie, aby sprawdzać jakość kodu i wykrywać błędy.
  • 100ruff
    Lintuje i formatuje kod Pythona narzędziem Ruff: pomaga skonfigurować linting, zastąpić flake8, black i isort oraz przyspieszyć formatowanie.
  • 100python-code-style
    Pisze, formatuje i sprawdza kod Python według wspólnych standardów stylu, z Ruff, typami i docstringami.
  • 100ruff
    Opisuje linter i formatter Pythona Ruff: konfigurację w pyproject.toml, wybór reguł, automatyczne poprawki oraz integrację z edytorami i CI.
  • 100python-coding-standards
    Sprawdza kod Python z Ruff pod kątem nazw, typów, struktury, wyjątków i testów zgodnie z nowoczesnym standardem.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.