CtrlK
BlogDocsLog inGet started
Tessl Logo

backend-patterns

Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes. Use when building or reviewing Node.js, Express, or Next.js API routes and their data access.

56

Quality

65%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/backend-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

46%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The skill delivers concrete, mostly executable Node.js backend patterns but is an oversized monolith. It spends most of its token budget on generic patterns Claude already knows and makes no use of bundle files for progressive disclosure.

Suggestions

Split the body into one-level-deep reference files (e.g., references/api-design.md, references/caching.md, references/auth.md) and keep SKILL.md as a short overview linking to them.

Cut sections that restate standard knowledge (JWT verification, exponential backoff, structured logging, in-memory rate limiter) or compress each to a one-line pointer plus a single non-obvious tip.

Fill in the stubbed methods (`vectorSearch`, `execute`) or remove them so every remaining example is copy-paste executable.

DimensionReasoningScore

Conciseness

The body runs ~600 lines of code examples, with large sections (JWT validation, exponential backoff, in-memory rate limiting, structured logging, RBAC maps) that restate textbook patterns Claude already knows. Prose is lean, but the sheer volume of generic boilerplate competes with the context window without adding novel knowledge.

2 / 5

Actionability

Most examples are concrete, executable TypeScript (repository, middleware HOF, cached repository, error handler). Minor gaps: `vectorSearch` and `execute` are empty stubs with '// implementation' comments, and `findByIds` is referenced but not defined, keeping this below copy-paste-ready.

4 / 5

Workflow Clarity

This is a pattern catalog with no multi-step workflow or validation checkpoints; the 'When to Activate' section gives scope but no sequencing. Batch/queue and database transaction sections lack explicit validate-then-proceed feedback loops, capping clarity per the rubric guidance.

3 / 5

Progressive Disclosure

A ~600-line monolithic SKILL.md with no references/, scripts/, or assets/ directories. Content that clearly belongs in separate topic files (auth, caching, database, logging) is entirely inlined, matching the 'content that clearly belongs in separate files is inlined' anchor despite decent section headers.

2 / 5

Total

11

/

20

Passed

Description

83%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: it states a concrete what, includes an explicit and specific 'Use when...' trigger clause, and anchors itself to named frameworks. The main improvement is converting topic nouns into concrete actions and broadening trigger synonyms.

DimensionReasoningScore

Specificity

The description names several specific capability areas — 'API design', 'database optimization', 'server-side best practices' — grounded to concrete frameworks. Falls short of a 5 because capabilities are stated as noun-phrase topics rather than concrete actions ('design REST endpoints', 'optimize N+1 queries').

4 / 5

Completeness

Explicitly answers both parts: the 'what' is backend architecture patterns, API design, database optimization, and server-side best practices, and the 'when' is a concrete 'Use when building or reviewing Node.js, Express, or Next.js API routes and their data access.' This matches the top anchor exactly.

5 / 5

Trigger Term Quality

Good natural keyword coverage: 'Node.js', 'Express', 'Next.js API routes', 'backend', 'building or reviewing'. A few natural terms users would say are missing (REST, endpoints, server-side, API routes without framework names), so not a 5.

4 / 5

Distinctiveness Conflict Risk

The Node.js/Express/Next.js API-route niche is distinct with framework-specific triggers, but 'server-side best practices' and 'building or reviewing' leave minor overlap risk with general code-review or full-stack Next.js skills, so it sits just below minimal conflict risk.

4 / 5

Total

17

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (599 lines); consider splitting into references/ and linking

Warning

Total

15

/

16

Passed

Repository
affaan-m/ECC
Reviewed

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.