Agent skill · software engineering · aiskillstore
code-patterns
Common code patterns and best practices reference for quick lookup
Why this skill is useful
Codifies common design patterns and best practices that the AI can reference but may already infer.
What it needs
About 4k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Code Patterns Reference Quick reference for common patterns. Use these as starting points, not rigid templates. Creational Patterns Factory Builder Singleton Structural Patterns Adapter Decorator Behavioral Patterns Strategy Observer Error Handling Patterns Result Type Retry with Backoff Async Patterns Promise Queue Debounce Data Patterns Repository Unit of Work When to Use Each Problem Pattern --------- --------- Complex object creation Builder Multiple similar objects Factory Global state (careful!) Singleton Incompatible interfaces Adapter Adding features dynamically Decorator Swappable algorithms Strategy Event-based communication Observer Expected failures Result Type Transient failures Retry Rate limiting Debounce/Throttle Data access abstraction Repository Transactional consistency Unit of Work
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/code-patterns