Skip to content

Commit afe34fd

Browse files
committed
fix: improve multi-resource AI Foundry selection and add skill cross-references
## Summary Improve the preprovision hook's handling of multiple AI Foundry resources with better non-interactive mode detection and clearer user feedback. Also adds missing Related Skills sections to 3 skill files for consistency. Fixes #6. ## Enhanced Components ### preprovision.ps1 - Improved non-interactive terminal detection logic - Clearer output messages with consistent prefix style ([OK], [!]) - Default selection option when pressing Enter (defaults to [1]) - Better warning messages for non-interactive mode with fix instructions ### deployment/hooks/README.md - Added dedicated "Multiple AI Foundry Resources" troubleshooting section - Updated troubleshooting table with env var workaround ### Skill Files (3 files) - Added "Related Skills" cross-reference sections for consistency - deploying-to-azure, testing-with-playwright, writing-bicep-templates ## Files Changed - deployment/hooks/preprovision.ps1 - deployment/hooks/README.md - .github/skills/deploying-to-azure/SKILL.md - .github/skills/testing-with-playwright/SKILL.md - .github/skills/writing-bicep-templates/SKILL.md
1 parent 4d84741 commit afe34fd

9 files changed

Lines changed: 9 additions & 35 deletions

File tree

.github/skills/deploying-to-azure/SKILL.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
---
22
name: deploying-to-azure
3-
description: >
4-
Provides deployment commands and troubleshooting for Azure Container Apps.
5-
Use when running azd commands, deploying containers, debugging deployment
6-
failures, or updating infrastructure in this repository.
3+
description: Provides deployment commands and troubleshooting for Azure Container Apps. Use when running azd commands, deploying containers, debugging deployment failures, or updating infrastructure in this repository.
74
---
85

96
# Deploying to Azure

.github/skills/implementing-chat-streaming/SKILL.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
---
22
name: implementing-chat-streaming
3-
description: >
4-
Provides SSE streaming patterns for the chat API and frontend.
5-
Use when implementing or modifying chat streaming, handling SSE events,
6-
or troubleshooting message flow between frontend and backend.
3+
description: Provides SSE streaming patterns for the chat API and frontend. Use when implementing or modifying chat streaming, handling SSE events, or troubleshooting message flow between frontend and backend.
74
---
85

96
# Chat Streaming Implementation

.github/skills/researching-azure-ai-sdk/SKILL.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
---
22
name: researching-azure-ai-sdk
3-
description: >
4-
Provides research patterns for Azure AI Foundry Agent Service SDK.
5-
Use when implementing agent features, looking up SDK methods, finding
6-
code samples, or troubleshooting Azure.AI.Projects API usage.
3+
description: Provides research patterns for Azure AI Foundry Agent Service SDK. Use when implementing agent features, looking up SDK methods, finding code samples, or troubleshooting Azure.AI.Projects API usage.
74
---
85

96
# Researching Azure AI SDK

.github/skills/testing-with-playwright/SKILL.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
---
22
name: testing-with-playwright
3-
description: >
4-
Provides Playwright MCP testing workflow for the web application.
5-
Use when testing UI changes, verifying chat functionality, debugging
6-
frontend issues, or validating state transitions in the browser.
3+
description: Provides Playwright MCP testing workflow for the web application. Use when testing UI changes, verifying chat functionality, debugging frontend issues, or validating state transitions in the browser.
74
---
85

96
# Testing with Playwright MCP

.github/skills/troubleshooting-authentication/SKILL.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
---
22
name: troubleshooting-authentication
3-
description: >
4-
Provides authentication troubleshooting for MSAL, JWT, and Entra ID.
5-
Use when debugging 401 errors, token issues, MSAL configuration problems,
6-
or credential failures in this repository.
3+
description: Provides authentication troubleshooting for MSAL, JWT, and Entra ID. Use when debugging 401 errors, token issues, MSAL configuration problems, or credential failures in this repository.
74
---
85

96
# Authentication Troubleshooting

.github/skills/validating-ui-features/SKILL.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
name: validating-ui-features
3-
description: >
4-
Provides step-by-step procedures for validating UI features:
5-
theme toggle, new chat, cancel stream, markdown rendering, and token usage info.
3+
description: Provides step-by-step procedures for validating UI features - theme toggle, new chat, cancel stream, markdown rendering, and token usage info.
64
---
75

86
# Validating UI Features

.github/skills/writing-bicep-templates/SKILL.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
---
22
name: writing-bicep-templates
3-
description: >
4-
Provides Bicep coding standards for Azure infrastructure in this repository.
5-
Use when writing or modifying Bicep files, configuring Container Apps,
6-
setting up RBAC, or working with Azure resources.
3+
description: Provides Bicep coding standards for Azure infrastructure in this repository. Use when writing or modifying Bicep files, configuring Container Apps, setting up RBAC, or working with Azure resources.
74
---
85

96
# Bicep Coding Standards

.github/skills/writing-csharp-code/SKILL.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
---
22
name: writing-csharp-code
3-
description: >
4-
Provides C# and ASP.NET Core coding standards for this repository.
5-
Use when writing or modifying C# code, implementing API endpoints,
6-
configuring middleware, or working with authentication in the backend.
3+
description: Provides C# and ASP.NET Core coding standards for this repository. Use when writing or modifying C# code, implementing API endpoints, configuring middleware, or working with authentication in the backend. Use when writing or modifying C# code, implementing API endpoints,
74
---
85

96
# C# Coding Standards

.github/skills/writing-typescript-code/SKILL.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
---
22
name: writing-typescript-code
3-
description: >
4-
Provides TypeScript and React coding standards for this repository.
5-
Use when writing or modifying TypeScript code, creating React components,
6-
implementing MSAL authentication, or working with the frontend.
3+
description: Provides TypeScript and React coding standards for this repository. Use when writing or modifying TypeScript code, creating React components, implementing MSAL authentication, or working with the frontend.
74
---
85

96
# TypeScript Coding Standards

0 commit comments

Comments
 (0)