Implements API rate limiting using token bucket, sliding window, and Redis-based algorithms to protect against abuse. Use when securing public APIs, implementing tiered access, or preventing denial-of-service attacks.
75
68%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./plugins/api-rate-limiting/skills/api-rate-limiting/SKILL.mdQuality
Discovery
100%Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.
This is a strong skill description that clearly communicates specific capabilities (token bucket, sliding window, Redis-based rate limiting), provides explicit trigger guidance via a 'Use when' clause, and uses natural keywords developers would search for. It is concise, uses third-person voice correctly, and occupies a distinct niche that minimizes conflict with other skills.
| Dimension | Reasoning | Score |
|---|---|---|
Specificity | Lists multiple specific concrete actions and algorithms: 'token bucket, sliding window, and Redis-based algorithms' along with specific use cases like 'securing public APIs, implementing tiered access, preventing denial-of-service attacks'. | 3 / 3 |
Completeness | Clearly answers both 'what' (implements API rate limiting using specific algorithms) and 'when' (explicit 'Use when' clause covering securing public APIs, implementing tiered access, or preventing DoS attacks). | 3 / 3 |
Trigger Term Quality | Includes strong natural keywords users would say: 'rate limiting', 'token bucket', 'sliding window', 'Redis', 'public APIs', 'tiered access', 'denial-of-service', 'abuse'. These cover both high-level and technical terms a developer would naturally use. | 3 / 3 |
Distinctiveness Conflict Risk | Highly distinctive with a clear niche around API rate limiting with specific algorithm names. Unlikely to conflict with general API skills or security skills due to the precise focus on rate limiting mechanisms. | 3 / 3 |
Total | 12 / 12 Passed |
Implementation
37%Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
The skill provides some useful executable code (TokenBucket class, Express middleware) but falls short on workflow clarity — there's no sequencing, integration guidance, or validation steps. It also promises Redis-based and sliding window algorithms in the description but delivers neither. The best practices section and algorithm comparison table add little value for Claude.
Suggestions
Add a clear workflow showing how to integrate rate limiting end-to-end: choose algorithm → implement middleware → add response headers → validate with a test request → monitor in production.
Include the Redis-based sliding window implementation that the skill description promises, with executable code.
Remove the generic 'Best Practices' bullet list and algorithm pros/cons table — Claude already knows these concepts. Replace with concrete integration code showing how to connect the TokenBucket class to Express middleware with proper headers.
Add a validation/testing step showing how to verify rate limiting works (e.g., a curl command that triggers a 429 response).
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | Mostly efficient but includes some unnecessary content like the algorithm comparison table (Claude knows these tradeoffs) and the 'Best Practices' bullet list which is generic advice Claude already understands. The tiered limits table is also filler. | 2 / 3 |
Actionability | The TokenBucket class and Express middleware are executable code, which is good. However, the sliding window and Redis-based algorithms mentioned in the description are absent. The response headers section is just a static example with no code showing how to set them. Missing the Redis distributed implementation is a significant gap. | 2 / 3 |
Workflow Clarity | There is no workflow or sequencing at all — just disconnected code snippets and tables. No guidance on how to integrate the TokenBucket class with Express, no validation steps for testing rate limiting behavior, and no error recovery or verification process. | 1 / 3 |
Progressive Disclosure | Content is organized into clear sections with headers, which is good. However, everything is inline in one file with no references to deeper materials (e.g., a Redis-based implementation guide, testing strategies). The content is neither too long to need splitting nor well-structured enough to score highest. | 2 / 3 |
Total | 7 / 12 Passed |
Validation
100%Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.
Validation — 11 / 11 Passed
Validation for skill structure
No warnings or errors.
88da5ff
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.