| name | repository-setup |
| description | Creates Azure DevOps repository and pushes the ready-to-use Azure AI Foundry template application code. This skill handles git initialization, repository creation via Azure DevOps CLI, and pushing the template code with proper authentication. |
Repository Setup for Azure AI Foundry
This skill handles creating the Azure DevOps repository and pushing the template application code from the template-app/ directory.
When to use this skill
Use this skill when you need to:
- Create a new Azure DevOps repository for the AI Foundry application
- Push the ready-to-use template application code to Azure DevOps
- Initialize git repository and configure remote connections
- Set up the application repository structure
Prerequisites
Before using this skill, ensure:
- ✅ Configuration loaded (use
configuration-management skill first)
- ✅ Azure DevOps authentication configured (bearer token set)
- ✅ Azure DevOps CLI configured with organization and project defaults
- ✅ Template application exists in
template-app/ directory
What This Skill Creates
- 1 Azure DevOps Repository with the template application code
- Git configuration with Azure DevOps remote
- .env file from sample.env template
Step-by-step execution
Step 1: Load Configuration
# Load configuration
. ./.github/skills/configuration-management/config-functions.ps1
$config = Get-StarterConfig
# Extract values
$org = $config.azureDevOps.organizationUrl
$project = $config.azureDevOps.projectName
$targetRepo = "azure-ai-foundry-app" # Your repository name
# Verify Azure DevOps CLI is configured
az devops configure --defaults organization=$org project=$project