backend

Develop Python/FastAPI backend APIs with Pydantic validation and SQLAlchemy 2.0 async patterns.

2|3|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/Donnadieu/continuum --skill backend-donnadieu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend
Source: https://github.com/Donnadieu/continuum/tree/main/.claude/skills/backend
Command: npx skills add https://github.com/Donnadieu/continuum --skill backend-donnadieu

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a comprehensive set of patterns and best practices for developing the Python/FastAPI backend of the Continuum platform, ensuring consistency, maintainability, and adherence to core principles.

Core Features & Use Cases

  • API Development: Guides on creating efficient and well-structured API routes.
  • Database Operations: Standardizes interactions with PostgreSQL using SQLAlchemy 2.0 async patterns.
  • Service Layer Architecture: Defines patterns for business logic implementation.
  • Testing: Outlines strategies for robust unit and integration testing with pytest.
  • Use Case: When developing a new API endpoint to manage user profiles, consult this Skill for guidance on route definition, data validation with Pydantic, database interaction via repositories, and writing corresponding tests.

Quick Start

Use the backend skill to implement a new API endpoint for managing user profiles.

Frequently Asked Questions about backend

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

FAQPage Schema
What's the best way to structure a FastAPI backend with SQLAlchemy for async database operations?

The best way to structure an async FastAPI backend is using a service layer architecture with SQLAlchemy 2.0 async patterns, separating business logic from API routes through repositories. This ensures maintainability and adherence to async-first principles.

How do I validate API request data in Python FastAPI applications?

To validate API request data in FastAPI, use Pydantic schema design for route definitions and data models. Pydantic enforces type hinting and validation principles, ensuring payloads conform to expected formats before reaching your service layer.

Does this FastAPI backend pattern support Neo4j graph database operations?

Yes, this FastAPI backend pattern supports Neo4j graph operations alongside standard PostgreSQL interactions. It provides specific guidelines for integrating graph database queries within your service layer architecture while maintaining provenance tracking.

How do I test FastAPI endpoints with pytest for service layer architecture?

To test FastAPI endpoints with pytest, implement robust unit and integration testing strategies that validate API routes, Pydantic schemas, and service layer logic. This ensures comprehensive coverage across repository patterns and database interactions.

Can I implement background worker tasks in a Python FastAPI backend?

Yes, you can implement background worker tasks within a Python FastAPI backend. This skill provides specific patterns for structuring asynchronous background jobs while maintaining user isolation and provenance tracking principles.

Why use the repository pattern for database interactions in SQLAlchemy 2.0 async applications?

Use the repository pattern in SQLAlchemy 2.0 async applications to abstract database operations from business logic. This separation enforces service layer architecture, ensuring consistent data access flows and maintainable async database interactions.