Search

PythonReactSEOPDF
GitHub Skill

universal-anti-patterns

Instructions for universal anti patterns.

kreuzberg-dev☆ 560 Repository stars50 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions


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

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-03-11
Index updated
2026-03-11
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

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