Create Simple Prompt Sample

Create Simple Prompt Sample

Guides GitHub Copilot to scaffold a new prompt sample with folder structure, README, assets folder and metadata after asking the contributor for the prompt details.

Skill files1 file
SKILL.md261 lines
1
---
2
name: create-simple-prompt
3
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.
4
---
5
6
# Create a New Prompt Sample
7
8
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.
9
10
## Before Starting
11
12
**Critical**: Always ask the user for the following information before scaffolding:
13
14
1. **Prompt title** — a friendly, descriptive title (e.g., "Create Annual Sales Report template in PowerPoint")
15
2. **Prompt text** — the actual prompt the user wants to share
16
3. **Description** — a short description of what the prompt does and why it's useful
17
4. **Target product** — which Copilot product this prompt is for. Common values:
18
- `Microsoft 365 Copilot` (for M365 prompts used in Teams, Word, Excel, PowerPoint, Outlook, etc.)
19
- `Microsoft Copilot` (for general Microsoft Copilot prompts)
20
- `GitHub Copilot` (for GitHub Copilot prompts)
21
5. **App host prefix** — determines the folder name prefix. Common prefixes based on where the prompt is used:
22
- `m365` — Microsoft 365 Copilot (Teams, Outlook, general M365)
23
- `ppt` — PowerPoint
24
- `word` — Word
25
- `github` — GitHub Copilot
26
- `whiteboard` — Whiteboard
27
- `wellness` — Wellness / lifestyle
28
- Other descriptive prefix matching the app or domain
29
6. **Author name** — the contributor's full name
30
7. **Author GitHub username** — the contributor's GitHub handle
31
8. **Prerequisites** — what the user needs to run the prompt (defaults to the product selected above)
32
33
If the user doesn't provide all details upfront, ask for the missing ones before proceeding.
34
35
## Sample Directory Structure
36
37
Create the sample in `samples/prompts/{folder-name}/`:
38
39
```
40
samples/prompts/{folder-name}/
41
├── assets/
42
│ └── sample.json # Metadata for the M365 Solution Gallery
43
├── README.md # Documentation
44
```
45
46
**Folder naming rules:**
47
- Format: `{prefix}-{short-description}-prompt` (e.g., `m365-email-sorting`, `ppt-sales-report-prompt`, `github-copilot-fix-code`)
48
- Use lowercase and hyphens only
49
- Do NOT use periods/dots in the folder name
50
- Keep it concise but descriptive
51
- The prefix should reflect the target app or platform
52
53
## Step 1: Create README.md
54
55
Create `samples/prompts/{folder-name}/README.md` using this structure:
56
57
```markdown
58
# {Prompt Title}
59
60
![Screenshot of the prompt in use](./assets/demo.png)
61
62
## Summary
63
64
{Short summary of what this prompt does and why it's useful.}
65
66
## Prompt 💡
67
68
{The actual prompt text goes here. If it contains code blocks, wrap them appropriately.}
69
70
## Description ℹ️
71
72
{A more detailed description of how the prompt works, what it produces, and any tips for getting the best results.}
73
74
## Contributors 👨‍💻
75
76
[{Author Name}](https://github.com/{github-username})
77
78
## Version history
79
80
Version|Date|Comments
81
-------|----|--------
82
1.0|{Month DD, YYYY}|Initial release
83
84
## Instructions 📝
85
86
1. {Step-by-step instructions on how to use the prompt}
87
2. {Where to open Copilot}
88
3. {How to enter the prompt}
89
4. {What to expect}
90
91
### Improvise Usage 🚀
92
93
{Suggestions for how the user can modify or extend the prompt for their own needs.}
94
95
## Prerequisites
96
97
* [{Product Name}]({product-url})
98
99
## Help
100
101
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.
102
103
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.
104
105
If you encounter any issues using this sample, [create a new issue](https://github.com/pnp/copilot-prompts/issues/new).
106
107
Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/copilot-prompts/issues/new).
108
109
## Disclaimer
110
111
**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.**
112
113
![](https://m365-visitor-stats.azurewebsites.net/copilot-prompts/copilotprompts-prompt-{folder-name})
114
```
115
116
**README rules:**
117
- **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.
118
- The file MUST be named `README.md` (capital letters)
119
- Always include a screenshot reference at the top (use `./assets/demo.png` as placeholder)
120
- The tracking image at the bottom MUST follow the pattern: `https://m365-visitor-stats.azurewebsites.net/copilot-prompts/copilotprompts-prompt-{folder-name}`
121
- Include the Help and Disclaimer sections exactly as shown
122
- Use the current date for the version history in `{Month DD, YYYY}` format
123
- Always fill in the `issues?q=label` URL with the actual folder name
124
125
**Product-specific prerequisites and instructions:**
126
127
For **Microsoft 365 Copilot** prompts:
128
- Prerequisite: `[Copilot for Microsoft 365](https://developer.microsoft.com/microsoft-365/dev-program)`
129
- Instructions should mention opening Copilot in the relevant M365 app (Teams, Outlook, Word, etc.)
130
131
For **GitHub Copilot** prompts:
132
- Prerequisite: `[GitHub Copilot](https://copilot.github.com/)`
133
- Instructions should mention installing the GitHub Copilot extension and launching GitHub Copilot Chat
134
135
For **Microsoft Copilot** prompts:
136
- Prerequisite: `[Microsoft Copilot](https://copilot.microsoft.com/)`
137
- Instructions should mention navigating to copilot.microsoft.com or the Copilot app
138
139
## Step 2: Create Metadata (assets/sample.json)
140
141
Create `samples/prompts/{folder-name}/assets/sample.json`:
142
143
```json
144
[
145
{
146
"name": "copilotprompts-prompt-{folder-name}",
147
"source": "pnp",
148
"title": "{Prompt Title}",
149
"shortDescription": "{Short description of what the prompt does}",
150
"url": "https://github.com/pnp/copilot-prompts/tree/main/samples/prompts/{folder-name}",
151
"downloadUrl": "https://pnp.github.io/download-partial/?url=https://github.com/pnp/copilot-prompts/tree/main/samples/prompts/{folder-name}",
152
"longDescription": [
153
"{A longer description of what the prompt does and why it's useful. Can be the same as shortDescription if appropriate.}"
154
],
155
"creationDateTime": "{YYYY-MM-DD}",
156
"updateDateTime": "{YYYY-MM-DD}",
157
"products": [
158
"{Product Name}"
159
],
160
"metadata": [],
161
"thumbnails": [
162
{
163
"type": "image",
164
"order": 100,
165
"url": "https://github.com/pnp/copilot-prompts/raw/main/samples/prompts/{folder-name}/assets/demo.png",
166
"alt": "{Description of the screenshot}"
167
}
168
],
169
"authors": [
170
{
171
"gitHubAccount": "{github-username}",
172
"pictureUrl": "https://github.com/{github-username}.png",
173
"name": "{Author Name}"
174
}
175
],
176
"references": [
177
{
178
"name": "{Product Name}",
179
"description": "{Product Name}",
180
"url": "{product-url}"
181
}
182
]
183
}
184
]
185
```
186
187
**Key metadata rules:**
188
- `name`: Always `copilotprompts-prompt-{folder-name}` (matches the tracking image ID)
189
- `shortDescription` and `longDescription[0]`: Should describe the same thing; `longDescription` can be more detailed
190
- `creationDateTime` and `updateDateTime`: Use `YYYY-MM-DD` format with the current date
191
- `products`: Must be one of: `"Microsoft 365 Copilot"`, `"Microsoft Copilot"`, `"GitHub Copilot"`
192
- `source`: Always `"pnp"`
193
- `url`: Points to the sample folder on GitHub main branch
194
- `downloadUrl`: Uses the pnp partial download service URL
195
- `pictureUrl` for authors: Use `https://github.com/{username}.png` as a shortcut
196
- `thumbnails.url`: Points to the screenshot in the assets folder on the main branch
197
198
**Product-specific references:**
199
200
For **Microsoft 365 Copilot**:
201
```json
202
{
203
"name": "Microsoft 365 Copilot",
204
"description": "Microsoft 365 Copilot",
205
"url": "https://copilot.microsoft.com/"
206
}
207
```
208
209
For **GitHub Copilot**:
210
```json
211
{
212
"name": "GitHub Copilot",
213
"description": "GitHub Copilot",
214
"url": "https://copilot.github.com/"
215
}
216
```
217
218
For **Microsoft Copilot**:
219
```json
220
{
221
"name": "Microsoft Copilot",
222
"description": "Microsoft Copilot",
223
"url": "https://copilot.microsoft.com/"
224
}
225
```
226
227
## Step 3: Remind About Screenshots
228
229
After creating the files, remind the user to:
230
1. Add a screenshot of the prompt in action as `assets/demo.png` (or `.gif`)
231
2. Use a resolution of **1920x1080** if possible
232
3. The screenshot should show the prompt being used and the result
233
4. At minimum, provide one static `.png` file
234
235
## Validation Checklist
236
237
Before finalizing, verify:
238
- [ ] Folder is inside `samples/prompts/` (NOT inside `samples/agent-instructions/` or `samples/skills/`)
239
- [ ] Folder name follows the `{prefix}-{description}-prompt` convention (lowercase, hyphens, no dots)
240
- [ ] `README.md` exists with correct capitalization
241
- [ ] `assets/` folder exists
242
- [ ] `assets/sample.json` exists with valid JSON
243
- [ ] `sample.json` `name` field matches pattern `copilotprompts-prompt-{folder-name}`
244
- [ ] `sample.json` dates are in `YYYY-MM-DD` format
245
- [ ] `sample.json` URLs use the correct folder name
246
- [ ] README tracking image URL matches `copilotprompts-prompt-{folder-name}`
247
- [ ] README contains Help and Disclaimer sections
248
- [ ] README has at least one screenshot reference
249
- [ ] Author information is filled in
250
- [ ] Product/prerequisite matches the target Copilot product
251
252
## Key Rules
253
254
- **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.
255
- **This skill is for simple prompt samples ONLY** — not for agent instructions or system prompts
256
- Samples go in `samples/prompts/{folder-name}/`, never in `samples/agent-instructions/` or `samples/skills/`
257
- Every sample needs exactly: `README.md` + `assets/sample.json`
258
- Screenshots go in the `assets/` folder
259
- The `sample.json` feeds the [M365 Solution Gallery](https://adoption.microsoft.com/en-us/sample-solution-gallery/) — accuracy matters
260
- Follow existing naming patterns in the repo for consistency
261

© Microsoft 365 & Power Platform Community · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 10,786 prompts

More by @OpenSourceBuffGuy

See all
Cinematic Trailer Orchestral Build prompt image

Cinematic Trailer Orchestral Build

Shows a Suno prompt that builds from solo cello to a full orchestral finale using arrow notation and timestamps, at 72 BPM in D minor.

music-prompt, suno, film-score, classical-music, epic, instrumental, song-structure, timed-beats, melancholic, music, music-production, for-musicians, quick

Arbor Autonomous Optimization prompt image

Arbor Autonomous Optimization

Runs an autonomous optimisation loop that keeps a persistent hypothesis tree, delegates experiments to executors and compares candidates on held-out data.

agent-skill, orchestrator, plan-then-execute, iterative-refinement, state-tracking, ai-agents, multi-agent, machine-learning, llm-evaluation, research-methods, python, git, for-researchers, for-prompt-engineers, tool-use, report, advanced, long-form, task-decomposition

GKE JobSet Interruption Troubleshooting prompt image

GKE JobSet Interruption Troubleshooting

Diagnoses GKE JobSet interruptions, restarts and preemptions in large AI/ML training runs using logs and metrics, matching known failure signatures.

agent-skill, troubleshooting, kubernetes, google-cloud, machine-learning, log-analysis, root-cause-analysis, observability, cloud, devops, for-developers, for-devops-engineers, advanced, long-form, tool-use, structured-output, guardrails, bash, gke

Reviews

Loading reviews…

Discussion

Loading comments…