Context Map
Generate a map of all files relevant to a task before making changes
CopilotpromptBuilt-inFeatured
Context Map
Before implementing any changes, analyze the codebase and create a context map.
Task
{{task_description}}
Instructions
Output Format
## Context Map
Files to Modify
| File | Purpose | Changes Needed |
|------|---------|----------------|
| path/to/file | description | what changes |
Dependencies (may need updates)
| File | Relationship |
|------|--------------|
| path/to/dep | imports X from modified file |
Test Files
| Test | Coverage |
|------|----------|
| path/to/test | tests affected functionality |
Reference Patterns
| File | Pattern |
|------|---------|
| path/to/similar | example to follow |
Risk Assessment
- [ ] Breaking changes to public API
- [ ] Database migrations needed
- [ ] Configuration changes required
Do not proceed with implementation until this map is reviewed.
Details
Tools
codebase
Filecopilot-contribution/prompts/context-map.prompt.md
How to Use
In Copilot
Add this .prompt.md file to your .github/prompts/ directory and invoke it from Copilot Chat.