backend-endpoint

Generate REST or GraphQL API endpoints with validation, error handling, and tests.

196|11|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/alekspetrov/navigator --skill backend-endpoint
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-endpoint
Source: https://github.com/alekspetrov/navigator/tree/main/skills/backend-endpoint
Command: npx skills add https://github.com/alekspetrov/navigator --skill backend-endpoint

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates endpoint generation with proper routing, validation, error handling, and tests.

Core Features & Use Cases

  • Generate route handlers for REST/GraphQL
  • Add request validation and error handling
  • Create tests and docs

Quick Start

Say "Add endpoint" with details to generate an endpoint file.

Frequently Asked Questions about backend-endpoint

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

FAQPage Schema
How do I generate REST API endpoints with validation and error handling?

REST API endpoint generation automates scaffold creation with request validation, error handling, and route mapping. This Skill produces production-ready route handlers for Express, Fastify, or NestJS with body, parameter, and query validation built in, plus error responses and middleware integration.

Can I generate GraphQL endpoints with tests included?

GraphQL endpoint generation creates resolvers with validation and test suites alongside route handlers. The Skill produces schema-aligned endpoints with proper error handling and accompanying test files for both REST and GraphQL setups.

What frameworks does API endpoint generation support?

API endpoint generation supports Express, Fastify, NestJS, and GraphQL frameworks. The Skill adapts scaffold structure, middleware patterns, and validation syntax to each framework's conventions while maintaining consistent request validation and error handling.

How do I add authentication middleware to generated endpoints?

Authentication middleware integration applies to generated route handlers during scaffold creation. The Skill embeds middleware configuration alongside request validation and error handlers, allowing tokens and credentials to be validated before business logic executes.

Does endpoint generation include test suite creation?

Test suite generation creates test files alongside endpoint scaffolds with validation and error-case coverage. Tests verify route handlers, parameter validation, error responses, and middleware execution to ensure functional and technical requirements are met.

What validation types does endpoint scaffolding handle?

Endpoint validation covers request body, URL parameters, and query string validation with schema enforcement. The Skill applies proper HTTP method mapping, type checking, and error responses for invalid inputs across REST and GraphQL endpoints.