Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
SkillScore100Maintained
Automatic
◆Coding pack
Last verified 8/15/2026
What it changes
Passed 24 of 24 test cases with the skill, and 23 of 24 without it.
Without skill96%
With skill100%
Checks it passed that the model alone missed
Defines a custom ApiError class containing an HTTP status code
1 fixed23 passed either way0 still failing0 broke
Pass-rate lift
+4 pp
Tokens
+128%
Agent turns
0%
Response time
-20%
Model gemini-3.6-flashMeasured 8/15/2026v124 of 24 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
A test case the skill fixed. Same model, same prompt, with and without the skill.
Prompt
Our API handlers throw standard generic JavaScript `Error` objects, causing unexpected 500 status responses even for invalid request parameters. Show how to construct a custom operational error class and a centralized HTTP error response handler.
What was checked, without and with the skill
Checked
Without skill
With skill
Defines a custom ApiError class containing an HTTP status code
Missed
Passed
case-10 · gemini-3.6-flash · 8/15/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md592 linessingle file
Backend Development Patterns
Backend architecture patterns and best practices for scalable server-side applications.
When to Activate
Designing REST or GraphQL API endpoints
Implementing repository, service, or controller layers
Structuring error handling and validation for APIs
Building middleware (auth, logging, rate limiting)
API Design Patterns
RESTful API Structure
// PASS: Resource-based URLs
GET /api/markets # List resources
GET /api/markets/:id # Get single resource
POST /api/markets # Create resource
PUT /api/markets/:id # Replace resource
PATCH /api/markets/:id # Update resource
DELETE /api/markets/:id # Delete resource
// PASS: Query parameters for filtering, sorting, pagination
GET /api/markets?status=active&sort=volume&limit=20&offset=0