af-build-amplify-features

Guide AWS Amplify Gen 2 development across frontend, API routes, AppSync, and Lambda.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/GainInsightDev/websites --skill af-build-amplify-features
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: af-build-amplify-features
Source: https://github.com/GainInsightDev/websites/tree/main/.claude/skills/af-build-amplify-features
Command: npx skills add https://github.com/GainInsightDev/websites --skill af-build-amplify-features

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured approach to developing applications using AWS Amplify Gen 2, ensuring adherence to best practices and efficient utilization of its features across a four-tier architecture.

Core Features & Use Cases

  • Architectural Guidance: Understand where to place business logic, data access, and presentation layers.
  • Amplify Feature Integration: Learn how to wire Lambda functions to AppSync, configure authentication, and manage data models.
  • Use Case: When developing a new feature that requires user authentication, data storage, and email notifications, this Skill guides you on how to implement these using Amplify's capabilities, ensuring logic resides in Lambda, data access via AppSync, and UI in the frontend.

Quick Start

Use the af-build-amplify-features skill to wire a new Lambda function to an AppSync mutation.

Frequently Asked Questions about af-build-amplify-features

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

FAQPage Schema
How do I structure an AWS Amplify Gen 2 backend across frontend, API routes, AppSync, and Lambda?

AWS Amplify Gen 2 backend architecture separates concerns across four tiers: UI in the frontend, data access via AppSync, and business logic within Lambda functions. This structure ensures presentation, data, and logic layers remain distinct and maintainable.

What is the best way to wire a Lambda function to an AppSync mutation in Amplify?

Wiring a Lambda function to an AppSync mutation in Amplify involves routing the mutation through API routes to trigger the Lambda resolver. This ensures business logic executes securely within Lambda before data manipulation occurs through AppSync.

How do I configure user authentication and email notifications using AWS Amplify?

Configuring user authentication and email notifications in AWS Amplify integrates Cognito for identity management and SES for email delivery. This setup securely handles user sign-ups while dispatching transactional emails directly from your application.

Where should business logic and data access layers reside when developing with AWS Amplify?

Business logic should reside in Lambda functions while data access is managed via AppSync in AWS Amplify development. This architectural guidance prevents common pitfalls by ensuring logic does not leak into frontend or API route layers.

What are common pitfalls in AWS Amplify Gen 2 development?

Common AWS Amplify Gen 2 development pitfalls include placing business logic in the wrong tier and misconfiguring service integrations. This Skill provides structured rules to correctly wire AppSync, Lambda, Cognito, and SES across the four-tier architecture.

Does AWS Amplify Gen 2 support integrating Cognito and SES for application features?

AWS Amplify Gen 2 fully supports integrating Cognito for authentication and SES for email notifications. These services combine to manage user identities and dispatch automated emails securely within your application workflows.