lint
/lint
Uruchamia wybrane sprawdzenia lintem, formatowaniem i jakością kodu na zmienionych plikach, zanim zmiany trafią do commita.
- Autor
- DataDog ↗
- Repozytorium
- dd-trace-py ↗
- Licencja
- BSD-3-Clause
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.
BSD-3-Clause, otwarta.
Co robi i kiedy
Uruchamia wybrane sprawdzenia lintem, formatowaniem i jakością kodu na zmienionych plikach, zanim zmiany trafią do commita.
Oryginalny opis (EN)
Run targeted linting, formatting, and code quality checks on modified files. Use this to validate code style, type safety, security, and other quality metrics before committing. Supports running all checks or targeting specific checks on specific files for efficient validation.
Jak działa
- Discover specialized checks
Podgląd SKILL.md
--- name: lint description: > Run targeted linting, formatting, and code quality checks on modified files. Use this to validate code style, type safety, security, and other quality metrics before committing. Supports running all checks or targeting specific checks on specific files for efficient validation. allowed-tools: - Bash - Read - Grep - Glob - TodoWrite --- # Formatting and checks Run `scripts/lint` from the repository root. It provisions the versions in `pyproject.toml`'s lint dependency group. Do not invoke the underlying tools directly. ```bash scripts/lint fmt -- <edited-python-file> scripts/lint typing -- <edited-python-file> scripts/lint spelling -- <edited-document> scripts/lint checks ``` Format edited code, use focused checks during iteration, and run `checks` before committing. Do not pass Markdown to the Python formatter. Native formatters invoked by `fmt`/`style` have their own selection logic; inspect the diff afterward rather than assuming every check is file-scoped. ## Discover specialized checks `scripts/lint --help` is the current command inventory. Useful task-specific checks include: | Change | Subcommand | |--------|------------| | Updated trace snapshots | `fmt-snapshots` | | Python handling user input, credentials, or sensitive operations | `security` | | New test files / suitespec | `suitespec-check`, `suitespec-duplicates` | | Microbenchmark scenarios or thresholds | `slo-ownership` | | Profiling native coverage | `profiling-native-check` | | Environment-variable registry | `supported-config-check` | | Log messages | `error-log-check` | | Type annotations | `typing`, `type-comments-check` | | ast-grep rules | `sg`, `sg-test` | | Git hooks | `hook-tests` | After changing annotations, run `typing` and check for new PEP 484 type comments. Use inline annotations for new types; existing type comments may stay, and `# type: ignore` is allowed. See `scripts/check_type_comments.py` for the exact diff-based policy and exceptions. ```bash scripts/lint type-comments-check --base-ref origin/main scripts/lint fmt-snapshots <edited-snapshot-file-or-directory> scripts/lint security -r <affected-python-directory> ``` Use the PR's actual base ref for the type-comment check; this check is not currently part of `scripts/lint checks`. Snapshot formatting rewrites the selected files; add `--check` for validation only. The full `checks` command already includes the security scan. Arguments are passed to each underlying command; consult its interface rather than assuming all subcommands accept paths. `checks` stops at the first failure. Report that failure and any checks not reached; do not describe a partial run as passing. Avoid unrelated cleanup.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · DataDog/dd-trace-py | 95 | BSD-3-Clause |
| RediSearch/RediSearch | 100 | AGPL-3.0 |
| pmdevsolutions/aurelius | 100 | MIT |
| rvdbreemen/adr-kit | 100 | MIT |
| mehrad-dm/mastermind | 100 | MIT |
| rjroy/vibe-garden | 100 | MIT |
| muon-m2/magento2-tools | 100 | MIT |
| arbazkhan971/godmode | 100 | MIT |
| plato-corp/skills | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 214ec474690b (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
Uruchamia kontrole jakości kodu, linting, formatowanie i sprawdzanie typów w kodzie Pythona Agent Framework oraz naprawia błędy lintu i problemy CI. - 90code-linting
Znajduje i uruchamia lintery oraz sprawdzenia formatowania dla zmienionego kodu po edycjach. - 87ase-code-lint
Sprawdza kod źródłowy lintem pod kątem potencjalnych problemów z jakością. - 100go-lint
Uruchamia golangci-lint, aby sprawdzić jakość kodu Go, na prośbę o lint albo przed commitem zmian. - 100validate-code
Uruchamia pełny pakiet kontroli jakości kodu: format, lint, typy i pisownię, z automatyczną naprawą. - 90check
Waliduje jakość kodu: automatycznie poprawia formatowanie i lint, weryfikuje typy i uruchamia testy, także przy samym lintowaniu.