back to home

pnp / copilot-prompts

Examples of prompts for Microsoft Copilot

View on GitHub
540 stars
212 forks
49 issues

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing pnp/copilot-prompts in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/pnp/copilot-prompts)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Copilot Prompts This repository contains sample prompts and agent instructions for Microsoft Copilot, GitHub Copilot, and Microsoft 365 Copilot. We welcome community contributions — if you have a great prompt or agent idea, please share your work and help others! > **Disclaimer:** The sample prompts provided in this repository are for demonstration purposes. They may not always be accurate or suitable for your specific use case. Please use them at your own discretion and review and modify them as necessary. By using the prompts in this repository, you acknowledge these limitations and agree to use the content responsibly. The authors are not liable for any inaccuracies or issues that arise from their use. > **Use of GitHub Avatars:** By contributing to this project, you grant us permission to use your GitHub avatar in our "Prompt of the Week Kudos" posts on LinkedIn. If you prefer a different photo or wish to opt out, please open an issue or contact us directly. Have ideas, issues, or questions? Please create an issue — we'd love to hear from you. Authors This repository's contributors are community members who volunteered their time to share prompt samples. How to use this repo Go to the samples folder, select a prompts or agent-instructions or skills to see subfolders in them which are the samples of each type. Follow the instructions in its . Be sure to check the prerequisites before you get started. Contributions Samples are submitted by Microsoft's product groups and the Microsoft 365 and Power Platform community. We welcome community contributions — please review our Contribution Guidance before submitting a pull request. This repository has three types of samples: | Type | Location | What it is | |------|----------|------------| | **Prompt samples** | | A prompt you use directly in Microsoft 365 Copilot, GitHub Copilot, or Microsoft Copilot | | **Agent instruction samples** | | A system prompt / agent instructions you paste into Copilot Studio to create an agent | | **Skill samples** | | A reusable instruction file that teaches GitHub Copilot a multi-step task | Prompt and agent instruction samples share the same structure: a file and an folder containing a metadata file. Skill samples add a file — the core skill definition that GitHub Copilot reads at runtime. See the Skill Schema Spec for the full schema. You can contribute in two ways — **using GitHub Copilot** to scaffold everything automatically, or **traditionally** by creating files manually. --- Option 1: Contribute using GitHub Copilot (recommended) With GitHub Copilot in VS Code, built-in skills can scaffold your sample with the correct folder structure, README, and . For prompt samples Open GitHub Copilot Chat and say: • *"Create a new prompt sample"* • *"Scaffold a new prompt sample"* For agent instruction / system prompt samples Open GitHub Copilot Chat and say: • *"Create an agent instruction"* • *"Create a system prompt sample"* • *"Build an agent"* For skill samples Open GitHub Copilot Chat and say: • *"Create a new skill sample"* • *"Scaffold a new skill"* • *"Contribute a skill"* GitHub Copilot will ask for the required details and generate the folder with all files. > **Note:** After scaffolding, add a screenshot to the folder and update the thumbnails. --- Option 2: Contribute traditionally • **Fork** the repository at https://aka.ms/copilot-prompt-library. • **Clone** your fork and create a new branch. • **Add a new folder:** • **Prompt samples:** (e.g., ) • **Agent instructions:** (e.g., ) • **Skills:** (e.g., ) • **Add a ** — copy one from an existing sample of the same type and update it. For agent instruction samples, place your full system prompt in the **Instruction** section inside a fenced code block. For skill samples, also create a file following the Skill Schema Spec. • **Add an folder** with screenshots and a file (copy from any existing sample and update the metadata). > The feeds the M365 Solution Gallery for discoverability — make sure it's accurate. Resources • Microsoft Copilot for Microsoft 365 • Copilot Lab • GitHub Copilot Custom Skills • Skill Schema Specification Code of Conduct This repository has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments. > Sharing is caring!