Github has posted a large tutorial on the new Github Copilot.
https://www.youtube.com/watch?v=0Oz-WQi51aU
Three Modes (now similar to Cursor 😉):
- Ask Mode 💬 – for discussing changes and getting answers.
- Edit Mode ✏️ – for precise edits and refactoring.
- Agent Mode 🤖 – automated task execution (e.g., code generation from README).
Example: Creating a hotel booking application using different models (Claude 3.5, Gemini 2.5 Pro, GPT-4).
🔧 Working Techniques
Structured README file 📄: A clear description of the project, tech stack, and file structure helps the agent generate code more accurately.
Copilot Instructions 📌: A file with global guidelines (e.g., code style requirements, security, logs).
Visual Prompting 🖼️: Some models support uploading screenshots for UI analysis.
🛠️ Problem Solving
- Browser Caching: Copilot can suggest clearing the cache or a fix for templates.
- Testing: Automated test generation (e.g., for Flask endpoints) using the
/test
command. - Documentation: Updating the README file via Gemini 2.5 Pro with Mermaid diagrams.
🚀 Tips
Claude 3.5 – balances speed and quality.
Gemini 2.5 Pro – powerful documentation generation.
GPT-4 – for complex tasks with context.
Security: Always ask Copilot for a code audit (e.g., How can I make this app more secure?
).
#githubcopilot #prompts