[INSERT_PROJECT_DESCRIPTION - 2-3 sentences describing what the project does, who it's for, and the key problem it solves]
π New to this template? Start with the GETTING_STARTED.md guide for setup instructions and best practices.
Customers are responsible for making their own independent assessment of the information in this document. This document:
(a) is for informational purposes only,
(b) references AWS product offerings and practices, which are subject to change without notice,
(c) does not create any commitments or assurances from AWS and its affiliates, suppliers or licensors. AWS products or services are provided "as is" without warranties, representations, or conditions of any kind, whether express or implied. The responsibilities and liabilities of AWS to its customers are controlled by AWS agreements, and this document is not part of, nor does it modify, any agreement between AWS and its customers, and
(d) is not to be considered a recommendation or viewpoint of AWS.
Additionally, you are solely responsible for testing, security and optimizing all code and assets on GitHub repo, and all such code and assets should be considered:
(a) as-is and without warranties or representations of any kind,
(b) not suitable for production environments, or on production or other critical data, and
(c) to include shortcuts in order to support rapid prototyping such as, but not limited to, relaxed authentication and authorization and a lack of strict adherence to security best practices.
All work produced is open source. More information can be found in the GitHub repo.
[PLACEHOLDER] Please provide a GIF or screenshot of the application interface and save it as
docs/media/user-interface.gif
| Index | Description |
|---|---|
| Getting Started Guide | Setup instructions and best practices for this template |
| High Level Architecture | High level overview illustrating component interactions |
| Deployment Guide | How to deploy the project |
| User Guide | End-user instructions and walkthrough |
| API Documentation | Documentation on the APIs the project uses |
| Directories | General project directory structure |
| Modification Guide | Guide for developers extending the project |
| Troubleshooting | Common issues and solutions |
| Removing Commit History | Steps to clean commit history when using as a template |
| Credits | Contributors and acknowledgments |
| License | License information |
[INSERT_ARCHITECTURE_OVERVIEW - Brief paragraph explaining the architecture, how components interact, and the overall system design]
[PLACEHOLDER] Please create and provide an architecture diagram showing:
- All major components/services
- Data flow between components
- User interaction points
- External services/APIs
Save the diagram as
docs/media/architecture.png(or .jpeg/.jpg)
For a detailed explanation of the architecture and architectural decisions, see the Architecture Deep Dive.
For complete deployment instructions, see the Deployment Guide.
Quick Start:
- [INSERT_QUICK_START_STEP_1]
- [INSERT_QUICK_START_STEP_2]
- [INSERT_QUICK_START_STEP_3]
For detailed usage instructions with screenshots, see the User Guide.
For complete API reference, see the API Documentation.
For developers looking to extend or modify this project, see the Modification Guide.
βββ backend/
β βββ bin/
β β βββ backend.ts
β βββ lambda/
β β βββ [INSERT_LAMBDA_FUNCTIONS]
β βββ lib/
β β βββ backend-stack.ts
β βββ agent/
β β βββ [INSERT_AGENT_FILES]
β βββ cdk.json
β βββ package.json
β βββ tsconfig.json
βββ frontend/
β βββ app/
β β βββ layout.tsx
β β βββ page.tsx
β β βββ globals.css
β βββ public/
β βββ package.json
βββ docs/
β βββ architectureDeepDive.md
β βββ deploymentGuide.md
β βββ userGuide.md
β βββ APIDoc.md
β βββ modificationGuide.md
β βββ media/
β βββ architecture.png
β βββ user-interface.gif
βββ LICENSE
βββ README.md
-
backend/ - Contains all backend infrastructure and serverless functions
bin/- CDK app entry pointlambda/- AWS Lambda function handlerslib/- CDK stack definitionsagent/- [INSERT_AGENT_DESCRIPTION]
-
frontend/ - Next.js frontend application
app/- Next.js App Router pages and layoutspublic/- Static assets
-
docs/ - Project documentation
media/- Images, diagrams, and GIFs for documentation
Issue: MCP servers show "Disconnected" status in Kiro
Solutions:
- Verify
uvanduvxare installed:uvx --version - Check AWS credentials:
aws sts get-caller-identity - Update AWS profile in
.kiro/settings/mcp.json - Restart Kiro or reconnect servers from MCP Server view
Issue: Kiro fails to create specification documents
Solutions:
- Ensure you're in Autopilot mode (required for subagent delegation)
- Verify scope documents are readable and well-formatted
- Check that
.kiro/agents/cic-project-specs.mdexists - Try with a simpler project description first
Issue: Kiro implements code directly instead of delegating to subagents
Solutions:
- Confirm you're in Autopilot mode
- Use clear domain keywords (backend, frontend, deploy, security)
- Explicitly request: "Use cic-backend agent to implement this"
- Check
.kiro/steering/main-agent-orchestration.mdis present
Issue: cdk deploy fails with errors
Solutions:
- Run
cdk synthfirst to check for issues - Verify AWS credentials:
aws sts get-caller-identity - Check cdk-nag findings and address or suppress them
- Ensure CDK is bootstrapped:
cdk bootstrap - Review CloudFormation events in AWS Console
Issue: Amplify build fails after deployment
Solutions:
- Check
AMPLIFY_MONOREPO_APP_ROOTis set tofrontend - Verify
buildSpecin CDK matches your project structure - Check Amplify build logs in AWS Console
- Ensure Next.js version is 12-15 (not 16+)
- Verify environment variables are set on the branch
Issue: Frontend shows CORS errors or can't reach API
Solutions:
- Verify API URL in frontend environment variables
- Check CORS configuration in Lambda Function URL or API Gateway
- Ensure Amplify app URL is in backend CORS allowed origins
- Test API endpoint directly with curl or Postman
Issue: cdk-nag or security scans report violations
Solutions:
- Review findings and fix resource configurations
- Add suppressions with ADR-format reasons if intentional
- Consult
.kiro/steering/security/files for guidance - Use
cic-securityagent to review and fix issues
- Kiro Documentation: Check
.kiro/README.mdfor MCP and Power setup - Steering Files: Review
.kiro/steering/for domain-specific guidance - AWS Documentation: Use AWS documentation MCP server for latest info
- GitHub Issues: File issues in this repository for template problems
When using this as a template for a new repo, you can strip the entire commit history to start fresh with a single initial commit:
git checkout --orphan fresh-start
git add -A
git commit -m "Initial commit"
git remote add new-origin https://github.com/REPO_OWNER/REPO_NAME.git
git branch -D main
git branch -m main
git push origin main --forceWarning:
--forcerewrites the remote branch history. Only do this on a repo you own and before collaborators have cloned it.
This application was developed by:
[INSERT_ADDITIONAL_ACKNOWLEDGMENTS - Teams, supporters, or organizations to acknowledge]
This project is licensed under the MIT License - see the LICENSE file for details.

