spex-backend

Implement backend APIs across PHP, Kotlin, Node.js, and Python stacks.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/johangm90/spex --skill spex-backend
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spex-backend
Source: https://github.com/johangm90/spex/tree/main/skills/spex-backend
Command: npx skills add https://github.com/johangm90/spex --skill spex-backend

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the development of backend services and APIs, ensuring adherence to architectural best practices and reducing boilerplate code.

Core Features & Use Cases

  • Stack Agnostic Implementation: Supports PHP/Symfony, Kotlin/Spring Boot, Node.js/NestJS, and Python/FastAPI.
  • Architectural Guidance: Enforces Clean Architecture principles and DDD patterns.
  • API Contract Generation: Produces OpenAPI specifications for services.
  • Database Migrations: Integrates with spex-db for schema management.
  • Use Case: Implement a new RESTful API endpoint for user authentication, including database migration, business logic, and OpenAPI documentation, following the project's chosen backend stack.

Quick Start

Implement the user authentication API endpoint for the current slice spec.

Frequently Asked Questions about spex-backend

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

FAQPage Schema
How do I implement a FastAPI backend following Clean Architecture and DDD?

To implement a FastAPI backend with Clean Architecture, this Skill enforces Domain-Driven Design patterns, handling service layer logic, repository patterns, and domain events to separate business logic from framework code.

Can I use NestJS to build an API with CQRS and asynchronous job queues?

Yes, you can build a NestJS API utilizing CQRS and asynchronous job queues. The Skill supports Node.js/NestJS stacks, handling API endpoint implementation, domain events, and asynchronous background processing patterns.

What is the best way to generate OpenAPI specifications and database migrations for a Spring Boot service?

The best way to generate OpenAPI specifications and manage database migrations for a Spring Boot service is using this Skill, which integrates schema management and produces API contracts alongside Kotlin/Spring Boot endpoint logic.

Does this backend generation tool support PHP/Symfony for building RESTful authentication endpoints?

Yes, this backend generation tool supports PHP/Symfony for building RESTful authentication endpoints. It handles user authentication implementation, business logic, database migrations, and API contract generation across multiple technology stacks.

How do I set up integration tests for a backend service using Clean Architecture?

To set up integration tests for a backend service using Clean Architecture, the Skill generates test components that validate API endpoint implementation and service layer logic while adhering to DDD and CQRS architectural boundaries.