From aws-amplify
Orchestrates AWS Amplify Gen 2 workflows for building full-stack apps with React, Next.js, Vue, Angular, Flutter, or Swift. Use when user wants to BUILD, CREATE, or DEPLOY Amplify projects, add authentication, data models, storage, GraphQL APIs, Lambda functions, or deploy to sandbox/production. Do NOT invoke for conceptual questions, comparisons, or troubleshooting unrelated to active development.
npx claudepluginhub hfurkanbozkurt/aws-amplify-claude-pluginThis skill uses the workspace's default tool permissions.
Orchestrated workflow for AWS Amplify Gen 2 development.
Orchestrates AWS Amplify Gen 2 workflows to build full-stack apps, add auth/data/GraphQL/Lambda, and deploy to sandbox/production using React, Next.js, Vue, Angular, React Native, Flutter, Swift, or Android.
Builds and deploys full-stack web and mobile apps using AWS Amplify Gen2 (TypeScript code-first). Covers auth (Cognito), data (AppSync/DynamoDB with schema modeling), storage (S3), functions, APIs, and AI (Bedrock). Supports React, Next.js, Vue, Angular, React Native, Flutter, Swift, Android.
Builds full-stack apps with AWS Amplify Gen 2 using TypeScript, covering auth with Cognito, GraphQL data models, storage, functions, AI/ML, and deployment to React, Next.js, Vue, Angular, Flutter, Swift.
Share bugs, ideas, or general feedback.
Orchestrated workflow for AWS Amplify Gen 2 development.
Use for any Amplify Gen 2 work:
The workflow determines which phases apply based on your request.
DO NOT invoke when:
Run these checks before proceeding:
Node.js 18.x or later
node --version
npm available
npm --version
AWS credentials configured (CRITICAL)
AWS_PAGER="" aws sts get-caller-identity
If the AWS credentials check fails, STOP and present this message to the user:
## โ ๏ธ AWS Credentials Required
I can't proceed without AWS credentials configured. Please set up your credentials first:
**๐ Setup Guide:** https://docs.amplify.aws/react/start/account-setup/
**Quick options:**
- Run `aws configure` to set up access keys
- Run `aws sso login` if using AWS IAM Identity Center
Once your credentials are configured, **come back and start a new conversation** to continue building with Amplify.
Do NOT proceed with Amplify work until credentials are configured. The user must restart the conversation after setting up credentials.
Once all prerequisites pass, follow the workflow below.
defineAuth/defineData/defineStorage/defineFunction)amplify/, package.json, existing code) to understand the current state BEFORE proposing a planBased on the user's request and project state, determine which phases apply:
| Phase | Applies when |
|---|---|
| 1: Backend | User needs to create or modify Amplify backend resources |
| 2: Sandbox | Backend code needs deployment for testing |
| 3: Frontend | Frontend needs to connect to Amplify backend |
| 4: Testing | App ready for local verification |
| 5: Production | User wants to deploy to production |
Common patterns:
Present to the user:
## ๐ Plan
### What I understood
- [Brief summary of what the user wants]
### ๐ ๏ธ Features
[list features if applicable]
### โ๏ธ Framework
[framework if known]
### ๐ฆ Phases I'll execute
1. [Phase name] - [one-line description] โ SOP: [sop-name]
2. [Phase name] - [one-line description] โ SOP: [sop-name]
...
(Include SOP name for phases 1, 2, 3, and 5. Phase 4 has no SOP.)
Ready to get started? โจ
WAIT for user confirmation before proceeding.
โ ๏ธ Once the user approves the plan, you MUST stick to it. Do not deviate from the planned phases or SOPs unless the user explicitly asks for changes.
Execute each applicable phase IN SEQUENCE.
When starting a phase, announce it as a header:
## โ๏ธ Phase 1: Backend (SOP: amplify-backend-implementation)
[Next: Phase 2: Sandbox Deployment]
## ๐ Phase 2: Sandbox Deployment (SOP: amplify-deployment-guide)
[Next: Phase 3: Frontend Integration]
## ๐จ Phase 3: Frontend Integration (SOP: amplify-frontend-integration)
[Next: Phase 4: Local Testing]
## ๐งช Phase 4: Local Testing
[Next: Phase 5: Production Deployment]
## ๐ Phase 5: Production Deployment (SOP: amplify-deployment-guide)
Omit "[Next: ...]" if it's the last phase in your plan.
โ ๏ธ Do NOT write any code until you have retrieved and read the SOP.
Use the SOP retrieval tool to get "amplify-backend-implementation" and follow it completely.
After completion:
โ ๏ธ Do NOT run any commands until you have retrieved and read the SOP.
Use the SOP retrieval tool to get "amplify-deployment-guide" and follow it for SANDBOX deployment.
After completion:
amplify_outputs.json existsPrerequisite: amplify_outputs.json must exist. If not, run Phase 2 first.
โ ๏ธ Do NOT write any code until you have retrieved and read the SOP.
Use the SOP retrieval tool to get "amplify-frontend-integration" and follow it completely.
After completion:
Present to the user:
## ๐งช Time to test!
### Start your dev server
[framework-specific command]
### Try out these features
[list features implemented]
Let me know how it goes! ๐ค
After user confirms testing is successful:
โ ๏ธ Do NOT run any commands until you have retrieved and read the SOP.
Use the SOP retrieval tool to get "amplify-deployment-guide" and follow it for PRODUCTION deployment.
After completion:
## ๐ You're live!
### ๐ Production URL
[url]
### ๐ง Amplify Console
https://console.aws.amazon.com/amplify/home
Your app is now deployed! Future updates: just push to your repo โ auto-deploys โจ
If issues occur during any phase:
After resolving the issue, immediately return to the SOP and continue from where you left off. Do not abandon the workflow.