Agent skill
universal-anti-patterns
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/universal-anti-patterns
SKILL.md
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?