Skip to content
DevBuildKit
AgentsSkillsCommandsPacksPricingDocsBlogTools
Log inGet DevBuildKit

Rate Limiting

Design and implement API throttling — algorithm choice (token bucket, GCRA, sliding window), Redis atomic implementations, limit keys and tiers, 429 semantics, proxy-aware client IPs, abuse endpoints and client backoff.

SkillEngineeringv1.0.0
  1. Skills
  2. Rate Limiting

What it does

Design and implement API throttling — algorithm choice (token bucket, GCRA, sliding window), Redis atomic implementations, limit keys and tiers, 429 semantics, proxy-aware client IPs, abuse endpoints and client backoff.

Category
backendsecurityreliability
Platforms
backend
Frameworks and tools
redisnginxexpressfastapi
Capabilities
architecturecode-generationreview

Example tasks

  • “Add per-API-key and per-IP rate limits to a public API using Redis.”
  • “Protect login and password-reset endpoints from credential stuffing without locking out real users.”
  • “Design tiered quotas (free, pro) with burst allowance and clear 429 responses.”

Works with

Recommended alongside

  • Redis· skill
  • REST API Design· skill
  • Authentication· skill
  • /observability· command

Used by

  • API Engineer
  • Backend Architect
  • Redis & Cache Specialist
  • /api-security
  • /create-api
  • /create-auth

Permissions summary

  • Files

    Reads files only

  • Shell

    No shell commands

  • Network

    No network

Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.

Supported environments

ClientSupportInstalled as
Claude CodeNative.claude/skills/<id>/SKILL.md
OpenAI CodexAdapter.codex/skills/<id>/SKILL.md
CursorAdapter.cursor/rules/<id>.mdc
VS Code (Copilot)Adapter.github/instructions/<id>.instructions.md
Generic markdownAdapterdocs/forgekit/skills/<id>.md

Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.

Included in packs

  • backend
  • web-saas

What is inside

This is a premium component, so its prompt is delivered only through signed downloads to licensed accounts. Here is the outline of its sections (80 lines in total).

  1. 01Rate Limiting
  2. 021. Where to limit (layered)
  3. 032. Algorithm choice
  4. 043. Choosing the key
  5. 054. Redis implementation (atomic)
  6. 065. Failure mode
  7. 076. Rejection response
  8. 087. Client IPs behind proxies
  9. 098. Clients and operations
  10. 10Common mistakes
Unlock with DevBuildKit

Version and changelog

Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.

Changelog — Rate Limiting

1.0.0

  • Initial release.

Build with this skill

Create Demo Project

Install in CLI

$ devbuild add skill rate-limiting

Dependencies are resolved automatically.

Included in the Engineering tier of DevBuildKit.

Get DevBuildKit
IDrate-limiting
Version1.0.0
TierEngineering
DevBuildKit

Your entire AI development team. One install.

DevBuildKit never uploads your source code. Telemetry is opt-in and anonymous.

Product

  • Agents
  • Skills
  • Commands
  • Packs
  • Features
  • Live demo
  • Pricing

Learn

  • Documentation
  • Getting started
  • CLI reference
  • Blog
  • Changelog
  • Compare

Free tools

  • All tools
  • Agent generator
  • Config converter
  • Stack detector
  • Context analyzer

Use cases

  • Android development
  • iOS development
  • SaaS development
  • Backend development
  • App Factory
  • Game development

Company

  • Terms
  • Privacy
  • Refunds
  • Log in
  • Sign up

© 2026 DevBuildKit. All rights reserved.

DevBuildKit is an independent product. Claude, Claude Code, Anthropic, OpenAI, Codex, ChatGPT, Cursor, Visual Studio Code, GitHub Copilot, Microsoft and all other product names are trademarks of their respective owners. DevBuildKit is not affiliated with, endorsed by or sponsored by any of them; names are used only to describe compatibility.