Api implementation

From rnavarych/alpha-engineer · View interactive version

Api implementation is an AI agent skill from the GitHub repository rnavarych/alpha-engineer. Implements production-ready APIs across Node.js (Express, NestJS, Fastify, Hono, ElysiaJS, tRPC), Go (Gin, Echo, Fiber, Chi), Rust (Axum, Actix-web), Java (Spring Boot 3, Quarkus), .NET (ASP.NET Core 8), Ruby (Rails 7, Grape), Elixir (Phoenix), and PHP (Laravel, Symfony). Covers middleware pipelines

How to use this skill

Skill file

API Implementation

When to use

Core principles

  1. Validate at the boundary — reject invalid input at the handler before any business logic runs
  2. Middleware order is contract — request ID → CORS → rate limit → auth → validation → handler
  3. RFC 7807 everywhere — all errors return Problem Details with type, title, status, correlationId
  4. Never expose internals — no stack traces, no DB errors, no internal paths in responses
  5. Schema-first serialization — use TypeBox/Zod/Pydantic for both validation and faster serialization

Reference Files

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.