modules/<module>/src/rate-limit/<Name>RateLimiter.ts and its matching test file, and installs the @talosjs/rate-limit dependency if it is missing. The generated class implements the IRateLimiter interface (with check, isLimited, and reset) so you can plug in a custom throttling strategy.
Usage
Examples
Options
AI Skill
This command ships a matchingrate-limit:create skill. Your AI agent uses it to generate a new rate limiter class and its test file, then complete a custom request-throttling strategy that implements the IRateLimiter interface from @talosjs/rate-limit.
- Claude
- Codex