implement-api-rate-limiting

Use when adding API rate limits, abuse controls, throttles, and tests for Laravel routes or integrations.

alizharb/agent-skills2 installsMITSynced Aug 22

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: implement-api-rate-limiting
description: Use when adding API rate limits, abuse controls, throttles, and tests for Laravel routes or integrations.
license: MIT
---

# Implement API Rate Limiting

## Workflow

1. Identify actors, endpoints, authentication mode, abuse risk, and expected traffic.
2. Configure named Laravel rate limiters with meaningful keys.
3. Apply throttles at the route or middleware boundary.
4. Return safe error responses without leaking sensitive details.
5. Add tests for allowed requests, exceeded limits, guests, and authenticated users.

## Verification

- Rate limit tests pass.
- Limits are documented for API consumers when public.

More API Design skills

← All API Design skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY