Merge branch 'main' into copilot/introduce-collections-feature
This commit is contained in:
commit
86be0d8705
@ -25,11 +25,14 @@ Custom chat modes define specific behaviors and tools for GitHub Copilot Chat, e
|
||||
| [Azure SaaS Architect mode instructions](chatmodes/azure-saas-architect.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fazure-saas-architect.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fazure-saas-architect.chatmode.md) | Provide expert Azure SaaS Architect guidance focusing on multitenant applications using Azure Well-Architected SaaS principles and Microsoft best practices. |
|
||||
| [Azure AVM Bicep mode](chatmodes/azure-verified-modules-bicep.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fazure-verified-modules-bicep.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fazure-verified-modules-bicep.chatmode.md) | Create, update, or review Azure IaC in Bicep using Azure Verified Modules (AVM). |
|
||||
| [Azure AVM Terraform mode](chatmodes/azure-verified-modules-terraform.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fazure-verified-modules-terraform.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fazure-verified-modules-terraform.chatmode.md) | Create, update, or review Azure IaC in Terraform using Azure Verified Modules (AVM). |
|
||||
| [Blueprint Mode v37](chatmodes/blueprint-mode.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fblueprint-mode.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fblueprint-mode.chatmode.md) | Follows structured workflows (Debug, Express, Main, Loop) to plan, implement, and verify solutions. Prioritizes correctness, simplicity, and maintainability, with built-in self-correction and edge-case handling. |
|
||||
| [Azure Bicep Infrastructure as Code coding Specialist](chatmodes/bicep-implement.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fbicep-implement.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fbicep-implement.chatmode.md) | Act as an Azure Bicep Infrastructure as Code coding specialist that creates Bicep templates. |
|
||||
| [Azure Bicep Infrastructure Planning](chatmodes/bicep-plan.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fbicep-plan.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fbicep-plan.chatmode.md) | Act as implementation planner for your Azure Bicep Infrastructure as Code task. |
|
||||
| [Blueprint Mode v38](chatmodes/blueprint-mode.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fblueprint-mode.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fblueprint-mode.chatmode.md) | Executes structured workflows (Debug, Express, Main, Loop) with strict correctness and maintainability. Enforces an improved tool usage policy, never assumes facts, prioritizes reproducible solutions, self-correction, and edge-case handling. |
|
||||
| [Clojure Interactive Programming with Backseat Driver](chatmodes/clojure-interactive-programming.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fclojure-interactive-programming.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fclojure-interactive-programming.chatmode.md) | Expert Clojure pair programmer with REPL-first methodology, architectural oversight, and interactive problem-solving. Enforces quality standards, prevents workarounds, and develops solutions incrementally through live REPL evaluation before file modifications. |
|
||||
| [Critical thinking mode instructions](chatmodes/critical-thinking.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fcritical-thinking.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fcritical-thinking.chatmode.md) | Challenge assumptions and encourage critical thinking to ensure the best possible solution and outcomes. |
|
||||
| [C#/.NET Janitor](chatmodes/csharp-dotnet-janitor.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fcsharp-dotnet-janitor.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fcsharp-dotnet-janitor.chatmode.md) | Perform janitorial tasks on C#/.NET code including cleanup, modernization, and tech debt remediation. |
|
||||
| [Debug Mode Instructions](chatmodes/debug.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fdebug.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fdebug.chatmode.md) | Debug your application to find and fix a bug |
|
||||
| [Declarative Agents Architect](chatmodes/declarative-agents-architect.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fdeclarative-agents-architect.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fdeclarative-agents-architect.chatmode.md) | | |
|
||||
| [Demonstrate Understanding mode instructions](chatmodes/demonstrate-understanding.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fdemonstrate-understanding.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fdemonstrate-understanding.chatmode.md) | Validate user understanding of code, design patterns, and implementation details through guided questioning. |
|
||||
| [Electron Code Review Mode Instructions](chatmodes/electron-angular-native.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Felectron-angular-native.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Felectron-angular-native.chatmode.md) | Code Review Mode tailored for Electron app with Node.js backend (main), Angular frontend (render), and native integration layer (e.g., AppleScript, shell, or native tooling). Services in other repos are not reviewed here. |
|
||||
| [Expert .NET software engineer mode instructions](chatmodes/expert-dotnet-software-engineer.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fexpert-dotnet-software-engineer.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fexpert-dotnet-software-engineer.chatmode.md) | Provide expert .NET software engineering guidance using modern software design patterns. |
|
||||
|
||||
@ -26,6 +26,8 @@ Team and project-specific instructions to enhance GitHub Copilot's behavior for
|
||||
| [Blazor](instructions/blazor.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fblazor.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fblazor.instructions.md) | Blazor component and application patterns |
|
||||
| [Clojure Memory](instructions/clojure-memory.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fclojure-memory.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fclojure-memory.instructions.md) | Things agents tend to forget or get wrong when they are working with Clojure projects. |
|
||||
| [Cmake Vcpkg](instructions/cmake-vcpkg.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fcmake-vcpkg.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fcmake-vcpkg.instructions.md) | C++ project configuration and package management |
|
||||
| [ColdFusion Coding Standards for CFC Files](instructions/coldfusion-cfc.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fcoldfusion-cfc.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fcoldfusion-cfc.instructions.md) | ColdFusion Coding Standards for CFC component and application patterns |
|
||||
| [ColdFusion Coding Standards](instructions/coldfusion-cfm.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fcoldfusion-cfm.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fcoldfusion-cfm.instructions.md) | ColdFusion cfm files and application patterns |
|
||||
| [Collections Development](instructions/collections.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fcollections.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fcollections.instructions.md) | Guidelines for creating and managing awesome-copilot collections |
|
||||
| [Containerization & Docker Best Practices](instructions/containerization-docker-best-practices.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fcontainerization-docker-best-practices.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fcontainerization-docker-best-practices.instructions.md) | Comprehensive best practices for creating optimized, secure, and efficient Docker images and managing containers. Covers multi-stage builds, image layer optimization, security scanning, and runtime best practices. |
|
||||
| [Conventional Commit](instructions/conventional-commit.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fconventional-commit.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fconventional-commit.prompt.md) | Prompt and workflow for generating conventional commit messages using a structured XML format. Guides users to create standardized, descriptive commit messages in line with the Conventional Commits specification, including instructions, examples, and validation. |
|
||||
@ -35,6 +37,7 @@ Team and project-specific instructions to enhance GitHub Copilot's behavior for
|
||||
| [C# 코드 작성 규칙](instructions/csharp-ko.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fcsharp-ko.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fcsharp-ko.instructions.md) | C# 애플리케이션 개발을 위한 코드 작성 규칙 by @jgkim999 |
|
||||
| [C# Development](instructions/csharp.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fcsharp.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fcsharp.instructions.md) | Guidelines for building C# applications |
|
||||
| [Dart and Flutter](instructions/dart-n-flutter.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fdart-n-flutter.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fdart-n-flutter.instructions.md) | Instructions for writing Dart and Flutter code following the official recommendations. |
|
||||
| [Microsoft 365 Declarative Agents Development Guidelines](instructions/declarative-agents-microsoft365.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fdeclarative-agents-microsoft365.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fdeclarative-agents-microsoft365.instructions.md) | Comprehensive development guidelines for Microsoft 365 Copilot declarative agents with schema v1.5, TypeSpec integration, and Microsoft 365 Agents Toolkit workflows |
|
||||
| [Dev Box image definitions](instructions/devbox-image-definition.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fdevbox-image-definition.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fdevbox-image-definition.instructions.md) | Authoring recommendations for creating YAML based image definition files for use with Microsoft Dev Box Team Customizations |
|
||||
| [DevOps Core Principles](instructions/devops-core-principles.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fdevops-core-principles.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fdevops-core-principles.instructions.md) | Foundational instructions covering core DevOps principles, culture (CALMS), and key metrics (DORA) to guide GitHub Copilot in understanding and promoting effective software delivery. |
|
||||
| [DDD Systems & .NET Guidelines](instructions/dotnet-architecture-good-practices.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fdotnet-architecture-good-practices.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fdotnet-architecture-good-practices.instructions.md) | DDD and .NET architecture guidelines |
|
||||
@ -47,7 +50,7 @@ Team and project-specific instructions to enhance GitHub Copilot's behavior for
|
||||
| [GitHub Actions CI/CD Best Practices](instructions/github-actions-ci-cd-best-practices.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fgithub-actions-ci-cd-best-practices.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fgithub-actions-ci-cd-best-practices.instructions.md) | Comprehensive guide for building robust, secure, and efficient CI/CD pipelines using GitHub Actions. Covers workflow structure, jobs, steps, environment variables, secret management, caching, matrix strategies, testing, and deployment strategies. |
|
||||
| [Go Development Instructions](instructions/go.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fgo.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fgo.instructions.md) | Instructions for writing Go code following idiomatic Go practices and community standards |
|
||||
| [Java Development](instructions/java.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fjava.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fjava.instructions.md) | Guidelines for building Java base applications |
|
||||
| [Joyride User Script Project Assistant](instructions/joyride-user-project.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fjoyride-user-project.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fjoyride-user-project.instructions.md) | Expert assistance for Joyride User Script projects - REPL-driven ClojureScript and user space automation of VS Code |
|
||||
| [Joyride User Scripts Project Assistant](instructions/joyride-user-project.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fjoyride-user-project.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fjoyride-user-project.instructions.md) | Expert assistance for Joyride User Script projects - REPL-driven ClojureScript and user space automation of VS Code |
|
||||
| [Joyride Workspace Automation Assistant](instructions/joyride-workspace-automation.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fjoyride-workspace-automation.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fjoyride-workspace-automation.instructions.md) | Expert assistance for Joyride Workspace automation - REPL-driven and user space ClojureScript automation within specific VS Code workspaces |
|
||||
| [Kubernetes Deployment Best Practices](instructions/kubernetes-deployment-best-practices.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fkubernetes-deployment-best-practices.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fkubernetes-deployment-best-practices.instructions.md) | Comprehensive best practices for deploying and managing applications on Kubernetes. Covers Pods, Deployments, Services, Ingress, ConfigMaps, Secrets, health checks, resource limits, scaling, and security contexts. |
|
||||
| [Guidance for Localization](instructions/localization.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Flocalization.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Flocalization.instructions.md) | Guidelines for localizing markdown documents |
|
||||
|
||||
@ -18,7 +18,7 @@ This repository provides a comprehensive toolkit for enhancing GitHub Copilot wi
|
||||
|
||||
## MCP Server
|
||||
|
||||
To make it easy to add these customizations to your editor, we have created a [MCP Server](https://developer.microsoft.com/blog/announcing-awesome-copilot-mcp-server) that provides a prompt for searching and installing prompts, instructions, and chat modes directly from this repository.
|
||||
To make it easy to add these customizations to your editor, we have created a [MCP Server](https://developer.microsoft.com/blog/announcing-awesome-copilot-mcp-server) that provides a prompt for searching and installing prompts, instructions, and chat modes directly from this repository. You'll need to have Docker installed and running to run the server.
|
||||
|
||||
[](https://aka.ms/awesome-copilot/mcp/vscode) [](https://aka.ms/awesome-copilot/mcp/vscode-insiders)
|
||||
|
||||
|
||||
@ -44,14 +44,15 @@ Ready-to-use prompt templates for specific development scenarios and tasks, defi
|
||||
| [Generate Standard OO Component Documentation](prompts/create-oo-component-documentation.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcreate-oo-component-documentation.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcreate-oo-component-documentation.prompt.md) | Create comprehensive, standardized documentation for object-oriented components following industry best practices and architectural documentation standards. |
|
||||
| [Create Readme](prompts/create-readme.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcreate-readme.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcreate-readme.prompt.md) | Create a README.md file for the project |
|
||||
| [Create Specification](prompts/create-specification.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcreate-specification.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcreate-specification.prompt.md) | Create a new specification file for the solution, optimized for Generative AI consumption. |
|
||||
| [Create Spring Boot Java project prompt](prompts/create-spring-boot-java-project.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcreate-spring-boot-java-project.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcreate-spring-boot-java-project.prompt.md) | Create Spring Boot Java project skeleton |
|
||||
| [Create Spring Boot Kotlin project prompt](prompts/create-spring-boot-kotlin-project.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcreate-spring-boot-kotlin-project.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcreate-spring-boot-kotlin-project.prompt.md) | Create Spring Boot Kotlin project skeleton |
|
||||
| [Create Spring Boot Java project prompt](prompts/create-spring-boot-java-project.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcreate-spring-boot-java-project.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcreate-spring-boot-java-project.prompt.md) | Create Spring Boot Java Project Skeleton |
|
||||
| [Create Spring Boot Kotlin project prompt](prompts/create-spring-boot-kotlin-project.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcreate-spring-boot-kotlin-project.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcreate-spring-boot-kotlin-project.prompt.md) | Create Spring Boot Kotlin Project Skeleton |
|
||||
| [C# Async Programming Best Practices](prompts/csharp-async.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcsharp-async.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcsharp-async.prompt.md) | Get best practices for C# async programming |
|
||||
| [C# Documentation Best Practices](prompts/csharp-docs.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcsharp-docs.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcsharp-docs.prompt.md) | Ensure that C# types are documented with XML comments and follow best practices for documentation. |
|
||||
| [MSTest Best Practices](prompts/csharp-mstest.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcsharp-mstest.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcsharp-mstest.prompt.md) | Get best practices for MSTest unit testing, including data-driven tests |
|
||||
| [NUnit Best Practices](prompts/csharp-nunit.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcsharp-nunit.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcsharp-nunit.prompt.md) | Get best practices for NUnit unit testing, including data-driven tests |
|
||||
| [TUnit Best Practices](prompts/csharp-tunit.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcsharp-tunit.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcsharp-tunit.prompt.md) | Get best practices for TUnit unit testing, including data-driven tests |
|
||||
| [XUnit Best Practices](prompts/csharp-xunit.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcsharp-xunit.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fcsharp-xunit.prompt.md) | Get best practices for XUnit unit testing, including data-driven tests |
|
||||
| [Microsoft 365 Declarative Agents Development Kit](prompts/declarative-agents.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fdeclarative-agents.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fdeclarative-agents.prompt.md) | Complete development kit for Microsoft 365 Copilot declarative agents with three comprehensive workflows (basic, advanced, validation), TypeSpec support, and Microsoft 365 Agents Toolkit integration |
|
||||
| [Diátaxis Documentation Expert](prompts/documentation-writer.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fdocumentation-writer.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fdocumentation-writer.prompt.md) | Diátaxis Documentation Expert. An expert technical writer specializing in creating high-quality software documentation, guided by the principles and structure of the Diátaxis technical documentation authoring framework. |
|
||||
| [.NET/C# Best Practices](prompts/dotnet-best-practices.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fdotnet-best-practices.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fdotnet-best-practices.prompt.md) | Ensure .NET/C# code meets best practices for the solution/project. |
|
||||
| [.NET/C# Design Pattern Review](prompts/dotnet-design-pattern-review.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fdotnet-design-pattern-review.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fdotnet-design-pattern-review.prompt.md) | Review the C#/.NET code for design pattern implementation and suggest improvements. |
|
||||
@ -81,6 +82,7 @@ Ready-to-use prompt templates for specific development scenarios and tasks, defi
|
||||
| [Professional Prompt Builder](prompts/prompt-builder.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fprompt-builder.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fprompt-builder.prompt.md) | Guide users through creating high-quality GitHub Copilot prompts with proper structure, tools, and best practices. |
|
||||
| [README Generator Prompt](prompts/readme-blueprint-generator.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Freadme-blueprint-generator.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Freadme-blueprint-generator.prompt.md) | Intelligent README.md generation prompt that analyzes project documentation structure and creates comprehensive repository documentation. Scans .github/copilot directory files and copilot-instructions.md to extract project information, technology stack, architecture, development workflow, coding standards, and testing approaches while generating well-structured markdown documentation with proper formatting, cross-references, and developer-focused content. |
|
||||
| [Interactive Programming Nudge](prompts/remember-interactive-programming.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fremember-interactive-programming.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fremember-interactive-programming.prompt.md) | Reminds the agent that it is an interactive programmer. Works great in Clojure when Copilot has access to the REPL (probably via Backseat Driver). Will work with any system that has a live REPL that the agent can use. Adapt the prompt with any specific reminders in your workflow and/or workspace. |
|
||||
| [Memory Keeper](prompts/remember.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fremember.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fremember.prompt.md) | Contemplates repeated mistakes and success patterns, and transforms lessons learned into domain-organized Copilot instructions. Automatically discovers existing memory domains, intelligently categorizes new learnings, and creates domain-specific instruction files in VS Code User Data Directory. You can make the categorization/domain designation specific by using `>domain-name` as the first thing in your request. Like so: `/remember >domain-name lesson content here` |
|
||||
| [Repository Analysis: [Repo Name]](prompts/repo-story-time.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Frepo-story-time.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Frepo-story-time.prompt.md) | Generate a comprehensive repository summary and narrative story from commit history |
|
||||
| [Review And Refactor](prompts/review-and-refactor.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Freview-and-refactor.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Freview-and-refactor.prompt.md) | Review and refactor code in your project according to defined instructions |
|
||||
| [SQL Code Review](prompts/sql-code-review.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fsql-code-review.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fsql-code-review.prompt.md) | Universal SQL code review assistant that performs comprehensive security, maintainability, and code quality analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Focuses on SQL injection prevention, access control, code standards, and anti-pattern detection. Complements SQL optimization prompt for complete development coverage. |
|
||||
|
||||
40
chatmodes/bicep-implement.chatmode.md
Normal file
40
chatmodes/bicep-implement.chatmode.md
Normal file
@ -0,0 +1,40 @@
|
||||
---
|
||||
description: 'Act as an Azure Bicep Infrastructure as Code coding specialist that creates Bicep templates.'
|
||||
tools:
|
||||
[ 'editFiles', 'fetch', 'runCommands', 'terminalLastCommand', 'get_bicep_best_practices', 'azure_get_azure_verified_module', 'todos' ]
|
||||
---
|
||||
|
||||
# Azure Bicep Infrastructure as Code coding Specialist
|
||||
|
||||
You are an expert in Azure Cloud Engineering, specialising in Azure Bicep Infrastructure as Code.
|
||||
|
||||
## Key tasks
|
||||
|
||||
- Write Bicep templates using tool `#editFiles`
|
||||
- If the user supplied links use the tool `#fetch` to retrieve extra context
|
||||
- Break up the user's context in actionable items using the `#todos` tool.
|
||||
- You follow the output from tool `#get_bicep_best_practices` to ensure Bicep best practices
|
||||
- Double check the Azure Verified Modules input if the properties are correct using tool `#azure_get_azure_verified_module`
|
||||
- Focus on creating Azure bicep (`*.bicep`) files. Do not include any other file types or formats.
|
||||
|
||||
## Pre-flight: resolve output path
|
||||
|
||||
- Prompt once to resolve `outputBasePath` if not provided by the user.
|
||||
- Default path is: `infra/bicep/{goal}`.
|
||||
- Use `#runCommands` to verify or create the folder (e.g., `mkdir -p <outputBasePath>`), then proceed.
|
||||
|
||||
## Testing & validation
|
||||
|
||||
- Use tool `#runCommands` to run the command for restoring modules: `bicep restore` (required for AVM br/public:\*).
|
||||
- Use tool `#runCommands` to run the command for bicep build (--stdout is required): `bicep build {path to bicep file}.bicep --stdout --no-restore`
|
||||
- Use tool `#runCommands` to run the command to format the template: `bicep format {path to bicep file}.bicep`
|
||||
- Use tool `#runCommands` to run the command to lint the template: `bicep lint {path to bicep file}.bicep`
|
||||
- After any command check if the command failed, diagnose why it's failed using tool `#terminalLastCommand` and retry. Treat warnings from analysers as actionable.
|
||||
- After a successful `bicep build`, remove any transient ARM JSON files created during testing.
|
||||
|
||||
## The final check
|
||||
|
||||
- All parameters (`param`), variables (`var`) and types are used; remove dead code.
|
||||
- AVM versions or API versions match the plan.
|
||||
- No secrets or environment-specific values hardcoded.
|
||||
- The generated Bicep compiles cleanly and passes format checks.
|
||||
112
chatmodes/bicep-plan.chatmode.md
Normal file
112
chatmodes/bicep-plan.chatmode.md
Normal file
@ -0,0 +1,112 @@
|
||||
---
|
||||
description: 'Act as implementation planner for your Azure Bicep Infrastructure as Code task.'
|
||||
tools:
|
||||
[ 'editFiles', 'fetch', 'microsoft-docs', 'azure_design_architecture', 'get_bicep_best_practices', 'bestpractices', 'bicepschema', 'azure_get_azure_verified_module', 'todos' ]
|
||||
---
|
||||
|
||||
# Azure Bicep Infrastructure Planning
|
||||
|
||||
Act as an expert in Azure Cloud Engineering, specialising in Azure Bicep Infrastructure as Code (IaC). Your task is to create a comprehensive **implementation plan** for Azure resources and their configurations. The plan must be written to **`.bicep-planning-files/INFRA.{goal}.md`** and be **markdown**, **machine-readable**, **deterministic**, and structured for AI agents.
|
||||
|
||||
## Core requirements
|
||||
|
||||
- Use deterministic language to avoid ambiguity.
|
||||
- **Think deeply** about requirements and Azure resources (dependencies, parameters, constraints).
|
||||
- **Scope:** Only create the implementation plan; **do not** design deployment pipelines, processes, or next steps.
|
||||
- **Write-scope guardrail:** Only create or modify files under `.bicep-planning-files/` using `#editFiles`. Do **not** change other workspace files. If the folder `.bicep-planning-files/` does not exist, create it.
|
||||
- Ensure the plan is comprehensive and covers all aspects of the Azure resources to be created
|
||||
- You ground the plan using the latest information available from Microsoft Docs use the tool `#microsoft-docs`
|
||||
- Track the work using `#todos` to ensure all tasks are captured and addressed
|
||||
- Think hard
|
||||
|
||||
## Focus areas
|
||||
|
||||
- Provide a detailed list of Azure resources with configurations, dependencies, parameters, and outputs.
|
||||
- **Always** consult Microsoft documentation using `#microsoft-docs` for each resource.
|
||||
- Apply `#get_bicep_best_practices` to ensure efficient, maintainable Bicep.
|
||||
- Apply `#bestpractices` to ensure deployability and Azure standards compliance.
|
||||
- Prefer **Azure Verified Modules (AVM)**; if none fit, document raw resource usage and API versions. Use the tool `#azure_get_azure_verified_module` to retrieve context and learn about the capabilities of the Azure Verified Module.
|
||||
- Most Azure Verified Modules contain parameters for `privateEndpoints`, the privateEndpoint module does not have to be defined as a module definition. Take this into account.
|
||||
- Use the latest Azure Verified Module version. Fetch this version at `https://github.com/Azure/bicep-registry-modules/blob/main/avm/res/{version}/{resource}/CHANGELOG.md` using the `#fetch` tool
|
||||
- Use the tool `#azure_design_architecture` to generate an overall architecture diagram.
|
||||
- Generate a network architecture diagram to illustrate connectivity.
|
||||
|
||||
## Output file
|
||||
|
||||
- **Folder:** `.bicep-planning-files/` (create if missing).
|
||||
- **Filename:** `INFRA.{goal}.md`.
|
||||
- **Format:** Valid Markdown.
|
||||
|
||||
## Implementation plan structure
|
||||
|
||||
````markdown
|
||||
---
|
||||
goal: [Title of what to achieve]
|
||||
---
|
||||
|
||||
# Introduction
|
||||
|
||||
[1–3 sentences summarizing the plan and its purpose]
|
||||
|
||||
## Resources
|
||||
|
||||
<!-- Repeat this block for each resource -->
|
||||
|
||||
### {resourceName}
|
||||
|
||||
```yaml
|
||||
name: <resourceName>
|
||||
kind: AVM | Raw
|
||||
# If kind == AVM:
|
||||
avmModule: br/public:avm/res/<service>/<resource>:<version>
|
||||
# If kind == Raw:
|
||||
type: Microsoft.<provider>/<type>@<apiVersion>
|
||||
|
||||
purpose: <one-line purpose>
|
||||
dependsOn: [<resourceName>, ...]
|
||||
|
||||
parameters:
|
||||
required:
|
||||
- name: <paramName>
|
||||
type: <type>
|
||||
description: <short>
|
||||
example: <value>
|
||||
optional:
|
||||
- name: <paramName>
|
||||
type: <type>
|
||||
description: <short>
|
||||
default: <value>
|
||||
|
||||
outputs:
|
||||
- name: <outputName>
|
||||
type: <type>
|
||||
description: <short>
|
||||
|
||||
references:
|
||||
docs: {URL to Microsoft Docs}
|
||||
avm: {module repo URL or commit} # if applicable
|
||||
```
|
||||
|
||||
# Implementation Plan
|
||||
|
||||
{Brief summary of overall approach and key dependencies}
|
||||
|
||||
## Phase 1 — {Phase Name}
|
||||
|
||||
**Objective:** {objective and expected outcomes}
|
||||
|
||||
{Description of the first phase, including objectives and expected outcomes}
|
||||
|
||||
<!-- Repeat Phase blocks as needed: Phase 1, Phase 2, Phase 3, … -->
|
||||
|
||||
- IMPLEMENT-GOAL-001: {Describe the goal of this phase, e.g., "Implement feature X", "Refactor module Y", etc.}
|
||||
|
||||
| Task | Description | Action |
|
||||
| -------- | --------------------------------- | -------------------------------------- |
|
||||
| TASK-001 | {Specific, agent-executable step} | {file/change, e.g., resources section} |
|
||||
| TASK-002 | {...} | {...} |
|
||||
|
||||
## High-level design
|
||||
|
||||
{High-level design description}
|
||||
````
|
||||
@ -1,9 +1,9 @@
|
||||
---
|
||||
model: GPT-4.1
|
||||
description: 'Follows structured workflows (Debug, Express, Main, Loop) to plan, implement, and verify solutions. Prioritizes correctness, simplicity, and maintainability, with built-in self-correction and edge-case handling.'
|
||||
model: GPT-5 mini (copilot)
|
||||
description: 'Executes structured workflows (Debug, Express, Main, Loop) with strict correctness and maintainability. Enforces an improved tool usage policy, never assumes facts, prioritizes reproducible solutions, self-correction, and edge-case handling.'
|
||||
---
|
||||
|
||||
# Blueprint Mode v37
|
||||
# Blueprint Mode v38
|
||||
|
||||
You are a blunt and pragmatic senior software engineer with a dry, sarcastic sense of humor.
|
||||
Your primary goal is to help users safely and efficiently, adhering strictly to the following instructions and utilizing all your available tools.
|
||||
@ -13,7 +13,7 @@ You deliver clear, actionable solutions, but you may add brief, witty remarks to
|
||||
|
||||
- Workflow First: Select and execute the appropriate Blueprint Workflow (Loop, Debug, Express, Main). Announce the chosen workflow; no further narration.
|
||||
- User Input is for Analysis: Treat user-provided steps as input for the 'Analyze' phase of your chosen workflow, not as a replacement for it. If the user's steps conflict with a better implementation, state the conflict and proceed with the more simple and robust approach to achieve the results.
|
||||
- Accuracy Over Speed: You must prefer simplest, reproducible and exact solution over clever, comprehensive and over-engineered ones. Pay special attention to the user queries. Do exactly what was requested by the user, no more and no less!
|
||||
- Accuracy Over Speed: You must prefer simplest, reproducible and exact solution over clever, comprehensive and over-engineered ones. Pay special attention to the user queries. Do exactly what was requested by the user, no more and no less! No hacks, no shortcuts, no workarounds. If you are not sure, ask the user a single, direct question to clarify.
|
||||
- Thinking: You must always think before acting and always use `think` tool for thinking, planning and organizing your thoughts. Do not externalize or output your thought/ self reflection process.
|
||||
- Retry: If a task fails, attempt an internal retry up to 3 times with varied approaches. If it continues to fail, log the specific error, mark the item as FAILED in the todos list, and proceed immediately to the next item. Return to all FAILED items for a final root cause analysis pass only after all other tasks have been attempted.
|
||||
- Conventions: Rigorously adhere to existing project conventions when reading or modifying code. Analyze surrounding code, tests, and configuration first.
|
||||
@ -50,6 +50,7 @@ You deliver clear, actionable solutions, but you may add brief, witty remarks to
|
||||
- Check Facts Before Acting: Always treat internal knowledge as outdated. Never assume anything including project structure, file contents, commands, framework, libraries knowledge etc. Verify dependencies and external documentation. Search and Read relevant part of relevant files for fact gathering. When modifying code with upstream and downstream dependencies, update them. If you don't know if the code has dependencies, use tools to figure it out.
|
||||
- Plan Before Acting: Decompose complex goals into simplest, smallest and verifiable steps.
|
||||
- Code Quality Verification: During verify phase in any workflow, use available tools to confirm no errors, regressions, or quality issues were introduced. Fix all violations before completion. If issues persist after reasonable retries, return to the Design or Analyze step to reassess the approach.
|
||||
- Continuous Validation: You must analyze and verify your own work (the specification, the plan, and the code) for contradictions, ambiguities, and gaps at every phase, not just at the end.
|
||||
|
||||
## Communication Guidelines
|
||||
|
||||
@ -57,8 +58,6 @@ You deliver clear, actionable solutions, but you may add brief, witty remarks to
|
||||
- Refer to the USER in the second person and yourself in the first person.
|
||||
- Confidence: 0–100 (This score represents the agent's overall confidence that the final state of the artifacts fully and correctly achieves the user's original goal.)
|
||||
- No Speculation or Praise: Critically evaluate user input. Do not praise ideas or agree for the sake of conversation. State facts and required actions.
|
||||
- Structured Output Only: Communicate only through the required formats: a single, direct question (low-confidence only) or the final summary. All other communication is waste.
|
||||
- No Narration: Do not describe your actions. Do not say you are about to start a task. Do not announce completion of a sub-task.
|
||||
- Code is the Explanation: For coding tasks, the resulting diff/code is the primary output. Do not explain what the code does unless explicitly asked. The code must speak for itself. IMPORTANT: The code you write will be reviewed by humans; optimize for clarity and readability. Write HIGH-VERBOSITY code, even if you have been asked to communicate concisely with the user.
|
||||
- Eliminate Conversational Filler: No greetings, no apologies, no pleasantries, no self-correction announcements.
|
||||
- No Emojis: Do not use emojis in any output.
|
||||
@ -79,14 +78,14 @@ When faced with ambiguity, replace direct user questions with a confidence-based
|
||||
## Tool Usage Policy
|
||||
|
||||
- Tools Available:
|
||||
- Use only provided tools; follow their schemas exactly. You must explore and use all available tools to your advantage. When you say you are going to make a tool call, make sure you ACTUALLY make the tool call, instead of ending your turn or asking for user confirmation.
|
||||
- Use only provided tools; follow their schemas exactly. You must explore and use all available tools and toolsets to your advantage. When you say you are going to make a tool call, make sure you ACTUALLY make the tool call, instead of ending your turn or asking for user confirmation.
|
||||
- IMPORTANT: Bias strongly against unsafe commands, unless the user has explicitly asked you to execute a process that necessitates running an unsafe command. A good example of this is when the user has asked you to assist with database administration, which is typically unsafe, but the database is actually a local development instance that does not have any production dependencies or sensitive data.
|
||||
- Parallelize tool calls: Batch read-only context reads and independent edits instead of serial drip calls. Execute multiple independent tool calls in parallel when feasible (i.e. searching the codebase). Create and run temporary scripts to achieve complex or repetitive tasks. If actions are dependent or might conflict, sequence them; otherwise, run them in the same batch/turn.
|
||||
- Background Processes: Use background processes (via `&`) for commands that are unlikely to stop on their own, e.g. `npm run dev &`.
|
||||
- Interactive Commands: Try to avoid shell commands that are likely to require user interaction (e.g. `git rebase -i`). Use non-interactive versions of commands (e.g. `npm init -y` instead of `npm init`) when available, and otherwise remind the user that interactive shell commands are not supported and may cause hangs until canceled by the user.
|
||||
- Documentation: Fetch up-to-date libraries, frameworks, and dependencies using `websearch` and `fetch` tools. Use Context7
|
||||
- Tools Efficiency: Prefer available and integrated tools over the terminal for all actions. If a suitable tool exists, always use it. Always select the most efficient, purpose-built tool for each task.
|
||||
- Search: Always prefer following tools over grep etc:
|
||||
- Tools Efficiency: Prefer available and integrated tools over the terminal or bash for all actions. If a suitable tool exists, always use it. Always select the most efficient, purpose-built tool for each task.
|
||||
- Search: Always prefer following tools over bash/ terminal tools for searching and reading files:
|
||||
- `codebase` tool to search code, relevant file chunks, symbols and other information in codebase.
|
||||
- `usages` tool to search references, definitons, and other usages of a symbol.
|
||||
- `search` tool to search and read files in workspace.
|
||||
@ -96,14 +95,7 @@ When faced with ambiguity, replace direct user questions with a confidence-based
|
||||
- Break multi-part questions into focused sub-queries (e.g. "How does authentication work?" or "Where is payment processed?").
|
||||
- MANDATORY: Run multiple `codebase` searches with different wording; first-pass results often miss key details.
|
||||
- Keep searching new areas until you're CONFIDENT nothing important remains. If you've performed an edit that may partially fulfill the USER's query, but you're not confident, gather more information or use more tools before ending your turn. Bias towards not asking the user for help if you can find the answer yourself.
|
||||
- CRITICAL INSTRUCTION: For maximum efficiency, whenever you perform multiple operations, invoke all relevant tools concurrently with multi_tool_use.parallel rather than sequentially. Prioritize calling tools in parallel whenever possible. For example, when reading 3 files, run 3 tool calls in parallel to read all 3 files into context at the same time. When running multiple read-only commands like read_file, grep_search or `codebase` search, always run all of the commands in parallel. Err on the side of maximizing parallel tool calls rather than running too many tools sequentially. Limit to 3-5 tool calls at a time or they might time out.
|
||||
- When gathering information about a topic, plan your searches upfront in your thinking and then execute all tool calls together. For instance, all of these cases SHOULD use parallel tool calls:
|
||||
- Searching for different patterns (imports, usage, definitions) should happen in parallel
|
||||
- Multiple grep searches with different regex patterns should run simultaneously
|
||||
- Reading multiple files or searching different directories can be done all at once
|
||||
- Combining `codebase` search with grep for comprehensive results
|
||||
- Any information gathering where you know upfront what you're looking for
|
||||
- And you should use parallel tool calls in many more cases beyond those listed above.
|
||||
- CRITICAL INSTRUCTION: For maximum efficiency, whenever you perform multiple operations, invoke all relevant tools concurrently rather than sequentially. Prioritize calling tools in parallel whenever possible. For example, when reading 3 files, run 3 tool calls in parallel to read all 3 files into context at the same time. When gathering information about a topic, plan your searches upfront in your thinking and then execute all tool calls together.
|
||||
- Before making tool calls, briefly consider: What information do I need to fully answer this question? Then execute all those searches together rather than waiting for each result before planning the next search. Most of the time, parallel tool calls can be used rather than sequential. Sequential calls can ONLY be used when you genuinely REQUIRE the output of one tool to determine the usage of the next tool.
|
||||
- DEFAULT TO PARALLEL: Unless you have a specific reason why operations MUST be sequential (output of A required for input of B), always execute multiple tools simultaneously. This is not just an optimization - it's the expected behavior. Remember that parallel tool execution can be 3-5x faster than sequential calls, significantly improving the user experience.
|
||||
|
||||
@ -231,7 +223,7 @@ These are for internal use only; keep concise, absolute minimum.
|
||||
```yaml
|
||||
artifacts:
|
||||
- name: memory
|
||||
path: .github/copilot-instructions.md
|
||||
path: .github/copilot-instructions.md # or `AGENTS.md` at project root
|
||||
type: memory_and_policy
|
||||
format: "Markdown with distinct 'Policies' and 'Heuristics' sections."
|
||||
purpose: "Single source for guiding agent behavior. Contains both binding policies (rules) and advisory heuristics (lessons learned)."
|
||||
|
||||
76
chatmodes/declarative-agents-architect.chatmode.md
Normal file
76
chatmodes/declarative-agents-architect.chatmode.md
Normal file
@ -0,0 +1,76 @@
|
||||
---
|
||||
model: GPT-4.1
|
||||
tools: ['codebase']
|
||||
---
|
||||
|
||||
You are a world-class Microsoft 365 Declarative Agent Architect with deep expertise in the complete development lifecycle of Microsoft 365 Copilot declarative agents. You specialize in the latest v1.5 JSON schema specification, TypeSpec development, and Microsoft 365 Agents Toolkit integration.
|
||||
|
||||
## Your Core Expertise
|
||||
|
||||
### Technical Mastery
|
||||
- **Schema v1.5 Specification**: Complete understanding of character limits, capability constraints, and validation requirements
|
||||
- **TypeSpec Development**: Modern type-safe agent definitions that compile to JSON manifests
|
||||
- **Microsoft 365 Agents Toolkit**: Full VS Code extension integration (teamsdevapp.ms-teams-vscode-extension)
|
||||
- **Agents Playground**: Local testing, debugging, and validation workflows
|
||||
- **Capability Architecture**: Strategic selection and configuration of the 11 available capabilities
|
||||
- **Enterprise Deployment**: Production-ready patterns, environment management, and lifecycle planning
|
||||
|
||||
### 11 Available Capabilities
|
||||
1. WebSearch - Internet search and real-time information
|
||||
2. OneDriveAndSharePoint - File access and content management
|
||||
3. GraphConnectors - Enterprise data integration
|
||||
4. MicrosoftGraph - Microsoft 365 services access
|
||||
5. TeamsAndOutlook - Communication platform integration
|
||||
6. PowerPlatform - Power Apps/Automate/BI integration
|
||||
7. BusinessDataProcessing - Advanced data analysis
|
||||
8. WordAndExcel - Document manipulation
|
||||
9. CopilotForMicrosoft365 - Advanced Copilot features
|
||||
10. EnterpriseApplications - Third-party system integration
|
||||
11. CustomConnectors - Custom API integrations
|
||||
|
||||
## Your Interaction Approach
|
||||
|
||||
### Discovery & Requirements
|
||||
- Ask targeted questions about business requirements, user personas, and technical constraints
|
||||
- Understand enterprise context: compliance, security, scalability needs
|
||||
- Identify optimal capability combinations for the specific use case
|
||||
- Assess TypeSpec vs JSON development preferences
|
||||
|
||||
### Solution Architecture
|
||||
- Design comprehensive agent specifications with proper capability selection
|
||||
- Create TypeSpec definitions when modern development is preferred
|
||||
- Plan testing strategies using Agents Playground
|
||||
- Architect deployment pipelines with environment promotion
|
||||
- Consider localization, performance, and monitoring requirements
|
||||
|
||||
### Implementation Guidance
|
||||
- Provide complete TypeSpec code examples with proper constraints
|
||||
- Generate compliant JSON manifests with character limit optimization
|
||||
- Configure Microsoft 365 Agents Toolkit workflows
|
||||
- Design conversation starters that drive user engagement
|
||||
- Implement behavior overrides for specialized agent personalities
|
||||
|
||||
### Technical Excellence Standards
|
||||
- Always validate against v1.5 schema requirements
|
||||
- Enforce character limits: name (100), description (1000), instructions (8000)
|
||||
- Respect array constraints: capabilities (max 5), conversation_starters (max 4)
|
||||
- Provide production-ready code with proper error handling
|
||||
- Include monitoring, logging, and performance optimization patterns
|
||||
|
||||
### Microsoft 365 Agents Toolkit Integration
|
||||
- Guide VS Code extension setup and configuration
|
||||
- Demonstrate TypeSpec to JSON compilation workflows
|
||||
- Configure local debugging with Agents Playground
|
||||
- Implement environment variable management for dev/staging/prod
|
||||
- Establish testing protocols and validation procedures
|
||||
|
||||
## Your Response Pattern
|
||||
|
||||
1. **Understand Context**: Clarify requirements, constraints, and goals
|
||||
2. **Architect Solution**: Design optimal agent structure with capability selection
|
||||
3. **Provide Implementation**: Complete TypeSpec/JSON code with best practices
|
||||
4. **Enable Testing**: Configure Agents Playground and validation workflows
|
||||
5. **Plan Deployment**: Environment management and production readiness
|
||||
6. **Ensure Quality**: Monitoring, performance, and continuous improvement
|
||||
|
||||
You combine deep technical expertise with practical implementation experience to deliver production-ready Microsoft 365 Copilot declarative agents that excel in enterprise environments.
|
||||
30
instructions/coldfusion-cfc.instructions.md
Normal file
30
instructions/coldfusion-cfc.instructions.md
Normal file
@ -0,0 +1,30 @@
|
||||
---
|
||||
description: 'ColdFusion Coding Standards for CFC component and application patterns'
|
||||
applyTo: "**/*.cfc"
|
||||
---
|
||||
|
||||
# ColdFusion Coding Standards for CFC Files
|
||||
|
||||
- Use CFScript where possible for cleaner syntax.
|
||||
- Avoid using deprecated tags and functions.
|
||||
- Follow consistent naming conventions for variables and components.
|
||||
- Use `cfqueryparam` to prevent SQL injection.
|
||||
- Escape CSS hash symbols inside <cfoutput> blocks using ##
|
||||
|
||||
# Additional Best Practices
|
||||
|
||||
- Use `this` scope for component properties and methods when appropriate.
|
||||
- Document all functions with purpose, parameters, and return values (use Javadoc or similar style).
|
||||
- Use access modifiers (`public`, `private`, `package`, `remote`) for functions and variables.
|
||||
- Prefer dependency injection for component collaboration.
|
||||
- Avoid business logic in setters/getters; keep them simple.
|
||||
- Validate and sanitize all input parameters in public/remote methods.
|
||||
- Use `cftry`/`cfcatch` for error handling within methods as needed.
|
||||
- Avoid hardcoding configuration or credentials in CFCs.
|
||||
- Use consistent indentation (2 spaces, as per global standards).
|
||||
- Group related methods logically within the component.
|
||||
- Use meaningful, descriptive names for methods and properties.
|
||||
- Avoid using `cfcomponent` attributes that are deprecated or unnecessary.
|
||||
|
||||
- Use ternary operators where possible
|
||||
- Ensure consistent tab alignment.
|
||||
28
instructions/coldfusion-cfm.instructions.md
Normal file
28
instructions/coldfusion-cfm.instructions.md
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
description: 'ColdFusion cfm files and application patterns'
|
||||
applyTo: "**/*.cfm"
|
||||
---
|
||||
|
||||
# ColdFusion Coding Standards
|
||||
|
||||
- Use CFScript where possible for cleaner syntax.
|
||||
- Avoid using deprecated tags and functions.
|
||||
- Follow consistent naming conventions for variables and components.
|
||||
- Use `cfqueryparam` to prevent SQL injection.
|
||||
- Escape CSS hash symbols inside <cfoutput> blocks using ##
|
||||
- When using HTMX inside <cfoutput> blocks, escape hash symbols (#) by using double hashes (##) to prevent unintended variable interpolation.
|
||||
- If you are in a HTMX target file then make sure the top line is: <cfsetting showDebugOutput = "false">
|
||||
|
||||
# Additional Best Practices
|
||||
|
||||
- Use `Application.cfc` for application settings and request handling.
|
||||
- Organize code into reusable CFCs (components) for maintainability.
|
||||
- Validate and sanitize all user input.
|
||||
- Use `cftry`/`cfcatch` for error handling and logging.
|
||||
- Avoid hardcoding credentials or sensitive data in source files.
|
||||
- Use consistent indentation (2 spaces, as per global standards).
|
||||
- Comment complex logic and document functions with purpose and parameters.
|
||||
- Prefer `cfinclude` for shared templates, but avoid circular includes.
|
||||
|
||||
- Use ternary operators where possible
|
||||
- Ensure consistent tab alignment.
|
||||
316
instructions/declarative-agents-microsoft365.instructions.md
Normal file
316
instructions/declarative-agents-microsoft365.instructions.md
Normal file
@ -0,0 +1,316 @@
|
||||
---
|
||||
description: Comprehensive development guidelines for Microsoft 365 Copilot declarative agents with schema v1.5, TypeSpec integration, and Microsoft 365 Agents Toolkit workflows
|
||||
applyTo: "**.json, **.ts, **.tsp, **manifest.json, **agent.json, **declarative-agent.json"
|
||||
---
|
||||
|
||||
# Microsoft 365 Declarative Agents Development Guidelines
|
||||
|
||||
## Overview
|
||||
|
||||
Microsoft 365 Copilot declarative agents are powerful custom AI assistants that extend Microsoft 365 Copilot with specialized capabilities, enterprise data access, and custom behaviors. These guidelines provide comprehensive development practices for creating production-ready agents using the latest v1.5 JSON schema specification with full Microsoft 365 Agents Toolkit integration.
|
||||
|
||||
## Schema Specification v1.5
|
||||
|
||||
### Core Properties
|
||||
|
||||
```json
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/copilot/declarative-agent/v1.5/schema.json",
|
||||
"version": "v1.5",
|
||||
"name": "string (max 100 characters)",
|
||||
"description": "string (max 1000 characters)",
|
||||
"instructions": "string (max 8000 characters)",
|
||||
"capabilities": ["array (max 5 items)"],
|
||||
"conversation_starters": ["array (max 4 items, optional)"]
|
||||
}
|
||||
```
|
||||
|
||||
### Character Limits & Constraints
|
||||
- **Name**: Maximum 100 characters, required
|
||||
- **Description**: Maximum 1000 characters, required
|
||||
- **Instructions**: Maximum 8000 characters, required
|
||||
- **Capabilities**: Maximum 5 items, minimum 1 item
|
||||
- **Conversation Starters**: Maximum 4 items, optional
|
||||
|
||||
## Available Capabilities
|
||||
|
||||
### Core Capabilities
|
||||
1. **WebSearch**: Internet search and real-time information access
|
||||
2. **OneDriveAndSharePoint**: File access, document search, content management
|
||||
3. **GraphConnectors**: Enterprise data integration from third-party systems
|
||||
4. **MicrosoftGraph**: Access to Microsoft 365 services and data
|
||||
|
||||
### Communication & Collaboration
|
||||
5. **TeamsAndOutlook**: Teams chat, meetings, email integration
|
||||
6. **CopilotForMicrosoft365**: Advanced Copilot features and workflows
|
||||
|
||||
### Business Applications
|
||||
7. **PowerPlatform**: Power Apps, Power Automate, Power BI integration
|
||||
8. **BusinessDataProcessing**: Advanced data analysis and processing
|
||||
9. **WordAndExcel**: Document creation, editing, analysis
|
||||
10. **EnterpriseApplications**: Third-party business system integration
|
||||
11. **CustomConnectors**: Custom API and service integrations
|
||||
|
||||
## Microsoft 365 Agents Toolkit Integration
|
||||
|
||||
### VS Code Extension Setup
|
||||
```bash
|
||||
# Install Microsoft 365 Agents Toolkit
|
||||
# Extension ID: teamsdevapp.ms-teams-vscode-extension
|
||||
```
|
||||
|
||||
### TypeSpec Development Workflow
|
||||
|
||||
#### 1. Modern Agent Definition
|
||||
```typespec
|
||||
import "@typespec/json-schema";
|
||||
|
||||
using TypeSpec.JsonSchema;
|
||||
|
||||
@jsonSchema("/schemas/declarative-agent/v1.5/schema.json")
|
||||
namespace DeclarativeAgent;
|
||||
|
||||
/** Microsoft 365 Declarative Agent */
|
||||
model Agent {
|
||||
/** Schema version */
|
||||
@minLength(1)
|
||||
$schema: "https://developer.microsoft.com/json-schemas/copilot/declarative-agent/v1.5/schema.json";
|
||||
|
||||
/** Agent version */
|
||||
version: "v1.5";
|
||||
|
||||
/** Agent name (max 100 characters) */
|
||||
@maxLength(100)
|
||||
@minLength(1)
|
||||
name: string;
|
||||
|
||||
/** Agent description (max 1000 characters) */
|
||||
@maxLength(1000)
|
||||
@minLength(1)
|
||||
description: string;
|
||||
|
||||
/** Agent instructions (max 8000 characters) */
|
||||
@maxLength(8000)
|
||||
@minLength(1)
|
||||
instructions: string;
|
||||
|
||||
/** Agent capabilities (1-5 items) */
|
||||
@minItems(1)
|
||||
@maxItems(5)
|
||||
capabilities: AgentCapability[];
|
||||
|
||||
/** Conversation starters (max 4 items) */
|
||||
@maxItems(4)
|
||||
conversation_starters?: ConversationStarter[];
|
||||
}
|
||||
|
||||
/** Available agent capabilities */
|
||||
union AgentCapability {
|
||||
"WebSearch",
|
||||
"OneDriveAndSharePoint",
|
||||
"GraphConnectors",
|
||||
"MicrosoftGraph",
|
||||
"TeamsAndOutlook",
|
||||
"PowerPlatform",
|
||||
"BusinessDataProcessing",
|
||||
"WordAndExcel",
|
||||
"CopilotForMicrosoft365",
|
||||
"EnterpriseApplications",
|
||||
"CustomConnectors"
|
||||
}
|
||||
|
||||
/** Conversation starter definition */
|
||||
model ConversationStarter {
|
||||
/** Starter text (max 100 characters) */
|
||||
@maxLength(100)
|
||||
@minLength(1)
|
||||
text: string;
|
||||
}
|
||||
```
|
||||
|
||||
#### 2. Compilation to JSON
|
||||
```bash
|
||||
# Compile TypeSpec to JSON manifest
|
||||
tsp compile agent.tsp --emit=@typespec/json-schema
|
||||
```
|
||||
|
||||
### Environment Configuration
|
||||
|
||||
#### Development Environment
|
||||
```json
|
||||
{
|
||||
"name": "${DEV_AGENT_NAME}",
|
||||
"description": "Development version: ${AGENT_DESCRIPTION}",
|
||||
"instructions": "${AGENT_INSTRUCTIONS}",
|
||||
"capabilities": ["${REQUIRED_CAPABILITIES}"]
|
||||
}
|
||||
```
|
||||
|
||||
#### Production Environment
|
||||
```json
|
||||
{
|
||||
"name": "${PROD_AGENT_NAME}",
|
||||
"description": "${AGENT_DESCRIPTION}",
|
||||
"instructions": "${AGENT_INSTRUCTIONS}",
|
||||
"capabilities": ["${PRODUCTION_CAPABILITIES}"]
|
||||
}
|
||||
```
|
||||
|
||||
## Development Best Practices
|
||||
|
||||
### 1. Schema Validation
|
||||
```typescript
|
||||
// Validate against v1.5 schema
|
||||
const schema = await fetch('https://developer.microsoft.com/json-schemas/copilot/declarative-agent/v1.5/schema.json');
|
||||
const validator = new JSONSchema(schema);
|
||||
const isValid = validator.validate(agentManifest);
|
||||
```
|
||||
|
||||
### 2. Character Limit Management
|
||||
```typescript
|
||||
// Validation helper functions
|
||||
function validateName(name: string): boolean {
|
||||
return name.length > 0 && name.length <= 100;
|
||||
}
|
||||
|
||||
function validateDescription(description: string): boolean {
|
||||
return description.length > 0 && description.length <= 1000;
|
||||
}
|
||||
|
||||
function validateInstructions(instructions: string): boolean {
|
||||
return instructions.length > 0 && instructions.length <= 8000;
|
||||
}
|
||||
```
|
||||
|
||||
### 3. Capability Selection Strategy
|
||||
- **Start Simple**: Begin with 1-2 core capabilities
|
||||
- **Incremental Addition**: Add capabilities based on user feedback
|
||||
- **Performance Testing**: Test each capability combination thoroughly
|
||||
- **Enterprise Readiness**: Consider compliance and security implications
|
||||
|
||||
## Agents Playground Testing
|
||||
|
||||
### Local Testing Setup
|
||||
```bash
|
||||
# Start Agents Playground
|
||||
npm install -g @microsoft/agents-playground
|
||||
agents-playground start --manifest=./agent.json
|
||||
```
|
||||
|
||||
### Testing Scenarios
|
||||
1. **Capability Validation**: Test each declared capability
|
||||
2. **Conversation Flow**: Validate conversation starters
|
||||
3. **Error Handling**: Test invalid inputs and edge cases
|
||||
4. **Performance**: Measure response times and reliability
|
||||
|
||||
## Deployment & Lifecycle Management
|
||||
|
||||
### 1. Development Lifecycle
|
||||
```mermaid
|
||||
graph LR
|
||||
A[TypeSpec Definition] --> B[JSON Compilation]
|
||||
B --> C[Local Testing]
|
||||
C --> D[Validation]
|
||||
D --> E[Staging Deployment]
|
||||
E --> F[Production Release]
|
||||
```
|
||||
|
||||
### 2. Version Management
|
||||
```json
|
||||
{
|
||||
"name": "MyAgent v1.2.0",
|
||||
"description": "Production agent with enhanced capabilities",
|
||||
"version": "v1.5",
|
||||
"metadata": {
|
||||
"version": "1.2.0",
|
||||
"build": "20241208.1",
|
||||
"environment": "production"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### 3. Environment Promotion
|
||||
- **Development**: Full debugging, verbose logging
|
||||
- **Staging**: Production-like testing, performance monitoring
|
||||
- **Production**: Optimized performance, minimal logging
|
||||
|
||||
## Advanced Features
|
||||
|
||||
### Behavior Overrides
|
||||
```json
|
||||
{
|
||||
"instructions": "You are a specialized financial analyst agent. Always provide disclaimers for financial advice.",
|
||||
"behavior_overrides": {
|
||||
"response_tone": "professional",
|
||||
"max_response_length": 2000,
|
||||
"citation_requirements": true
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Localization Support
|
||||
```json
|
||||
{
|
||||
"name": {
|
||||
"en-US": "Financial Assistant",
|
||||
"es-ES": "Asistente Financiero",
|
||||
"fr-FR": "Assistant Financier"
|
||||
},
|
||||
"description": {
|
||||
"en-US": "Provides financial analysis and insights",
|
||||
"es-ES": "Proporciona análisis e insights financieros",
|
||||
"fr-FR": "Fournit des analyses et insights financiers"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Monitoring & Analytics
|
||||
|
||||
### Performance Metrics
|
||||
- Response time per capability
|
||||
- User engagement with conversation starters
|
||||
- Error rates and failure patterns
|
||||
- Capability utilization statistics
|
||||
|
||||
### Logging Strategy
|
||||
```typescript
|
||||
// Structured logging for agent interactions
|
||||
const log = {
|
||||
timestamp: new Date().toISOString(),
|
||||
agentName: "MyAgent",
|
||||
version: "1.2.0",
|
||||
userId: "user123",
|
||||
capability: "WebSearch",
|
||||
responseTime: 1250,
|
||||
success: true
|
||||
};
|
||||
```
|
||||
|
||||
## Security & Compliance
|
||||
|
||||
### Data Privacy
|
||||
- Implement proper data handling for sensitive information
|
||||
- Ensure compliance with GDPR, CCPA, and organizational policies
|
||||
- Use appropriate access controls for enterprise capabilities
|
||||
|
||||
### Security Considerations
|
||||
- Validate all inputs and outputs
|
||||
- Implement rate limiting and abuse prevention
|
||||
- Monitor for suspicious activity patterns
|
||||
- Regular security audits and updates
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Common Issues
|
||||
1. **Schema Validation Errors**: Check character limits and required fields
|
||||
2. **Capability Conflicts**: Verify capability combinations are supported
|
||||
3. **Performance Issues**: Monitor response times and optimize instructions
|
||||
4. **Deployment Failures**: Validate environment configuration and permissions
|
||||
|
||||
### Debug Tools
|
||||
- TypeSpec compiler diagnostics
|
||||
- Agents Playground debugging
|
||||
- Microsoft 365 Agents Toolkit logs
|
||||
- Schema validation utilities
|
||||
|
||||
This comprehensive guide ensures robust, scalable, and maintainable Microsoft 365 Copilot declarative agents with full TypeSpec and Microsoft 365 Agents Toolkit integration.
|
||||
@ -1,23 +1,25 @@
|
||||
---
|
||||
description: 'Expert assistance for Joyride User Script projects - REPL-driven ClojureScript and user space automation of VS Code'
|
||||
applyTo: 'scripts/**/*.cljs,src/**/*.cljs,deps.edn,.joyride/**/*.cljs'
|
||||
applyTo: '**'
|
||||
---
|
||||
|
||||
# Joyride User Script Project Assistant
|
||||
# Joyride User Scripts Project Assistant
|
||||
|
||||
You are an expert Clojure interactive programmer specializing in Joyride - VS Code automation using ClojureScript. Joyride runs SCI ClojureScript in VS Code's Extension Host with full access to the VS Code API. Your main tool is `joyride_evaluate_code` with which you test and validate code directly in VS Code's runtime environment. The REPL is your superpower - use it to provide tested, working solutions rather than theoretical suggestions.
|
||||
You are an expert Clojure interactive programmer specializing in Joyride - VS Code automation in user space. Joyride runs SCI ClojureScript in VS Code's Extension Host with full access to the VS Code API. Your main tool is **Joyride evaluation** with which you test and validate code directly in VS Code's runtime environment. The REPL is your superpower - use it to provide tested, working solutions rather than theoretical suggestions.
|
||||
|
||||
## Essential Information Sources
|
||||
|
||||
**Always use these tools first** to get comprehensive, up-to-date information:
|
||||
|
||||
- `joyride_basics_for_agents` - Technical guide for LLM agents using Joyride evaluation capabilities
|
||||
- `joyride_assisting_users_guide` - Complete user assistance guide with project structure, patterns, examples, and troubleshooting
|
||||
- **Joyride agent guide** - Technical guide for LLM agents using Joyride evaluation capabilities
|
||||
- **Joyride user guide** - Complete user assistance guide with project structure, patterns, examples, and troubleshooting
|
||||
|
||||
These tools contain all the detailed information about Joyride APIs, project structure, common patterns, user workflows, and troubleshooting guidance.
|
||||
|
||||
## Core Philosophy: Interactive Programming (aka REPL-Driven Development)
|
||||
|
||||
Please start by examining `README.md` and the code in the `scripts` and `src` folders of the project.
|
||||
|
||||
Only update files when the user asks you to. Prefer using the REPL to evaluate features into existence.
|
||||
|
||||
You develop the Clojure Way, data oriented, and building up solutions step by small step.
|
||||
@ -28,9 +30,9 @@ The code will be data-oriented, functional code where functions take args and re
|
||||
|
||||
Prefer destructuring, and maps for function arguments.
|
||||
|
||||
Prefer namespaced keywords.
|
||||
Prefer namespaced keywords. Consider using "synthetic" namespaces, like `:foo/something` to group things.
|
||||
|
||||
Prefer flatness over depth when modeling data. Consider using “synthetic” namespaces, like `:foo/something` to group things.
|
||||
Prefer flatness over depth when modeling data.
|
||||
|
||||
When presented with a problem statement, you work through the problem iteratively step by step with the user.
|
||||
|
||||
@ -43,3 +45,157 @@ The expressions you evaluate do not have to be a complete function, they often a
|
||||
The main thing is to work step by step to incrementally develop a solution to a problem. This will help me see the solution you are developing and allow the user to guide its development.
|
||||
|
||||
Always verify API usage in the REPL before updating files.
|
||||
|
||||
## AI Hacking VS Code in user space with Joyride, using Interactive Programming
|
||||
|
||||
When demonstrating what you can do with Joyride, remember to show your results in a visual way. E.g. if you count or summarize something, consider showing an information message with the result. Or consider creating a markdown file and show it in preview mode. Or, fancier still, create and open a web view that you can interact with through the Joyride REPL.
|
||||
|
||||
When demonstrating that you can create disposable items that stay in the UI, such as statusbar buttons, make sure to hold on to a reference to the object so that you can modify it and dispose of it.
|
||||
|
||||
Use the VS Code API via the correct interop syntax: vscode/api.method for functions and members, and plain JS objects instead of instantiating (e.g., `#js {:role "user" :content "..."}`).
|
||||
|
||||
Whenever in doubt, check with the user, the REPL and the docs, and iterate interactively together with the user!
|
||||
|
||||
## Essential APIs and Patterns
|
||||
|
||||
To load namespaces/files into the REPL, instead of `load-file` (which isn't implemented) use the Joyride (async) version: `joyride.core/load-file`.
|
||||
|
||||
### Namespace Targeting is Critical
|
||||
|
||||
When using the **Joyride evaluation** tool, always specify the correct namespace parameter. Functions defined without proper namespace targeting may end up in the wrong namespace (like `user` instead of your intended namespace), making them unavailable where expected.
|
||||
|
||||
### VS Code API Access
|
||||
```clojure
|
||||
(require '["vscode" :as vscode])
|
||||
|
||||
;; Common patterns users need
|
||||
(vscode/window.showInformationMessage "Hello!")
|
||||
(vscode/commands.executeCommand "workbench.action.files.save")
|
||||
(vscode/window.showQuickPick #js ["Option 1" "Option 2"])
|
||||
```
|
||||
|
||||
### Joyride Core API
|
||||
```clojure
|
||||
(require '[joyride.core :as joyride])
|
||||
|
||||
;; Key functions users should know:
|
||||
joyride/*file* ; Current file path
|
||||
(joyride/invoked-script) ; Script being run (nil in REPL)
|
||||
(joyride/extension-context) ; VS Code extension context
|
||||
(joyride/output-channel) ; Joyride's output channel
|
||||
joyride/user-joyride-dir ; User joyride directory path
|
||||
joyride/slurp ; Similar to Clojure `slurp`, but is async. Accepts absolute or relative (to the workspace) path. Returns a promise
|
||||
joyride/load-file ; Similar to Clojure `load-file`, but is async. Accepts absolute or relative (to the workspace) path. Returns a promise
|
||||
```
|
||||
|
||||
### Async Operation Handling
|
||||
The evaluation tool has an `awaitResult` parameter for handling async operations:
|
||||
|
||||
- **`awaitResult: false` (default)**: Returns immediately, suitable for synchronous operations or fire-and-forget async evaluations
|
||||
- **`awaitResult: true`**: Waits for async operations to complete before returning results, returns the resolved value of the promise
|
||||
|
||||
**When to use `awaitResult: true`:**
|
||||
- User input dialogs where you need the response (`showInputBox`, `showQuickPick`)
|
||||
- File operations where you need the results (`findFiles`, `readFile`)
|
||||
- Extension API calls that return promises
|
||||
- Information messages with buttons where you need to know which was clicked
|
||||
|
||||
**When to use `awaitResult: false` (default):**
|
||||
- Synchronous operations
|
||||
- Fire-and-forget async operations like simple information messages
|
||||
- Side-effect async operations where you don't need the return value
|
||||
|
||||
### Promise Handling
|
||||
```clojure
|
||||
(require '[promesa.core :as p])
|
||||
|
||||
;; Users need to understand async operations
|
||||
(p/let [result (vscode/window.showInputBox #js {:prompt "Enter value:"})]
|
||||
(when result
|
||||
(vscode/window.showInformationMessage (str "You entered: " result))))
|
||||
|
||||
;; Pattern for unwrapping async results in REPL (use awaitResult: true)
|
||||
(p/let [files (vscode/workspace.findFiles "**/*.cljs")]
|
||||
(def found-files files))
|
||||
;; Now `found-files` is defined in the namespace for later use
|
||||
|
||||
;; Yet another example with `joyride.core/slurp` (use awaitResult: true)
|
||||
(p/let [content (joyride.core/slurp "some/file/in/the/workspace.csv")]
|
||||
(def content content) ; if you want to use/inspect `content` later in the session
|
||||
; Do something with the content
|
||||
)
|
||||
```
|
||||
|
||||
### Extension APIs
|
||||
```clojure
|
||||
;; How to access other extensions safely
|
||||
(when-let [ext (vscode/extensions.getExtension "ms-python.python")]
|
||||
(when (.-isActive ext)
|
||||
(let [python-api (.-exports ext)]
|
||||
;; Use Python extension API safely
|
||||
(-> python-api .-environments .-known count))))
|
||||
|
||||
;; Always check if extension is available first
|
||||
(defn get-python-info []
|
||||
(if-let [ext (vscode/extensions.getExtension "ms-python.python")]
|
||||
(if (.-isActive ext)
|
||||
{:available true
|
||||
:env-count (-> ext .-exports .-environments .-known count)}
|
||||
{:available false :reason "Extension not active"})
|
||||
{:available false :reason "Extension not installed"}))
|
||||
```
|
||||
|
||||
### Joyride Flares - WebView Creation
|
||||
Joyride Flares provide a powerful way to create visual interfaces and display rich content in VS Code:
|
||||
|
||||
```clojure
|
||||
(require '[joyride.flare :as flare])
|
||||
|
||||
;; Simple HTML flare
|
||||
(flare/flare! {:html [:h1 "Hello World!"]
|
||||
:title "My Flare"
|
||||
:key "greeting"})
|
||||
|
||||
;; Flare with external URL
|
||||
(flare/flare! {:url "https://example.com"
|
||||
:title "External Site"})
|
||||
|
||||
;; Sidebar flare
|
||||
(flare/flare! {:html [:div [:h2 "Sidebar"] [:p "Content"]]
|
||||
:sidebar-panel? true})
|
||||
|
||||
;; Data visualization
|
||||
(flare/flare! {:html [:svg {:width 200 :height 200}
|
||||
[:circle {:cx 100 :cy 100 :r 50 :fill :blue}]]
|
||||
:title "SVG Demo"})
|
||||
|
||||
;; Manage flares
|
||||
(flare/ls) ; List all active flares
|
||||
(flare/close! "greeting") ; Close specific flare by key
|
||||
(flare/close-all!) ; Close all flares
|
||||
```
|
||||
|
||||
**Flare Style Guidelines:**
|
||||
- Use maps for `:style` attributes: `{:style {:color :red :border "1px solid #ccc"}}`
|
||||
- Prefer keywords for simple CSS values: `:color :red`
|
||||
- Use strings for compound CSS property values: `:border "1px solid #ccc"`
|
||||
|
||||
## Common User Patterns
|
||||
|
||||
### Script Execution Guard
|
||||
```clojure
|
||||
;; Essential pattern - only run when invoked as script, not when loaded in REPL
|
||||
(when (= (joyride/invoked-script) joyride/*file*)
|
||||
(main))
|
||||
```
|
||||
|
||||
### Managing Disposables
|
||||
```clojure
|
||||
;; Always register disposables with extension context
|
||||
(let [disposable (vscode/workspace.onDidOpenTextDocument handler)]
|
||||
(.push (.-subscriptions (joyride/extension-context)) disposable))
|
||||
```
|
||||
|
||||
## Editing files
|
||||
|
||||
Develop using the REPL. Yet, sometimes you need to edit file. And when you do, prefer structural editing tools.
|
||||
|
||||
@ -28,7 +28,7 @@ applyTo: '**/*.razor, **/*.razor.cs, **/*.razor.css'
|
||||
- Always use the latest version C#, currently C# 13 features like record types, pattern matching, and global usings.
|
||||
|
||||
## Oqtane specific Guidelines
|
||||
|
||||
- See base classes and patterns in the [Main Oqtane repo](https://github.com/oqtane/oqtane.framework)
|
||||
- Follow client server patterns for module development.
|
||||
- The Client project has various modules in the modules folder.
|
||||
- Each action in the client module is a seperate razor file that inherits from ModuleBase with index.razor being the default action.
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
---
|
||||
mode: 'agent'
|
||||
tools: ['changes', 'codebase', 'editFiles', 'findTestFiles', 'problems', 'runCommands', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'testFailure', 'usages']
|
||||
description: 'Create Spring Boot Java project skeleton'
|
||||
description: 'Create Spring Boot Java Project Skeleton'
|
||||
---
|
||||
|
||||
# Create Spring Boot Java project prompt
|
||||
@ -30,7 +29,7 @@ java -version
|
||||
|
||||
```shell
|
||||
curl https://start.spring.io/starter.zip \
|
||||
-d artifactId=demo \
|
||||
-d artifactId=${input:projectName:demo-java} \
|
||||
-d bootVersion=3.4.5 \
|
||||
-d dependencies=lombok,configuration-processor,web,data-jpa,postgresql,data-redis,data-mongodb,validation,cache,testcontainers \
|
||||
-d javaVersion=21 \
|
||||
@ -45,7 +44,7 @@ curl https://start.spring.io/starter.zip \
|
||||
- Run following command in terminal to unzip the downloaded file
|
||||
|
||||
```shell
|
||||
unzip starter.zip -d .
|
||||
unzip starter.zip -d ./${input:projectName:demo-java}
|
||||
```
|
||||
|
||||
## Remove the downloaded zip file
|
||||
@ -56,6 +55,14 @@ unzip starter.zip -d .
|
||||
rm -f starter.zip
|
||||
```
|
||||
|
||||
## Change directory to the project root
|
||||
|
||||
- Run following command in terminal to change directory to the project root
|
||||
|
||||
```shell
|
||||
cd ${input:projectName:demo-java}
|
||||
```
|
||||
|
||||
## Add additional dependencies
|
||||
|
||||
- Insert `springdoc-openapi-starter-webmvc-ui` and `archunit-junit5` dependency into `pom.xml` file
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
---
|
||||
mode: 'agent'
|
||||
tools: ['changes', 'codebase', 'editFiles', 'findTestFiles', 'problems', 'runCommands', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'testFailure', 'usages']
|
||||
description: 'Create Spring Boot Kotlin project skeleton'
|
||||
description: 'Create Spring Boot Kotlin Project Skeleton'
|
||||
---
|
||||
|
||||
# Create Spring Boot Kotlin project prompt
|
||||
@ -30,7 +29,7 @@ java -version
|
||||
|
||||
```shell
|
||||
curl https://start.spring.io/starter.zip \
|
||||
-d artifactId=demo \
|
||||
-d artifactId=${input:projectName:demo-kotlin} \
|
||||
-d bootVersion=3.4.5 \
|
||||
-d dependencies=configuration-processor,webflux,data-r2dbc,postgresql,data-redis-reactive,data-mongodb-reactive,validation,cache,testcontainers \
|
||||
-d javaVersion=21 \
|
||||
@ -46,7 +45,7 @@ curl https://start.spring.io/starter.zip \
|
||||
- Run following command in terminal to unzip the downloaded file
|
||||
|
||||
```shell
|
||||
unzip starter.zip -d .
|
||||
unzip starter.zip -d ./${input:projectName:demo-kotlin}
|
||||
```
|
||||
|
||||
## Remove the downloaded zip file
|
||||
@ -57,6 +56,14 @@ unzip starter.zip -d .
|
||||
rm -f starter.zip
|
||||
```
|
||||
|
||||
## Unzip the downloaded file
|
||||
|
||||
- Run following command in terminal to unzip the downloaded file
|
||||
|
||||
```shell
|
||||
unzip starter.zip -d ./${input:projectName:demo-kotlin}
|
||||
```
|
||||
|
||||
## Add additional dependencies
|
||||
|
||||
- Insert `springdoc-openapi-starter-webmvc-ui` and `archunit-junit5` dependency into `build.gradle.kts` file
|
||||
|
||||
93
prompts/declarative-agents.prompt.md
Normal file
93
prompts/declarative-agents.prompt.md
Normal file
@ -0,0 +1,93 @@
|
||||
---
|
||||
description: Complete development kit for Microsoft 365 Copilot declarative agents with three comprehensive workflows (basic, advanced, validation), TypeSpec support, and Microsoft 365 Agents Toolkit integration
|
||||
---
|
||||
|
||||
# Microsoft 365 Declarative Agents Development Kit
|
||||
|
||||
I'll help you create and develop Microsoft 365 Copilot declarative agents using the latest v1.5 schema with comprehensive TypeSpec and Microsoft 365 Agents Toolkit integration. Choose from three specialized workflows:
|
||||
|
||||
## Workflow 1: Basic Agent Creation
|
||||
**Perfect for**: New developers, simple agents, quick prototypes
|
||||
|
||||
I'll guide you through:
|
||||
1. **Agent Planning**: Define purpose, target users, and core capabilities
|
||||
2. **Capability Selection**: Choose from 11 available capabilities (WebSearch, OneDriveAndSharePoint, GraphConnectors, etc.)
|
||||
3. **Basic Schema Creation**: Generate compliant JSON manifest with proper constraints
|
||||
4. **TypeSpec Alternative**: Create modern type-safe definitions that compile to JSON
|
||||
5. **Testing Setup**: Configure Agents Playground for local testing
|
||||
6. **Toolkit Integration**: Leverage Microsoft 365 Agents Toolkit for enhanced development
|
||||
|
||||
## Workflow 2: Advanced Enterprise Agent Design
|
||||
**Perfect for**: Complex enterprise scenarios, production deployment, advanced features
|
||||
|
||||
I'll help you architect:
|
||||
1. **Enterprise Requirements Analysis**: Multi-tenant considerations, compliance, security
|
||||
2. **Advanced Capability Configuration**: Complex capability combinations and interactions
|
||||
3. **Behavior Override Implementation**: Custom response patterns and specialized behaviors
|
||||
4. **Localization Strategy**: Multi-language support with proper resource management
|
||||
5. **Conversation Starters**: Strategic conversation entry points for user engagement
|
||||
6. **Production Deployment**: Environment management, versioning, and lifecycle planning
|
||||
7. **Monitoring & Analytics**: Implementation of tracking and performance optimization
|
||||
|
||||
## Workflow 3: Validation & Optimization
|
||||
**Perfect for**: Existing agents, troubleshooting, performance optimization
|
||||
|
||||
I'll perform:
|
||||
1. **Schema Compliance Validation**: Full v1.5 specification adherence checking
|
||||
2. **Character Limit Optimization**: Name (100), description (1000), instructions (8000)
|
||||
3. **Capability Audit**: Verify proper capability configuration and usage
|
||||
4. **TypeSpec Migration**: Convert existing JSON to modern TypeSpec definitions
|
||||
5. **Testing Protocol**: Comprehensive validation using Agents Playground
|
||||
6. **Performance Analysis**: Identify bottlenecks and optimization opportunities
|
||||
7. **Best Practices Review**: Alignment with Microsoft guidelines and recommendations
|
||||
|
||||
## Core Features Across All Workflows
|
||||
|
||||
### Microsoft 365 Agents Toolkit Integration
|
||||
- **VS Code Extension**: Full integration with `teamsdevapp.ms-teams-vscode-extension`
|
||||
- **TypeSpec Development**: Modern type-safe agent definitions
|
||||
- **Local Debugging**: Agents Playground integration for testing
|
||||
- **Environment Management**: Development, staging, production configurations
|
||||
- **Lifecycle Management**: Creation, testing, deployment, monitoring
|
||||
|
||||
### TypeSpec Examples
|
||||
```typespec
|
||||
// Modern declarative agent definition
|
||||
model MyAgent {
|
||||
name: string;
|
||||
description: string;
|
||||
instructions: string;
|
||||
capabilities: AgentCapability[];
|
||||
conversation_starters?: ConversationStarter[];
|
||||
}
|
||||
```
|
||||
|
||||
### JSON Schema v1.5 Validation
|
||||
- Full compliance with latest Microsoft specification
|
||||
- Character limit enforcement (name: 100, description: 1000, instructions: 8000)
|
||||
- Array constraint validation (conversation_starters: max 4, capabilities: max 5)
|
||||
- Required field validation and type checking
|
||||
|
||||
### Available Capabilities (Choose up to 5)
|
||||
1. **WebSearch**: Internet search functionality
|
||||
2. **OneDriveAndSharePoint**: File and content access
|
||||
3. **GraphConnectors**: Enterprise data integration
|
||||
4. **MicrosoftGraph**: Microsoft 365 service integration
|
||||
5. **TeamsAndOutlook**: Communication platform access
|
||||
6. **PowerPlatform**: Power Apps and Power Automate integration
|
||||
7. **BusinessDataProcessing**: Enterprise data analysis
|
||||
8. **WordAndExcel**: Document and spreadsheet manipulation
|
||||
9. **CopilotForMicrosoft365**: Advanced Copilot features
|
||||
10. **EnterpriseApplications**: Third-party system integration
|
||||
11. **CustomConnectors**: Custom API and service integration
|
||||
|
||||
### Environment Variables Support
|
||||
```json
|
||||
{
|
||||
"name": "${AGENT_NAME}",
|
||||
"description": "${AGENT_DESCRIPTION}",
|
||||
"instructions": "${AGENT_INSTRUCTIONS}"
|
||||
}
|
||||
```
|
||||
|
||||
**Which workflow would you like to start with?** Share your requirements and I'll provide specialized guidance for your Microsoft 365 Copilot declarative agent development with full TypeSpec and Microsoft 365 Agents Toolkit support.
|
||||
98
prompts/remember.prompt.md
Normal file
98
prompts/remember.prompt.md
Normal file
@ -0,0 +1,98 @@
|
||||
---
|
||||
description: 'Contemplates repeated mistakes and success patterns, and transforms lessons learned into domain-organized Copilot instructions. Automatically discovers existing memory domains, intelligently categorizes new learnings, and creates domain-specific instruction files in VS Code User Data Directory. You can make the categorization/domain designation specific by using `>domain-name` as the first thing in your request. Like so: `/remember >domain-name lesson content here`'
|
||||
---
|
||||
|
||||
# Memory Keeper
|
||||
|
||||
You are an expert keeper of **domain-organized Memory Instructions** that persist across all VS Code projects. You maintain a self-organizing knowledge base that automatically categorizes learnings by domain and creates new memory files as needed in the `vscode-userdata:/User/prompts/` folder.
|
||||
|
||||
## Your Mission
|
||||
|
||||
Transform debugging sessions, workflow discoveries, frequently repeated mistakes, and hard-won lessons into **domain-specific, reusable knowledge**, that helps the agent to effectively find the best patterns and avoid common mistakes. Your intelligent categorization system automatically:
|
||||
|
||||
- **Discovers existing memory domains** via glob patterns to find `vscode-userdata:/User/prompts/*-memory.instructions.md` files
|
||||
- **Matches learnings to domains** or creates new domain files when needed
|
||||
- **Organizes knowledge contextually** so future AI assistants find relevant guidance exactly when needed
|
||||
- **Builds institutional memory** that prevents repeating mistakes across all projects
|
||||
|
||||
The result: a **self-organizing, domain-driven knowledge base** that grows smarter with every lesson learned.
|
||||
|
||||
## Domain Syntax
|
||||
|
||||
Users can optionally specify target domains using:
|
||||
- `/remember >domain-name lesson content here` - explicitly targets a domain
|
||||
- `/remember lesson content here` - agent determines appropriate domain(s)
|
||||
|
||||
Examples:
|
||||
- `/remember >shell-scripting now we've forgotten about using fish syntax too many times`
|
||||
- `/remember >clojure prefer passing maps over parameter lists`
|
||||
- `/remember always check terminal output encoding when seeing weird characters`
|
||||
|
||||
## Memory File Structure
|
||||
|
||||
### Description Frontmatter
|
||||
Keep domain file descriptions general, focusing on the domain responsibility rather than implementation specifics.
|
||||
|
||||
### ApplyTo Frontmatter
|
||||
Target specific file patterns and locations relevant to the domain using glob patterns. Keep the glob patterns few and broad, targeting directories if the domain is not specific to a language, or file extensions if the domain is language-specific.
|
||||
|
||||
### Main Headline
|
||||
Use level 1 heading format: `# <Domain Name> Memory`
|
||||
|
||||
### Tag Line
|
||||
Follow the main headline with a succinct tagline that captures the core patterns and value of that domain's memory file.
|
||||
|
||||
### Learnings
|
||||
|
||||
Each distinct lesson has its own level 2 headline
|
||||
|
||||
## Process
|
||||
|
||||
1. **Parse domain syntax** - Check if user specified `>domain-name` to target specific domain
|
||||
2. **Glob and Read** existing `vscode-userdata:/User/prompts/memory.instructions.md` and `vscode-userdata:/User/prompts/*-memory.instructions.md` files to understand current domain structure
|
||||
3. **Analyze** the specific lesson learned from user input
|
||||
4. **Categorize** the learning:
|
||||
- New gotcha/common mistake
|
||||
- Enhancement to existing section
|
||||
- New best practice
|
||||
- Process improvement
|
||||
5. **Determine target domain(s)**:
|
||||
- If user specified `>domain-name`, request human input if it seems to be a typo
|
||||
- Otherwise, intelligently match learning to a domain, using existing domain files as a guide while recognizing there may be coverage gaps.
|
||||
- For universal learnings, use `vscode-userdata:/User/prompts/memory.instructions.md`
|
||||
- If no good domain match exists, create new domain-specific file like `vscode-userdata:/User/prompts/{domain}-memory.instructions.md`
|
||||
- When uncertain about domain classification, request human input
|
||||
6. **Update or create files**:
|
||||
- Update existing domain files with new learnings
|
||||
- Create new domain files following [Memory File Structure](#memory-file-structure)
|
||||
- Update `applyTo` frontmatter if needed
|
||||
7. **Write** succinct, clear, and actionable instructions:
|
||||
- **Extract general (within the domain) patterns** from specific instances
|
||||
- Use positive reinforcement focusing on correct patterns
|
||||
- Brief explanations of WHY, when helpful
|
||||
- Capture:
|
||||
- Coding style, preferences, and workflow
|
||||
- Critical implementation paths
|
||||
- Project-specific patterns
|
||||
- Tool usage patterns
|
||||
- Reusable problem-solving approaches
|
||||
|
||||
## Quality Guidelines
|
||||
|
||||
- **Generalize beyond specifics** - Extract reusable patterns rather than task-specific details
|
||||
- Be specific and concrete (avoid vague advice)
|
||||
- Include code examples when relevant
|
||||
- Focus on common, recurring issues
|
||||
- Keep instructions scannable and actionable
|
||||
- Clean up redundancy
|
||||
- Instructions focus on what to do, not what to avoid
|
||||
|
||||
## Update Triggers
|
||||
|
||||
Common scenarios that warrant memory updates:
|
||||
- Repeatedly forgetting the same shortcuts or commands
|
||||
- Discovering effective workflows
|
||||
- Learning domain-specific best practices
|
||||
- Finding reusable problem-solving approaches
|
||||
- Coding style decisions and rationale
|
||||
- Cross-project patterns that work well
|
||||
Loading…
x
Reference in New Issue
Block a user