Duration: 3 minutes
Copilot Feature: Prompt Files (.prompt.md)
Goal: Package your implementation plan into a reusable prompt file that any team member can invoke.
A Prompt File (.prompt.md) in GitHub Copilot is a saved, reusable prompt. Unlike typing a prompt in chat, prompt files:
- Are stored in
.github/prompts/and accessible to the whole team - Can include instructions, context references, and parameterized inputs
- Can be invoked quickly from the Copilot Chat command palette
The Implementation Plan prompt file you create here captures the standard way to generate a development plan from the FRD for this project — and any future project following the same process.
A .prompt.md file looks like this:
---
name: Prompt Name
description: "When to use this prompt"
---
# Prompt content here
Instructions for Copilot...The description field is what you see in the command palette when typing /.
The workshop already includes a prompt file at .github/prompts/implementation-plan.prompt.md.
Open it and read it. Notice:
- The YAML frontmatter with
nameanddescription - Instructions for structuring phases and task tables
- Rules about referencing FRD IDs and flagging Background Agent candidates
Now create your own version tailored to your chosen tech stack. In Copilot Chat (local agent), send:
Use /create-prompt with name itms-implementation-plan and paste the following content:
This prompt is specifically for the Intelligent Task Management System (ITMS) project.
When invoked, it should:
1. Read #frd.md and #tsd.md
2. Generate a phased implementation plan with our specific tech stack: [YOUR STACK e.g. TypeScript/Express/PostgreSQL]
3. Reference the correct folder structure: src/routes/, src/services/, src/repositories/, src/models/
4. Include database migration tasks using our tooling convention
5. Include tasks for OpenAPI spec generation
6. Flag tasks suitable for background agent execution
Format: phases as H2 headers, tasks as a table with columns: ID | Task | Effort | FRD Ref | Parallel? | Background Agent?
Replace
[YOUR STACK]with your choice from Exercise 09.
Test your new prompt file:
- In Copilot Chat, type
/— the command palette opens - Type
itms— you should see itms-implementation-plan appear - Select it and press Enter
- Copilot executes the prompt and generates a fresh implementation plan
Notice the difference between:
- The generic
.github/prompts/implementation-plan.prompt.md(for any project) - Your project-specific
itms-implementation-plan.prompt.md(ITMS-specific folder conventions, stack, tools)
This is why teams maintain both generic prompt libraries and project-specific ones.
Prompt files turn one-time instructions into team assets. Instead of one person knowing "the right way to ask Copilot for an implementation plan," the whole team has a
/itms-implementation-plancommand they can invoke consistently. This is how you scale Copilot adoption across a team.
Next: Exercise 12 — Build APIs with Local Agent
🟡 Optional stop available: If your GitHub repository and Personal Access Token are configured, try Exercise 17 — Create GitHub Issues via MCP before continuing to Exercise 12.