CtrlK
BlogDocsLog inGet started
Tessl Logo

nodejs-backend-patterns

Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices. Use when creating Node.js servers, REST APIs, GraphQL backends, or microservices architectures.

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 ./tests/ext_conformance/artifacts/agents-wshobson/javascript-typescript/skills/nodejs-backend-patterns/SKILL.md

The canonical home for this skill is nodejs-backend-patterns in wshobson/agents

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 body is highly actionable, executable reference code, but it is a monolithic ~1000-line catalog that buries generic boilerplate Claude already knows and provides no sequenced build/validate workflow. It would score much higher split into per-topic reference files with a lean overview.

Suggestions

Split the body into one-level-deep reference files (e.g., references/authentication.md, references/database.md, references/middleware.md, references/caching.md) and keep SKILL.md as a lean overview with clearly signaled links, per the progressive_disclosure anchor-5 example.

Cut boilerplate Claude already knows — the four near-identical CRUD controller methods, standard Express/Fastify setup, and conventional JWT/bcrypt code — down to the non-obvious patterns and project-specific conventions to lift conciseness.

Add a sequenced 'building a service' workflow with explicit validation checkpoints (e.g., verify DB connectivity, run tests, health-check after wiring routes) so multi-step work has feedback loops.

Fix the code gaps: add 'roles' to JWTPayload, import/instantiate 'router' in the validation example, define or inline 'calculateTotal', and either use 'asyncHandler' in the controllers or remove it.

DimensionReasoningScore

Conciseness

Roughly 1000 lines of textbook boilerplate Claude already knows — standard Express setup, four near-identical try/catch CRUD controller methods, conventional JWT/bcrypt/pg patterns — matching 'noticeably verbose; several unnecessary... padded sections'. Not 3 because the volume of familiar boilerplate far exceeds a few tightenable spots; not 1 because there is no prose padding or concept explanation.

2 / 5

Actionability

Concrete, complete, executable TypeScript across frameworks, middleware, transactions, and caching ('Mostly executable guidance; concrete code with minor gaps'). Not 5 due to loose ends: 'req.user?.roles' is not in JWTPayload, the 'router' in the validation example is never imported, 'calculateTotal' is undefined, and 'asyncHandler' is defined but the controllers that need it use manual try/catch.

4 / 5

Workflow Clarity

A patterns catalog with no sequenced process for building a service and no validation checkpoints after risky steps (DB migrations, transaction handling, deploys) — sequence is at best implicit, matching the anchor-3 'checkpoints missing or implicit'. Not 4 because no ordered workflow is articulated anywhere; not 2 because sections are individually coherent and the transaction/error patterns do show rollback and error propagation.

3 / 5

Progressive Disclosure

Everything is inlined in SKILL.md with no bundle files at all — the auth, database, caching, and middleware sections each clearly belong in separate reference files, matching 'content that clearly belongs in separate files is inlined'. Not 3 because the ~1000-line volume dwarfs even the anchor-3 example and only a single cross-skill pointer ('See javascript-testing-patterns skill') exists; not 1 because section headers do provide navigable structure.

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: third person, concrete capability list, and an explicit 'Use when' clause with natural trigger terms. Minor improvements possible by adding common synonyms and replacing the generic 'API design best practices' with a concrete capability.

DimensionReasoningScore

Specificity

Names the domain and several concrete actions ('middleware patterns, error handling, authentication, database integration'), matching the 'several specific actions; minor gaps' anchor. Not 5 because 'API design best practices' is generic and body topics like caching, logging, and testing are unmentioned.

4 / 5

Completeness

Explicitly answers both what ('Build production-ready Node.js backend services... implementing middleware patterns, error handling, authentication...') and when ('Use when creating Node.js servers, REST APIs, GraphQL backends, or microservices architectures') with concrete triggers. Not 4 because the 'when' clause is fully explicit rather than merely present.

5 / 5

Trigger Term Quality

'Node.js servers, REST APIs, GraphQL backends, microservices' are phrases users would naturally say, giving good keyword coverage. Not 5 because natural synonyms like 'Express app', 'backend API', or 'Node service' are missing.

4 / 5

Distinctiveness Conflict Risk

A clear Node.js backend niche with distinct framework triggers ('Express/Fastify', 'microservices'). Not 5 because shared 'Node.js'/'API' triggers could overlap with general JavaScript, frontend, or testing skills.

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 (1049 lines); consider splitting into references/ and linking

Warning

Total

15

/

16

Passed

Repository
Dicklesworthstone/pi_agent_rust
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.