Skip to content
Development
Command

/add-api-railway

Create a new Express API endpoint with full integration.

shell
$ npx -y skills add LarouexNonprofitConsulting/larouex-fullstack-plugin --agent claude-code

Ships with larouex-fullstack-builder. Installing the plugin gets this command.

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/add-api-railway

Context preview

What this command does when you run it.

Create a new Express API endpoint with full integration.

Command definition

add-api-railway.md

Create a new Express API endpoint with full integration.

Generate:

  • Express route handler in /server/api with TypeScript
  • Input validation using express-validator or Zod
  • Comprehensive error handling middleware
  • CORS configuration in Express app
  • Database integration with Prisma ORM
  • Request/response TypeScript interfaces
  • API client code in Next.js (/lib/api) for calling the endpoint
  • Environment variable configuration
  • Example usage in a Next.js component
  • API documentation comments

Include proper middleware chain (validation, authentication, error handling), logging, security headers, and RESTful conventions. Ensure rate limiting and request validation are in place.

Read it on GitHub โ†—
Ships withlarouex-fullstack-builder

A comprehensive Claude Code plugin with 81 commands and 12 specialized AI agents for building modern, full-stack web applications with Next.js 15, Azure, Railway, Bootstrap, and TypeScript.

Get the whole plugin, auto-invoked