name: af-cognito-expertise description: Set up Cognito User Pools with custom attributes, auth triggers, and CDK escape hatches for GainInsight Standard projects. Use when configuring authentication, adding custom user attributes, or debugging auth flow issues.
AgentFlow documentation fields
title: Cognito Expertise (Entry Point) created: 2026-02-08 updated: 2026-02-08 last_checked: 2026-02-08 tags: [skill, entry-point, cognito, authentication, amplify, aws] parent: ../README.md related: - ../af-ses-expertise/SKILL.md - ../af-amplify-expertise/SKILL.md - ../../docs/guides/gaininsight-standard/auth-setup.md
Cognito Expertise
What to read
User Pool setup, custom attributes (mutability rules), and auth triggers: → auth-setup.md#cognito-user-pool-setup
Auth flow configuration (CDK escape hatch for integration tests): → auth-setup.md#auth-flow-configuration
Cognito-SES integration (sender identity, email volume limits): → auth-setup.md#cognito-ses-integration
E2E-ready authentication checklist: → auth-setup.md#e2e-ready-authentication-checklist
Common pitfalls (immutable attributes, auth flow errors, email limits): → auth-setup.md#common-pitfalls — see pitfalls 1, 2, and 6