Q14: Which two prompting strategies consistently improve code generation relevance from GitHub Copilot?
Effective prompt engineering relies on providing clear, specific success criteria and referencing supporting context/documentation files, rather than vague requests or dumping un-related code.
Key Takeaways
State clear input/output expectations and success criteria.
Keep open relevant context files in the IDE active tab buffer.
Knowledge Check (Multiple Choice)
Which pair of techniques yields the highest quality code suggestions from Copilot?