Skip to content

Commit b27a47f

Browse files
committed
Moves the prompts from reusable prompts to it's own folder
Added a readme about the provided prompts Updated the bonus section to reflect the new location of the prompts
1 parent fd12b33 commit b27a47f

File tree

8 files changed

+25
-24
lines changed

8 files changed

+25
-24
lines changed

.github/prompts/add-feature-simple.prompt.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/prompts/add-feature-verbose.prompt.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

content/1-hour/5-bonus.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ In this section, you will use Copilot's agent mode to add themes to the Tailspin
3131
3. Select the `+` icon towards the top of Copilot chat to begin a new chat.
3232
4. Select agent mode, by selecting `Agent` (just like you did `Edit` before) in the model selector dropdown at the bottom of the chat window.
3333
5. Select one of models (some may not be available) `Claude 3.7 Sonnet`, `Claude 3.5 Sonnet` or `GPT-4.1 (Preview)`
34-
6. Click `Add Context...`
35-
7. Select `Prompts` from the list (or type it for faster selection)
36-
8. From the list of available prompts select `fun-add-themes`
34+
6. Navigate to [](../prompts/fun-add-themes.md)
35+
7. Copy the content of the prompt
36+
8. Paste the content in the copilot prompt input
3737
9. The agent mode will take its theme, since it searches by itself the relevant files to modify, and then do multiple passes including talking with itself to refine the task at hand
38-
10. While Agent is doing it's thing, expand the `Used 1 reference` (first line after copilot response in the chat window) and notice it mentions the prompt you selected, click on the name of the prompt and examine the content of prompt that was used.
38+
10. While Agent is doing it's thing, take the opportunity to examine the content of prompt that was used.
3939
11. When the agent is done (you no longer see any spinners and the thumb up/down icons will be visible), open a browser to see the results
4040
- Open the page at [http://localhost:4321][tailspin-shelter-website] to see the updates!
4141
- Examine the changes made to the files if you like
@@ -59,11 +59,11 @@ You'll also notice there aren't step-by-step instructions here. You've already s
5959

6060
### Some prompts to play with
6161

62-
We have provided you some prompts in [.github/prompts][github-prompts-path] folder, which you can use directly as direct source on the context or as inspiration for your explorations.
62+
We have provided you some prompts in [prompts][github-prompts-path] folder, which you can use directly as inspiration for your explorations.
6363

6464
> [!TIP]
65-
> To use a prompt, select `Add Context..` in the chat and then select `Prompt`
66-
> Learn more about [prompts in Visual Studio Code][vscode-prompts]
65+
> These prompts are meant to be used as one shot, but if have prompts that can be are generic, reusable prompt are a great way to share prompts with the team members. They can be placed in a well know folder and be invoked directly in the Copilot Chat by referencing them.
66+
> Learn more about [reusable prompts in Visual Studio Code][vscode-prompts]
6767
6868
### Potential next steps
6969

@@ -80,5 +80,5 @@ Here's some ideas of how you could continue to grow and build upon what you've d
8080
[walkthrough-previous]: ./4-add-feature.md
8181
[walkthrough-next]: ../README.md
8282
[tailspin-shelter-website]: http://localhost:4321
83-
[github-prompts-path]: ../../.github/prompts/
83+
[github-prompts-path]: ../prompts/
8484
[vscode-prompts]: https://aka.ms/vscode-ghcp-prompt-snippets

content/prompts/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Pets Workshop Prompts
2+
3+
This directory contains various prompts designed for different aspects of development and enhancement of the Pets Workshop project. These prompts are meant for illustration purposes only.
4+
5+
## Prompt Overview
6+
7+
### Interface and User Experience
8+
9+
- **fun-add-themes.md**: Adds a theme selector dropdown that allows users to switch between multiple visual themes including 80s Retro, Terminal Classic, Hand-Sketched, Steampunk, and Fantasy Realm. Enhances user customization and visual appeal.
10+
11+
- **fun-add-dog-animation.md**: Implements an interactive cartoon dog animation in the bottom-right corner of the website that follows the user's cursor with its eyes. The dog remains visible while scrolling and has extra animations on mouse clicks, adding a playful element to the user experience.
12+
13+
### Backend Development
14+
15+
- **conversion-convert-flask-to-golang.md**: Provides instructions for migrating the existing Python Flask server to a Go-based implementation while maintaining identical functionality, API endpoints, and response formats. The goal is to create a functionally equivalent server using Go's standard library.
16+
17+
- **monitoring-add-logging.md**: Details requirements for implementing a comprehensive logging system in the Python Flask server with multiple logging levels, consistent formatting, configuration options, and performance considerations. This improves monitoring, debugging, and operational visibility.

.github/prompts/conversion-convert-flask-to-golang.prompt.md renamed to content/prompts/conversion-convert-flask-to-golang.md

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)