backend-api

Generate FastAPI backend modules with async SQLAlchemy, WebSocket, and Alembic patterns.

Updated Dec 24, 2025
One-click install
npx skills add https://github.com/goranjovic55/NOP --skill backend-api-goranjovic55
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-api
Source: https://github.com/goranjovic55/NOP/tree/main/.github/skills/backend-api
Command: npx skills add https://github.com/goranjovic55/NOP --skill backend-api-goranjovic55

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Developers struggle with boilerplate and inconsistent patterns when building FastAPI backends.

Core Features & Use Cases

  • Predefined patterns for endpoints, services, models, and WebSocket usage in FastAPI.
  • Guidance for async DB access with SQLAlchemy, migrations via Alembic, and security considerations.
  • Templates and examples to accelerate API development in real-world projects.

Quick Start

Create a new FastAPI module following the Skill's patterns and integrate the provided templates into your project.

Frequently Asked Questions about backend-api

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

FAQPage Schema
How do I reduce boilerplate when building a FastAPI backend?

You can reduce FastAPI backend boilerplate by applying predefined patterns for endpoints, services, and models. This approach enforces type safety and clean architecture through templates, accelerating API development while maintaining consistency across your project.

What is the best way to structure async SQLAlchemy database access in FastAPI?

The best way to structure async SQLAlchemy access is by using predefined patterns that integrate cleanly with FastAPI. This ensures your database operations maintain async IO compatibility and type safety without inconsistent implementation across your application.

How do I set up Alembic migrations for an async FastAPI application?

Setting up Alembic migrations involves integrating migration guidance with your async SQLAlchemy models. This ensures your database schema changes are tracked and applied correctly within a FastAPI backend environment.

Can I use WebSockets with FastAPI while maintaining clean architecture?

Yes, you can implement WebSocket usage in FastAPI while maintaining clean architecture. The Skill provides predefined patterns specifically for WebSocket integration, ensuring real-time features align with your application's type safety and structural standards.

Do I need to follow specific typing patterns for FastAPI endpoint security?

Yes, following specific typing patterns is required for FastAPI endpoint security. The Skill enforces type safety across authentication and endpoint definitions, ensuring your security implementations are consistent and free of common typing errors.

Why does my FastAPI backend have inconsistent API patterns across modules?

FastAPI backends develop inconsistent API patterns when boilerplate is handled manually across modules. Applying standardized templates for endpoints, services, and models resolves this by enforcing a uniform clean architecture throughout the project.