Toolverse
All skills

python-anti-patterns

by wshobson

Common Python anti-patterns to avoid. Use as a checklist when reviewing code, before finalizing implementations, or when debugging issues that might stem from known bad practices.

Installation

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

Installation

Quick info

Author
wshobson
Category
Backend
Views
19

About this skill

Common Python anti-patterns to avoid. Use as a checklist when reviewing code, before finalizing implementations, or when debugging issues that might stem from known bad practices.

How to use

  1. Zainstaluj skill w swoim środowisku agenta — dodaj repozytorium do konfiguracji pluginów python-development.

  2. Przed przesłaniem kodu do merge'a otwórz checklist antypatternów i przejrzyj sekcje dotyczące Twojej domeny (infrastruktura, logika biznesowa, obsługa błędów).

  3. Sprawdź konkretne problemy: czy timeout/retry logic jest rozproszona w kodzie, czy istnieje duplikowanie retry na wielu warstwach, czy konfiguracja lub sekrety są hard-codowane w pliku źródłowym.

  4. Dla każdego znalezionego antypatterna zastosuj sugerowaną poprawkę — na przykład scentralizuj logikę retry w dekoratorach lub wrapperach klienta, usuń duplikaty retry, przenieś konfigurację do zmiennych środowiskowych.

  5. Użyj skilla również podczas debugowania tajemniczych problemów — wiele błędów wynika z tych znanych złych praktyk, więc checklist przyspiesza diagnozę.

  6. Dla pozytywnych wzorców i wskazówek architektonicznych zapoznaj się z powiązanym skillem python-design-patterns.

Related skills

api-design-principles

by wshobson

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

Backend
50146

fastapi-pro

by sickn33

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

Backend
54128

using-superpowers

by obra

Use when starting any conversation - establishes mandatory workflows for finding and using skills, including using Skill tool before announcing usage, following brainstorming before coding, and creating TodoWrite todos for checklists

Backend
65167

dotnet-backend

by anton-abyzov

.NET/C# backend developer for ASP.NET Core APIs with Entity Framework Core. Builds REST APIs, minimal APIs, gRPC services, authentication with Identity/JWT, authorization, database operations, background services, SignalR real-time features. Activates for: .NET, C#, ASP.NET

Backend
92296

patent-search

by RobThePCGuy

Advanced prior art search using the PatentsView API. Use this skill when users need to search for patents, perform prior art searches, analyze patent landscapes, or find patents by inventor, title, date range, or technical fields. Helps with patent research, freedom to operate

Backend
36218

fastapi-templates

by wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

Backend
327582