Toolverse
All skills

pyrefly-type-coverage

by pytorch

Migrate a file to use stricter Pyrefly type checking with annotations required for all functions, classes, and attributes.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
pytorch
Category
Testing
Views
8

About this skill

Migrate a file to use stricter Pyrefly type checking with annotations required for all functions, classes, and attributes.

How to use

  1. Sprawdź, czy Twój projekt zawiera plik konfiguracyjny pyrefly.toml — jest to wymagane do pracy z tą umiejętnością.
  2. Otwórz plik, który chcesz ulepszyć, i usuń wszystkie komentarze typu pyre-ignore-all-errors lub @lint-ignore-every PYRELINT znajdujące się na górze pliku — te dyrektywy blokują kontrolę typów dla całego pliku.
  3. Dodaj wpis do pliku pyrefly.toml, aby włączyć ścisłą kontrolę typów dla Twojego pliku lub katalogu. Użyj sekcji [[sub-config]] z parametrem matches wskazującym ścieżkę do pliku (np. path/to/your/file.py) lub katalogu (np. path/to/directory/**), a następnie ustaw implicit-import = false i implicit-any = true w sekcji [sub-config.errors].
  4. Uruchom polecenie pyrefly check , aby zidentyfikować wszystkie błędy typów — narzędzie wyświetli listę brakujących adnotacji zwrotnych, parametrów i atrybutów wraz z numerami linii.
  5. Dodaj brakujące adnotacje typów do funkcji, klas i atrybutów na podstawie raportów z kroku 4 — możesz stopniowo włączać bardziej rygorystyczne opcje w pyrefly.toml, takie jak unannotated-attribute, unannotated-parameter i unannotated-return.
  6. Ponownie uruchom pyrefly check, aby potwierdzić, że wszystkie błędy typów zostały rozwiązane i plik osiągnął pełne pokrycie typów.

Related skills

backtesting-frameworks

by wshobson

Build robust backtesting systems for trading strategies with proper handling of look-ahead bias, survivorship bias, and transaction costs. Use when developing trading algorithms, validating strategies, or building backtesting infrastructure.

Testing
12105

wcag-audit-patterns

by wshobson

Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance. Use when auditing websites for accessibility, fixing WCAG violations, or implementing accessible design patterns.

Testing
1893

code-reviewer

by google-gemini

Use this skill to review code. It supports both local changes (staged or working tree) and remote Pull Requests (by ID or URL). It focuses on correctness, maintainability, and adherence to project standards.

Testing
1248

textual

by KyleKing

Expert guidance for building TUI (Text User Interface) applications with the Textual framework. Invoke when user asks about Textual development, TUI apps, widgets, screens, CSS styling, reactive programming, or testing Textual applications.

Testing
69192

go-dev-guidelines

by jumppad-labs

This skill should be used when writing, refactoring, or testing Go code. It provides idiomatic Go development patterns, TDD-based workflows, project structure conventions, and testing best practices using testify/require and mockery. Activate this skill when creating new Go

Testing
1190

ad-creative

by alirezarezvani

When the user needs to generate, iterate, or scale ad creative for paid advertising. Use when they say 'write ad copy,' 'generate headlines,' 'create ad variations,' 'bulk creative,' 'iterate on ads,' 'ad copy validation,' 'RSA headlines,' 'Meta ad copy,' 'LinkedIn ad,' or

Testing
2863