CtrlK
BlogDocsLog inGet started
Tessl Logo

api-response-optimization

Optimizes API performance through payload reduction, caching strategies, and compression techniques. Use when improving API response times, reducing bandwidth usage, or implementing efficient caching.

95

1.03x
Quality

93%

Does it follow best practices?

Impact

98%

1.03x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Evaluation results

94%

User Profile API with Selective Field Responses

Sparse fieldsets and field projection

Criteria
Without context
With context

Fields query param

100%

100%

Comma-split parsing

100%

100%

Field projection applied

100%

100%

Null/missing fields default

100%

100%

Sensitive fields removed

100%

100%

Sensitive exclusion unconditional

100%

100%

Returns JSON array

100%

100%

Documented exclusions

100%

100%

Optional chaining or null-safe parse

100%

100%

GET endpoint defined

100%

100%

Fields as projection argument

0%

0%

100%

8%

Product Catalog API with HTTP Caching

HTTP caching with ETags and Cache-Control

Criteria
Without context
With context

MD5 ETag hash

100%

100%

JSON.stringify input

100%

100%

If-None-Match check

100%

100%

304 response

100%

100%

ETag response header

100%

100%

Cache-Control public

100%

100%

Cache-Control max-age=3600

0%

100%

Caching strategy documented

100%

100%

crypto module used

100%

100%

hex digest

100%

100%

100%

Express API with Bandwidth-Efficient Response Compression

Response compression middleware

Criteria
Without context
With context

compression package used

100%

100%

app.use middleware

100%

100%

Custom filter function

100%

100%

x-no-compression opt-out

100%

100%

Default filter fallback

100%

100%

Level set to 6

100%

100%

Documentation complete

100%

100%

compression in package.json

100%

100%

Middleware before routes

100%

100%

Opt-out header name exact

100%

100%

Repository
secondsky/claude-skills
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

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.