|
| 1 | +# Chat Modes for Copilot Studio with Azure AI Search |
| 2 | + |
| 3 | +This directory contains specialized chat modes that provide expert guidance for specific aspects of the Copilot Studio with Azure AI Search template. |
| 4 | + |
| 5 | +## AI Usage Disclaimer |
| 6 | + |
| 7 | +**Important Notice**: AI assistance is helpful but variable. Results depend on model selection, context quality, and evolving technology capabilities. Always validate AI-generated content with qualified professionals, especially for production environments. |
| 8 | + |
| 9 | +_Copilot is powered by AI, so mistakes are possible. Review output carefully before use._ |
| 10 | + |
| 11 | +**When using these chatmodes, you must**: |
| 12 | + |
| 13 | +- Review and test all AI-generated code, configurations, and recommendations |
| 14 | +- Verify decisions against official documentation and best practices |
| 15 | +- Follow your organization's security and compliance requirements |
| 16 | +- Be cautious when sharing sensitive information in AI conversations |
| 17 | + |
| 18 | +## Available Chat Modes |
| 19 | + |
| 20 | +### 🚀 Azure Developer CLI Assistant (`azd-assistant.chatmode.md`) |
| 21 | + |
| 22 | +**Intended Use:** |
| 23 | + |
| 24 | +- Learning Azure Developer CLI workflows and best practices |
| 25 | +- Deploying secure, observable Copilot Studio environments on Azure |
| 26 | +- Setting up enterprise-grade CI/CD pipelines with GitHub Actions |
| 27 | +- Making informed deployment and architecture decisions |
| 28 | + |
| 29 | +**Usage Instructions:** |
| 30 | + |
| 31 | +- Activate this chatmode when working with azd deployment or configuration questions |
| 32 | +- Ask questions about `azd init`, `azd up`, `azd provision`, and environment management |
| 33 | +- Request guidance on CI/CD pipeline setup with OIDC authentication |
| 34 | +- Seek help with troubleshooting deployment issues or authentication errors |
| 35 | + |
| 36 | +**Key Features:** |
| 37 | + |
| 38 | +- Context-aware guidance for azd commands and workflows |
| 39 | +- Automatic integration with repository-specific Terraform infrastructure |
| 40 | +- Choice-based interaction for deployment strategies and security configurations |
| 41 | +- Integration with Azure Well-Architected Framework security patterns |
| 42 | + |
| 43 | +## How to Use Chat Modes |
| 44 | + |
| 45 | +### Activation Methods |
| 46 | + |
| 47 | +**Option 1: Direct Reference (Recommended)** |
| 48 | + |
| 49 | +Reference the specific chat mode in your GitHub Copilot Chat interaction: |
| 50 | + |
| 51 | +```text |
| 52 | +@workspace Using the azd-assistant chat mode, help me set up CI/CD for this project |
| 53 | +``` |
| 54 | + |
| 55 | +**Option 2: Context Attachment** |
| 56 | + |
| 57 | +Attach the chat mode file to your conversation for specialized guidance: |
| 58 | + |
| 59 | +```text |
| 60 | +Help me configure azd pipeline with the repository-specific requirements |
| 61 | +[Attach: .github/chatmodes/azd-assistant.chatmode.md] |
| 62 | +``` |
| 63 | + |
| 64 | +## Example Interactions |
| 65 | + |
| 66 | +### Getting Started with AZD |
| 67 | + |
| 68 | +```text |
| 69 | +@workspace I'm new to Azure Developer CLI. Using the azd-assistant chat mode, |
| 70 | +walk me through initializing this project and setting up my first environment. |
| 71 | +``` |
| 72 | + |
| 73 | +### CI/CD Pipeline Setup |
| 74 | + |
| 75 | +```text |
| 76 | +@workspace Using azd-assistant mode, help me configure GitHub Actions CI/CD |
| 77 | +with the self-hosted runner infrastructure for this repository. |
| 78 | +``` |
| 79 | + |
| 80 | +### Troubleshooting Deployment Issues |
| 81 | + |
| 82 | +```text |
| 83 | +@workspace My azd up is failing with authentication errors. Using azd-assistant |
| 84 | +mode, help me diagnose and fix the issue. |
| 85 | +``` |
| 86 | + |
| 87 | +### Security Configuration |
| 88 | + |
| 89 | +```text |
| 90 | +@workspace Using azd-assistant mode, ensure my pipeline configuration follows |
| 91 | +the security best practices outlined in this repository. |
| 92 | +``` |
| 93 | + |
| 94 | +## Benefits of Using Chat Modes |
| 95 | + |
| 96 | +### ⚡ **Faster Problem Resolution** |
| 97 | + |
| 98 | +Get targeted expert advice instead of generic responses, with repository-specific context and proven solutions. |
| 99 | + |
| 100 | +### 📚 **Learning Acceleration** |
| 101 | + |
| 102 | +Understand not just how to execute commands, but why specific patterns and configurations are recommended. |
| 103 | + |
| 104 | +### 🎯 **Focused Expertise** |
| 105 | + |
| 106 | +Each mode provides deep specialization rather than broad generalist knowledge, ensuring accurate and detailed guidance. |
| 107 | + |
| 108 | +### 🔄 **Consistency** |
| 109 | + |
| 110 | +All users get the same high-quality, security-focused guidance aligned with repository standards and enterprise best practices. |
| 111 | + |
| 112 | +## Support and Feedback |
| 113 | + |
| 114 | +For issues with chat modes or suggestions for improvements, please refer to the project's [contributing guidelines](./../../CONTRIBUTING.md) and create appropriate issues or pull requests. |
0 commit comments