Development skills

Browse reusable Agent Skills, each with a clear purpose and practical guidance.

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.

782 repo starsObserved in 6 repos
Development

api-client

Centralized TypeScript API client with typed namespaces, automatic token refresh with request deduplication, TanStack Query integration, and consistent error handling.

782 repo starsObserved in 5 repos
Development

file-uploads

Production-grade secure file upload pipeline with multi-stage validation, malware scanning (ClamAV), hash-based duplicate detection, and race condition protection using distributed locks.

782 repo starsObserved in 5 repos
Development

game-loop

Fixed timestep game loop with interpolation for frame-rate independent physics. Separates physics updates from rendering, prevents spiral of death, and supports hitstop/slow-mo effects.

782 repo starsObserved in 5 repos
Development

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.

782 repo starsObserved in 5 repos
Development

middleware-protection

Protect routes with Next.js middleware. Check authentication once, protect routes declaratively. Supports public routes, protected routes, and role-based access.

782 repo starsObserved in 5 repos
Development

request-validation

Validate API requests with schemas, sanitization, and helpful error messages. Covers Zod, Joi, and Pydantic patterns.

782 repo starsObserved in 5 repos
Development

retry-fallback

Handle transient failures with exponential backoff and graceful fallbacks. Retry on network blips, fall back to cached data when services fail.

782 repo starsObserved in 5 repos
Development

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.

782 repo starsObserved in 5 repos
Development

webhook-security

Implement secure webhook handling with signature verification, replay protection, and idempotency. Use when receiving webhooks from third-party services like Stripe, GitHub, Twilio, or building your own webhook system.

782 repo starsObserved in 5 repos
Development