$git clone https://github.com/pnp/copilot-promptsThis 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!
| 1 | # Copilot Prompts |
| 2 | |
| 3 | 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! |
| 4 | |
| 5 | <!-- SAMPLE-COUNTS:START --> |
| 6 | | 🗂️ Prompt Samples | 🤖 Agent Instructions | 🛠️ Skills | |
| 7 | |:---:|:---:|:---:| |
| 8 | | **111** | **29** | **7** | |
| 9 | <!-- SAMPLE-COUNTS:END --> |
| 10 | |
| 11 | > **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 maintainers/authors are not liable for any inaccuracies or issues that arise from their use. |
| 12 | > **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](https://github.com/pnp/copilot-prompts/issues/new) or contact us directly. |
| 13 | |
| 14 | ## Have ideas, issues, or questions? |
| 15 | |
| 16 | Please [create an issue](https://github.com/pnp/copilot-prompts/issues/new) — we'd love to hear from you. |
| 17 | |
| 18 | ## Authors |
| 19 | |
| 20 | This repository's contributors are community members who volunteered their time to share prompt samples. |
| 21 | |
| 22 | ## How to use this repo |
| 23 | |
| 24 | Go to the [samples](https://github.com/pnp/copilot-prompts/tree/main/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 `readme.md`. Be sure to check the prerequisites before you get started. |
| 25 | |
| 26 |  |
| 27 | |
| 28 | ## Contributions |
| 29 | |
| 30 | Samples are submitted by Microsoft's product groups and the [Microsoft 365 and Power Platform community](http://aka.ms/m365pnp). We welcome community contributions — please review our [Contribution Guidance](./CONTRIBUTING.md) before submitting a pull request. |
| 31 | |
| 32 | This repository has three types of samples: |
| 33 | |
| 34 | | Type | Location | What it is | |
| 35 | |------|----------|------------| |
| 36 | | **Prompt samples** | `samples/prompts/{folder-name}/` | A prompt you use directly in Microsoft 365 Copilot, GitHub Copilot, or Microsoft Copilot | |
| 37 | | **Agent instruction samples** | `samples/agent-instructions/{agent-name}/` | A system prompt / agent instructions you paste into Copilot Studio to create an agent | |
| 38 | | **Skill samples** | `samples/skills/{skill-name}/` | A reusable `SKILL.md` instruction file that teaches GitHub Copilot a multi-step task | |
| 39 | |
| 40 | Prompt and agent instruction samples share the same structure: a `readme.md` file and an `assets/` folder containing a `sample.json` metadata file. Skill samples add a `SKILL.md` file — the core skill definition that GitHub Copilot reads at runtime. See the [Skill Schema Spec](./SKILL-SCHEMA.md) for the full schema. |
| 41 | |
| 42 | You can contribute in two ways — **using GitHub Copilot** to scaffold everything automatically, or **traditionally** by creating files manually. |
| 43 | |
| 44 | --- |
| 45 | |
| 46 | ### Option 1: Contribute using GitHub Copilot (recommended) |
| 47 | |
| 48 | With GitHub Copilot in VS Code, built-in skills can scaffold your sample with the correct folder structure, README, and `sample.json`. |
| 49 | |
| 50 | #### For prompt samples |
| 51 | |
| 52 | Open GitHub Copilot Chat and say: |
| 53 | |
| 54 | - *"Create a new prompt sample"* |
| 55 | - *"Scaffold a new prompt sample"* |
| 56 | |
| 57 | #### For agent instruction / system prompt samples |
| 58 | |
| 59 | Open GitHub Copilot Chat and say: |
| 60 | |
| 61 | - *"Create an agent instruction"* |
| 62 | - *"Create a system prompt sample"* |
| 63 | - *"Build an agent"* |
| 64 | |
| 65 | #### For skill samples |
| 66 | |
| 67 | Open GitHub Copilot Chat and say: |
| 68 | |
| 69 | - *"Create a new skill sample"* |
| 70 | - *"Scaffold a new skill"* |
| 71 | - *"Contribute a skill"* |
| 72 | |
| 73 | GitHub Copilot will ask for the required details and generate the folder with all files. |
| 74 | |
| 75 | > **Note:** After scaffolding, add a screenshot to the `assets/` folder and update the |