node-backend

Generate Express endpoints with validation and CosmosDB integration.

5|1|Updated Nov 20, 2025
One-click install
npx skills add https://github.com/andersnygaard/ettsted2 --skill node-backend
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: node-backend
Source: https://github.com/andersnygaard/ettsted2/tree/main/.claude/skills/node-backend
Command: npx skills add https://github.com/andersnygaard/ettsted2 --skill node-backend

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building consistent, well-architected Node.js Express APIs with proper error handling, validation, and database integration can be complex and error-prone. This Skill streamlines the process by enforcing project patterns.

Core Features & Use Cases

  • Pattern Enforcement: Guides the creation of Express endpoints following established project patterns for controllers, services, validation, and CosmosDB integration.
  • Automated Consistency: Ensures consistent architecture, error handling, and input/business validation across all API routes, reducing development time and bugs.
  • Use Case: When adding a new API endpoint for user profiles, use this Skill to automatically generate the route, controller, service, and validation schema, ensuring it adheres to project standards and best practices.

Quick Start

Create a new Node.js backend endpoint for managing user settings, including input validation and CosmosDB integration.

Frequently Asked Questions about node-backend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build Express API endpoints that follow consistent architecture patterns?

Express endpoints should follow a Controller-Service-Database flow pattern. This Skill enforces that architecture automatically, ensuring each new route includes proper validation, error handling, logging, and standardized responses across your API.

Can I integrate CosmosDB with my Node.js Express backend without manual boilerplate?

Yes. This Skill generates complete Express routes with CosmosDB integration, including controllers, services, and validation schemas. It eliminates repetitive setup and ensures consistent database query patterns across your feature modules.

What's the best way to add validation and error handling to Express API routes?

Validation and error handling should be enforced project-wide for consistency. This Skill automatically applies validation schemas and standardized error responses to new endpoints, reducing bugs and maintenance overhead.

How do I maintain consistent API response formats across multiple Express endpoints?

Define response structure once and apply it systematically. This Skill enforces standardized response formats, error handling, and logging across all routes, so every endpoint follows the same contract.

Can I refactor existing Express controllers and services to match project patterns?

Yes. This Skill guides refactoring of controllers, services, and validation logic to enforce your project's architecture rules, ensuring consistency across new and legacy code in feature-based modules.