javascript-rate-keys - Rate-limit key design for JavaScript and Node.js APIs
Designs rate-limit and quota Redis/memory keys for JavaScript/Node APIs, focusing on identity selection, route normalization, low cardinality, and anti-bypass.
Tags
Updated: 2026-09-16Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Select primary and secondary identity materials
- Define normalized route template classes
- Construct hierarchical composite rate keys
- Implement dual-key protection patterns
- Verify key isolation and cardinality
Inputs
- API endpoint inventory
- Request context objects
- Proxy hop configuration
Outputs
- Rate key construction logic
- Route class mapping code
- Key format runbook documentation
Requirements
- Node.js runtime environment
- Redis or in-memory key-value store
- Owned Node.js API framework
