This Claude Code skill provides developers with production-ready patterns for implementing API rate limiting and throttling. It covers multiple algorithms, including token bucket and sliding window, backed by Redis for distributed environments. The skill guides engineers through setting up per-user, per-IP, and tiered rate limits, while ensuring proper HTTP 429 response handling and Retry-After headers to protect against brute-force attacks, credential stuffing, and resource exhaustion.
주요 기능
010 GitHub stars
02Redis-backed distributed rate limiting for microservices
03Automated HTTP 429 response handling with Retry-After headers
04Tiered usage quotas for free, premium, and enterprise users
05Token bucket and sliding window algorithm implementations
06Decorator-based integration for popular web frameworks
사용 사례
01Managing API usage quotas and fair-use policies across different customer tiers
02Preventing application-layer DoS attacks and resource exhaustion from bots
03Protecting authentication endpoints from brute force and credential stuffing attacks