From superpowers-laravel
Implements per-user and per-route rate limits in Laravel using RateLimiter and throttle middleware; handles backoffs, headers, and 429 responses for API protection.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers-laravel:rate-limiting-and-throttleThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Protect endpoints from abuse while keeping UX predictable.
Protect endpoints from abuse while keeping UX predictable.
// App\Providers\RouteServiceProvider
RateLimiter::for('api', function (Request $request) {
return Limit::perMinute(60)->by(optional($request->user())->id ?: $request->ip());
});
// routes/api.php
Route::middleware(['throttle:api'])->group(function () {
// ...
});
npx claudepluginhub jpcaparas/superpowers-laravel --plugin superpowers-laravelImplements rate limiting, throttling, and abuse prevention for APIs. Covers multi-layer limits, Redis-backed distributed rate limiting, and progressive delays for failed authentication.
Enforces per-client request quotas using token bucket or sliding window algorithms to protect APIs from abuse, brute force, and resource exhaustion.
Implements API rate limiting with sliding windows, token buckets, quotas using Redis and libraries for Node.js, Python/FastAPI, Java. Protects endpoints from excessive requests with headers and 429 responses.