Topic: pattern-detection
72 skills in this topic.
-
typescript-strict
Configure TypeScript strict mode with additional safety flags. Catch bugs at compile time instead of production. Includes branded types, exhaustive switches, and Result types.
dadbodgeoff/drift 770
-
tier-entitlements
Implement subscription tier-based feature gating and usage limits. Centralized tier configuration, database usage tracking, and clean APIs for checking limits.
dadbodgeoff/drift 770
-
supabase-auth
Implement Supabase authentication with SSR support. Email/password auth with automatic session management via cookies. Includes login, signup, email confirmation, and user profiles.
dadbodgeoff/drift 770
-
idempotency
Implement idempotent API operations to safely handle retries and prevent duplicate processing. Use when building payment APIs, order systems, or any operation that must not be executed twice.
dadbodgeoff/drift 770
-
sse-streaming
Implement Server-Sent Events (SSE) for real-time updates with automatic reconnection and heartbeats. Use when building live dashboards, notifications, progress indicators, or any feature needing server-to-client push.
dadbodgeoff/drift 770
-
sse-resilience
Redis-backed SSE stream management with stream registry, heartbeat monitoring, completion store for terminal events, and automatic orphan cleanup via background guardian process.
dadbodgeoff/drift 770
-
soft-delete
Implement soft delete pattern for data recovery and audit trails. Covers filtering, restoration, and permanent deletion workflows.
dadbodgeoff/drift 770
-
snapshot-aggregation
Daily compression of time-series data with merge logic for multiple pipeline runs, structured aggregation for dashboards, and storage estimation for capacity planning.
dadbodgeoff/drift 770
-
server-tick
Server-authoritative tick system for multiplayer games with lag compensation, anti-cheat validation, and deterministic physics. Prevents speed hacks and teleports while keeping gameplay fair for high-latency players.
dadbodgeoff/drift 770
-
scoring-engine
Statistical scoring with z-scores, percentiles, freshness decay, and cross-category normalization. Rank and compare items with confidence scoring.
dadbodgeoff/drift 770
-
row-level-security
Implement PostgreSQL Row Level Security (RLS) for multi-tenant SaaS applications. Use when building apps where users should only see their own data, or when implementing organization-based data isolation.
dadbodgeoff/drift 770
-
retry-fallback
Handle transient failures with exponential backoff and graceful fallbacks. Retry on network blips, fall back to cached data when services fail.
dadbodgeoff/drift 770
-
background-jobs
Implement robust background job processing with dead letter queues, retries, and state machines. Use when building async workflows, scheduled tasks, or any work that shouldn't block the request/response cycle.
dadbodgeoff/drift 770
-
data-transformers
Centralized transformation logic for consistent data shaping across API routes. Includes aggregators, rankers, trend calculators, and data sanitizers.
dadbodgeoff/drift 770
-
community-feed
Social feed with batch queries, cursor pagination, trending algorithms, and engagement tracking. Efficient database queries for infinite scroll feeds.
dadbodgeoff/drift 770
-
cloud-storage
Cloud storage integration with signed URLs, visibility control, multi-tenant path conventions, and presigned uploads for direct client uploads.
dadbodgeoff/drift 770
-
circuit-breaker
Implement the circuit breaker pattern to prevent cascade failures in distributed systems. Use when adding resilience to API clients, external service calls, or any operation that can fail and should fail fast.
dadbodgeoff/drift 770
-
checkpoint-resume
Exactly-once processing semantics with distributed coordination for file-based data pipelines. Atomic file claiming, status tracking, and automatic retry with in-memory fallback.
dadbodgeoff/drift 770
-
caching-strategies
Implement multi-layer caching with Redis, in-memory, and HTTP caching. Covers cache invalidation, stampede prevention, and cache-aside patterns.
dadbodgeoff/drift 770
-
batch-processing
Collect-then-batch pattern for database operations achieving 30-40% throughput improvement. Includes graceful fallback to sequential processing when batch operations fail.
dadbodgeoff/drift 770
-
backpressure
Manage data flow when producers outpace consumers. Bounded buffers, adaptive flushing, and graceful degradation prevent OOM crashes and data loss.
dadbodgeoff/drift 770
-
database-migrations
Safe database migration strategies for zero-downtime deployments. Covers backward-compatible changes, data migrations, and rollback procedures.
dadbodgeoff/drift 770
-
audit-logging
Comprehensive audit logging for compliance and security. Track user actions, data changes, and system events with tamper-proof storage.
dadbodgeoff/drift 770
-
atomic-matchmaking
Two-phase commit matchmaking that verifies both player connections before creating a match. Handles disconnections gracefully with automatic re-queue of healthy players.
dadbodgeoff/drift 770