echo-endpoint

Create Echo v5 API endpoints with routing, models, error handling, and OpenAPI docs.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/janisto/echo-playground --skill echo-endpoint
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: echo-endpoint
Source: https://github.com/janisto/echo-playground/tree/main/.github/skills/echo-endpoint
Command: npx skills add https://github.com/janisto/echo-playground --skill echo-endpoint

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a standardized approach for creating Echo v5 API endpoints in Go projects, ensuring consistent routing, input/output models, error handling, and OpenAPI documentation.

Core Features & Use Cases

  • Router setup in internal/http/v1 and automatic registration in routes.go
  • Uniform handler pattern using the echo.Context for binding, validation, and response helpers
  • Clear input/output modelling for path, query, and body payloads, plus error structure and health endpoint notes
  • OpenAPI documentation integration and straightforward extension for new endpoints

Quick Start

Create a new endpoint following the patterns described here to wire a handler, input/output models, and OpenAPI docs.

Frequently Asked Questions about echo-endpoint

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

FAQPage Schema
How do I scaffold Echo v5 endpoints with consistent routing and OpenAPI docs in Go?

To scaffold Echo v5 endpoints in Go, use a guided pattern that automates router setup in internal/http/v1, enforces uniform handler signatures for binding and validation, and integrates OpenAPI documentation for consistent API design.

What's the best way to structure input and output models for Echo v5 API endpoints?

Model Echo v5 API inputs and outputs by defining clear structures for path, query, and body payloads within a uniform handler pattern, ensuring standardized validation and consistent response formatting across multiple resources.

Does this endpoint scaffolding pattern support both public and protected routes in Echo?

Yes, the Echo endpoint scaffolding pattern provides specific guidance for wiring both public and protected routes, ensuring proper authentication integration alongside standardized health checks and resource routing.

How do I add error handling helpers when creating new Echo v5 endpoints?

Add error handling to Echo v5 endpoints by utilizing the provided uniform error structure and helper functions, allowing handlers to consistently process binding or validation failures and return standardized error responses.

Can I automatically register new Echo v5 handlers in my Go project's routes file?

Yes, the scaffolding pattern automates the registration of new Echo v5 handlers directly within the routes.go file, streamlining the addition of new resources and ensuring immediate router availability.