backend-architect

Design serverless FastAPI backends with AWS Lambda, DynamoDB, S3, and Cognito.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/LPDigital-Agent/galderma-demo-trackwise --skill backend-architect-lpdigital-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-architect
Source: https://github.com/LPDigital-Agent/galderma-demo-trackwise/tree/main/.claude/skills/backend-architect
Command: npx skills add https://github.com/LPDigital-Agent/galderma-demo-trackwise --skill backend-architect-lpdigital-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a blueprint to design and implement a scalable serverless backend for Faiston NEXO using FastAPI, AWS Lambda, DynamoDB, S3, Cognito, and AgentCore. It guides you through structuring FastAPI apps, configuring Lambda handlers, modeling DynamoDB single-table design, generating presigned S3 URLs, validating Cognito JWTs, and integrating with AgentCore.

Core Features & Use Cases

  • FastAPI App + Lambda pattern: interface for HTTP endpoints with serverless deployment.
  • DynamoDB single-table design: scalable data modeling for community-like or domain data.
  • S3 presigned URLs: secure upload/download workflows.
  • Cognito authentication: JWT validation for protected routes.
  • AgentCore integration: direct invocation for AI-assisted workflows.
  • Terraform IaC: infrastructure provisioning.

Quick Start

Initialize the skill to scaffold a Faiston NEXO backend with a FastAPI app, Lambda handler, and DynamoDB table. Then deploy using Terraform and configure Cognito for auth. Example: Set up a new project backend using the backend-architect skill and deploy to AWS with Terraform.

Frequently Asked Questions about backend-architect

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

FAQPage Schema
How do I build a serverless backend with FastAPI on AWS Lambda?

Build a serverless backend by structuring FastAPI applications and configuring AWS Lambda handlers for HTTP endpoint deployment. This blueprint provides Lambda packaging patterns to route API requests through serverless infrastructure.

How does single-table DynamoDB design work for scalable API data modeling?

Single-table DynamoDB design consolidates community or domain data into one table for scalable access. This approach models relationships within a single partition structure to optimize query performance across serverless endpoints.

How do I validate Cognito JWTs to protect FastAPI routes?

Validate Cognito JWTs by implementing authentication middleware that intercepts requests to protected FastAPI routes. This blueprint configures JWT validation against AWS Cognito tokens to secure serverless API endpoints.

What's the best way to generate S3 presigned URLs for secure file uploads?

Generate S3 presigned URLs to enable secure upload and download workflows without exposing static credentials. This pattern allows clients to interact directly with S3 storage through temporary, authenticated links.

Can I provision the entire AWS infrastructure using Terraform for this serverless stack?

Provision the entire serverless stack using Terraform infrastructure as code. This blueprint includes Terraform configurations to deploy Lambda, DynamoDB, S3, and Cognito resources for the FastAPI backend.

Does this serverless backend blueprint support AI agent integration?

Support AI agent integration through direct AgentCore invocation for AI-assisted workflows. The blueprint enables communication between FastAPI endpoints and AgentCore to process intelligent backend tasks.