feat: Enhance AI prompting capabilities with new guidelines and templates for GitHub Copilot

This commit is contained in:
2026-04-14 16:37:54 -06:00
parent 03386aa22f
commit 4edc7ef4fc
12 changed files with 210 additions and 0 deletions

43
prompts/copilot-prompt.md Normal file
View File

@@ -0,0 +1,43 @@
# Copilot Prompt Template
Generate a prompt to send to GitHub Copilot on the Fidelity development machine.
The prompt should be self-contained because Copilot will not have this workspace's memory unless the prompt includes it.
Requirements:
- Use precise senior-engineer language
- Include only relevant context
- Include Jira ID and approved title when available
- Tell Copilot what to inspect before changing code
- Make constraints explicit
- Specify whether the desired result is:
- investigation
- implementation plan
- code change
- review
- test strategy
- PR/story text
- Include expected output format
- Include validation requirements
- Avoid overloading the prompt with unrelated workspace history
Default output format:
```text
Role:
Project context:
Task:
Relevant ticket/context:
Inspect:
Constraints:
Expected output:
Validation:
```