---
name: "echo-high-performance-go-rest"
description: "Develop fast, scalable RESTful web APIs in Go using the feature-packed Echo framework."
metadata:
  author: "Labstack"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "setup echo server go"
  - "custom validator echo"
  - "echo group middleware"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# Echo Extensible High-Performance Go HTTP Framework

Configures Labstack Echo: context methods (c.JSON, c.String), custom binders and validators, group-level middleware, HTTP error handling (echo.HTTPErrorHandler), and automated WebSocket support.

## When to Invoke
Invoke this skill whenever you need to:
- setup echo server go
- custom validator echo
- echo group middleware

## Execution SOP & Rules
1. Initialize: e := echo.New(); e.Use(middleware.Logger(), middleware.Recover()).
2. Configure validator: e.Validator = &CustomValidator{validator: validator.New()}.
3. Handle request: e.POST('/users', func(c echo.Context) error { ... return c.JSON(201, user) }).
4. Start server gracefully with http.Server shutdown signal listening.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
