-
Notifications
You must be signed in to change notification settings - Fork 65.3k
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/copilot/concepts/prompting/prompt-engineering
What part(s) of the article would you like to see updated?
Suggested Enhancements:
-
Interactive Prompt Examples: Add clickable "Try this in Copilot" buttons that open the example prompts directly in GitHub Copilot Chat, allowing users to test and modify them in real-time.
-
Visual Before/After Comparisons: Include side-by-side examples showing:
- Vague prompt → Poor result vs Clear prompt → Good result
- Visual diagrams illustrating prompt structure
-
Progressive Complexity Examples: Create a section showing how to iteratively improve prompts (e.g., Start with basic → Add context → Specify format → Final optimized version)
-
Common Mistakes Section: Add examples of problematic prompts with explanations of why they fail and how to fix them.
-
Language-Specific Examples: Expand examples beyond JavaScript/Go to include Python, TypeScript, Rust, Java, etc.
-
Context Indicators: Visual callouts showing what parts of a prompt provide context vs requirements vs examples.
Expected Outcome:
More engaging, actionable documentation that helps users learn prompt engineering through hands-on practice rather than just reading theory.
Additional information
This enhancement would make the documentation more valuable for developers learning to use GitHub Copilot effectively. Interactive elements and visual aids are proven to improve learning outcomes. Reference: The current examples are good but lack context on what makes them effective.