create-endpoint

Create REST API endpoints in Node.js/Express.js with integration tests and OpenAPI 3.0 documentation.

Updated Apr 28, 2025
One-click install
npx skills add https://github.com/briankeane/node-react-scaffold --skill create-endpoint
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-endpoint
Source: https://github.com/briankeane/node-react-scaffold/tree/main/.claude/skills/create-endpoint
Command: npx skills add https://github.com/briankeane/node-react-scaffold --skill create-endpoint

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation of new REST API endpoints by providing a structured workflow, ensuring consistency, testability, and proper documentation.

Core Features & Use Cases

  • Guided Endpoint Creation: Follows a step-by-step process for developing new API endpoints.
  • Test-Driven Development: Emphasizes writing integration tests before implementation.
  • Automated Documentation: Integrates OpenAPI 3.0 documentation generation.
  • Use Case: When adding a new feature that requires a new API endpoint, use this Skill to ensure it's built according to project standards, complete with tests and documentation.

Quick Start

Use the create-endpoint skill to generate a new API endpoint for managing user profiles.

Frequently Asked Questions about create-endpoint

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

FAQPage Schema
How do I create a new REST API endpoint in Node.js with test-driven development?

To create a REST API endpoint with test-driven development, write integration tests first, then implement the Express.js controllers and routing, ensuring the endpoint meets project standards before deployment.

Can I generate OpenAPI 3.0 documentation automatically when building Express.js backend endpoints?

Yes, you can generate OpenAPI 3.0 documentation automatically as part of the endpoint creation workflow, ensuring your REST API documentation stays consistent with your route definitions and controllers.

How do I add authentication and authorization middleware to a new REST API endpoint?

Adding authentication and authorization middleware to a REST API endpoint involves configuring standardized security layers within your Express.js routing setup during the guided endpoint creation process.

What is the best way to structure REST API endpoints with standardized error handling?

The best way to structure REST API endpoints with standardized error handling is following a step-by-step workflow that enforces consistent controller implementation, routing patterns, and integrated testing protocols.

Does this API endpoint creation workflow support integration tests for Node.js backends?

Yes, the API endpoint creation workflow supports integration tests for Node.js backends by emphasizing a test-driven development approach where integration tests are written before the endpoint implementation.

Why should I use a structured workflow for creating new REST API features?

You should use a structured workflow for creating REST API features because it streamlines development by providing consistency, testability, and proper OpenAPI 3.0 documentation across all new endpoints.