| name | create-simple-prompt |
| description | This skill should be used when the user asks to "create a new prompt sample", "add a new prompt sample", "scaffold a new prompt sample", "create a prompt contribution", "add a prompt", or needs to create a new prompt sample with proper folder structure, README, and sample.json metadata. Do NOT use this skill for agent instructions or system prompts. |
Create a New Prompt Sample
This skill guides creating new prompt samples for the pnp/copilot-prompts repository with the correct folder structure, README, assets folder, and sample.json metadata file.
Before Starting
Critical: Always ask the user for the following information before scaffolding:
- Prompt title ā a friendly, descriptive title (e.g., "Create Annual Sales Report template in PowerPoint")
- Prompt text ā the actual prompt the user wants to share
- Description ā a short description of what the prompt does and why it's useful
- Target product ā which Copilot product this prompt is for. Common values:
Microsoft 365 Copilot (for M365 prompts used in Teams, Word, Excel, PowerPoint, Outlook, etc.)
Microsoft Copilot (for general Microsoft Copilot prompts)
GitHub Copilot (for GitHub Copilot prompts)
- App host prefix ā determines the folder name prefix. Common prefixes based on where the prompt is used:
m365 ā Microsoft 365 Copilot (Teams, Outlook, general M365)
ppt ā PowerPoint
word ā Word
github ā GitHub Copilot
whiteboard ā Whiteboard
wellness ā Wellness / lifestyle
- Other descriptive prefix matching the app or domain
- Author name ā the contributor's full name
- Author GitHub username ā the contributor's GitHub handle
- Prerequisites ā what the user needs to run the prompt (defaults to the product selected above)
If the user doesn't provide all details upfront, ask for the missing ones before proceeding.
Sample Directory Structure
Create the sample in samples/prompts/{folder-name}/:
samples/prompts/{folder-name}/
āāā assets/
ā āāā sample.json # Metadata for the M365 Solution Gallery
āāā README.md # Documentation
Folder naming rules:
- Format:
{prefix}-{short-description}-prompt (e.g., m365-email-sorting, ppt-sales-report-prompt, github-copilot-fix-code)
- Use lowercase and hyphens only
- Do NOT use periods/dots in the folder name
- Keep it concise but descriptive
- The prefix should reflect the target app or platform
Step 1: Create README.md
Create samples/prompts/{folder-name}/README.md using this structure:
# {Prompt Title}

## Summary
{Short summary of what this prompt does and why it's useful.}
## Prompt š”
{The actual prompt text goes here. If it contains code blocks, wrap them appropriately.}
## Description ā¹ļø
{A more detailed description of how the prompt works, what it produces, and any tips for getting the best results.}
## Contributors šØāš»
[{Author Name}](https://github.com/{github-username})
## Version history
Version|Date|Comments
-------|----|--------
1.0|{Month DD, YYYY}|Initial release
## Instructions š
1. {Step-by-step instructions on how to use the prompt}
2. {Where to open Copilot}
3. {How to enter the prompt}
4. {What to expect}
### Improvise Usage š
{Suggestions for how the user can modify or extend the prompt for their own needs.}
## Prerequisites
* [{Product Name}]({product-url})
## Help
We do not support samples, but this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.
You can try looking at [issues related to this sample](https://github.com/pnp/copilot-prompts/issues?q=label%3A%22sample%3A%20{folder-name}%22) to see if anybody else is having the same issues.
If you encounter any issues using this sample, [create a new issue](https://github.com/pnp/copilot-prompts/issues/new).
Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/copilot-prompts/issues/new).
## Disclaimer
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**

README rules:
- NEVER rephrase, rewrite, or modify the user's prompt text. Copy the prompt exactly as provided by the user ā word for word, character for character. The user's original wording is the contribution; do not "improve", shorten, expand, or restructure it.
- The file MUST be named
README.md (capital letters)
- Always include a screenshot reference at the top (use
./assets/demo.png as placeholder)
- The tracking image at the bottom MUST follow the pattern:
https://m365-visitor-stats.azurewebsites.net/SamplesGallery/copilotprompts-{folder-name}
- Include the Help and Disclaimer sections exactly as shown
- Use the current date for the version history in
{Month DD, YYYY} format
- Always fill in the
issues?q=label URL with the actual folder name
Product-specific prerequisites and instructions:
For Microsoft 365 Copilot prompts:
- Prerequisite:
[Copilot for Microsoft 365](https://developer.microsoft.com/microsoft-365/dev-program)
- Instructions should mention opening Copilot in the relevant M365 app (Teams, Outlook, Word, etc.)
For GitHub Copilot prompts:
- Prerequisite:
[GitHub Copilot](https://copilot.github.com/)
- Instructions should mention installing the GitHub Copilot extension and launching GitHub Copilot Chat
For Microsoft Copilot prompts:
- Prerequisite:
[Microsoft Copilot](https://copilot.microsoft.com/)
- Instructions should mention navigating to copilot.microsoft.com or the Copilot app
Step 2: Create Metadata (assets/sample.json)
Create samples/prompts/{folder-name}/assets/sample.json:
[
{
"name": "copilotprompts-{folder-name}",
"source": "pnp",
"title": "{Prompt Title}",
"shortDescription": "{Short description of what the prompt does}",
"url": "https://github.com/pnp/copilot-prompts/tree/main/samples/prompts/{folder-name}",
"downloadUrl": "https://pnp.github.io/download-partial/?url=https://github.com/pnp/copilot-prompts/tree/main/samples/prompts/{folder-name}",
"longDescription": [
"{A longer description of what the prompt does and why it's useful. Can be the same as shortDescription if appropriate.}"
],
"creationDateTime": "{YYYY-MM-DD}",
"updateDateTime": "{YYYY-MM-DD}",
"products": [
"{Product Name}"
],
"metadata": [],
"thumbnails": [
{
"type": "image",
"order": 100,
"url": "https://github.com/pnp/copilot-prompts/raw/main/samples/prompts/{folder-name}/assets/demo.png",
"alt": "{Description of the screenshot}"
}
],
"authors": [
{
"gitHubAccount": "{github-username}",
"pictureUrl": "https://github.com/{github-username}.png",
"name": "{Author Name}"
}
],
"references": [
{
"name": "{Product Name}",
"description": "{Product Name}",
"url": "{product-url}"
}
]
}
]
Key metadata rules:
name: Always copilotprompts-{folder-name} (matches the tracking image ID)
shortDescription and longDescription[0]: Should describe the same thing; longDescription can be more detailed
creationDateTime and updateDateTime: Use YYYY-MM-DD format with the current date
products: Must be one of: "Microsoft 365 Copilot", "Microsoft Copilot", "GitHub Copilot"
source: Always "pnp"
url: Points to the sample folder on GitHub main branch
downloadUrl: Uses the pnp partial download service URL
pictureUrl for authors: Use https://github.com/{username}.png as a shortcut
thumbnails.url: Points to the screenshot in the assets folder on the main branch
Product-specific references:
For Microsoft 365 Copilot:
{
"name": "Microsoft 365 Copilot",
"description": "Microsoft 365 Copilot",
"url": "https://copilot.microsoft.com/"
}
For GitHub Copilot:
{
"name": "GitHub Copilot",
"description": "GitHub Copilot",
"url": "https://copilot.github.com/"
}
For Microsoft Copilot:
{
"name": "Microsoft Copilot",
"description": "Microsoft Copilot",
"url": "https://copilot.microsoft.com/"
}
Step 3: Remind About Screenshots
After creating the files, remind the user to:
- Add a screenshot of the prompt in action as
assets/demo.png (or .gif)
- Use a resolution of 1920x1080 if possible
- The screenshot should show the prompt being used and the result
- At minimum, provide one static
.png file
Validation Checklist
Before finalizing, verify:
Key Rules
- NEVER rephrase, rewrite, or modify the user's prompt text. Always copy it verbatim into the README. The user's exact wording is the contribution.
- This skill is for simple prompt samples ONLY ā not for agent instructions or system prompts
- Samples go in
samples/prompts/{folder-name}/, never in samples/agent-instructions/ or samples/skills/
- Every sample needs exactly:
README.md + assets/sample.json
- Screenshots go in the
assets/ folder
- The
sample.json feeds the M365 Solution Gallery ā accuracy matters
- Follow existing naming patterns in the repo for consistency