universal-anti-patterns | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / development / universal-anti-patterns

universal-anti-patterns

maintained by kreuzberg-dev

star 560 account_tree 50 verified_user MIT License
bolt View GitHub

name: universal-anti-patterns description: "Instructions for universal anti patterns."


priority: critical

Universal Anti-Patterns

Never use:

  • Any type (Python, TypeScript) - use Unknown/generics
  • Class-based tests (Python) - function-based only
  • Mocking internal services (any language) - use real objects
  • Manual dependency management - use lock files
  • Blocking I/O in async code (Python/TypeScript) - fully async paths
  • Bare exception handlers - catch specific types only
  • Magic numbers - extract to named constants
  • Inheritance for code reuse - prefer composition
  • Global state - dependency injection
  • f-strings in logging - structured key=value logging
  • Unwrap/panic in production code (Rust) - use Result<T, E>
  • Duplication across bindings - core logic ALWAYS in Rust

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 560
GitHub Forks 50
Created Mar 2026
Last Updated 4个月前
development development architecture patterns

Related Skills

dagger-design-proposals
chevron_right
nestjs-expert
chevron_right
docker-expert
chevron_right
kafka-streams-topology
chevron_right
kafka-architecture
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.