scaffold-foundry-app
Prompt to scaffold a new full-stack Azure AI Foundry app with a React frontend, FastAPI backend and azd infrastructure.
- Kind
- Prompt
- Works with
- GitHub Copilot
- Languages
- TypeScript / JavaScript, Python
- Source
- microsoft/skills @ 2130750147de
- Path
- .github/prompts/scaffold-foundry-app.prompt.md
- License
- MIT
- Jobs
- Implementation
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
# Scaffold Foundry App
Create a production-ready full-stack application for Azure AI Foundry.
## Variables
- `PROJECT_NAME`: Project directory name (kebab-case, e.g., `my-foundry-app`)
- `PROJECT_DESCRIPTION`: Brief description of the application
- `INCLUDE_AGENTS`: Whether to include Azure AI Agents setup (yes/no)
- `INCLUDE_SEARCH`: Whether to include Azure AI Search setup (yes/no)
## Tech Stack
### Frontend
- **Vite + React + TypeScript** with pnpm
- **Fluent UI v9** dark theme design system
- **Framer Motion** for animations
- **Tailwind CSS** for utility styles
### Backend
- **FastAPI** with async/await patterns
- **Pydantic v2** models (Base, Create, Update, Response, InDB)
- **pytest** with TDD approach
- **Ruff** for linting
### Infrastructure
- **Azure Developer CLI (azd)** with `remoteBuild: true`
- **Bicep** templates for Container Apps
- **Managed Identity** for authentication
## Directory Structure
```
${PROJECT_NAME}/
├── azure.yaml # azd config
├── .env.example # Foundry setup instructions
├── README.md # Setup guide
├── .pre-commit-config.yaml
├── .gitignore
├── infra/
│ ├── main.bicep
…