Back to insights
Length:
12 min
Published:
October 16, 2025

GitHub Copilot can speed up development by up to 50% in many teams.
You may have heard of it, but haven't tried it yet. In this article, we'll go over the setup and the first steps to get started.
But Copilot is certainly not just for developers; it can also help analysts, testers, or non-IT people with simple scripts and prototypes - often without prior programming experience.
But it's still an assistant, not an autopilot. Start small and gradually discover what it can do in your context.
GitHub Copilot is an AI assistant for programming. It significantly speeds up writing code. It is powered by advanced artificial intelligence models, primarily from OpenAI and Anthropic.
How does it work? Copilot reads the context of your project: text, code already written, file names and comments, and suggests what to do next: additional lines, entire functions and tests. You control it in a common language, like "create a function to add two numbers". The suggestion appears straight away in the editor.
What can it do?
Tip: Start in Chat to understand the problem, use Edit for quick local changes, and then use Agent for broader interventions across the repository.
You can expect Copilot to speed up your work. It will significantly reduce the time spent on routine code writing. It also helps with learning: it shows new patterns and different ways of solving. Often, it will even supply a solid initial design, which you can then modify to suit yourself.
At the same time, it is not a replacement for the developer; human logic and critical thinking remain key. The generated code is not flawless, so it must be checked, tested and watched for any bugs, security holes or inefficient implementation. Even if Copilot has access to the project, without sufficient context (rules, documentation, comments) it behaves like a developer in someone else's code: it figures out part of the intent and the results may be at odds with what you want - even more so the more changes it generates.
To start using GitHub Copilot, you first need to install the extension in your favorite development environment.
Supported IDE:
How to activate Copilot:
Example: installation in VS Code
Tip: After installation and login, make sure the Copilot icon is active in the status bar of your IDE (probably on the bottom right). Try typing in a new JavaScript file
function helloWorld() {and watch for Copilot to offer completion. If it does, you're ready to start coding with AI!
After successful installation and activation, it's time to learn the main ways to use GitHub Copilot. There are primarily two ways to interact: code suggestions and Copilot Chat.
Code suggestions:
def factorial(n):
# Copilot offers: if n == 0: return 1
# Copilot offers: else: return n * factorial(n-1)
To make Copilot advise in your style and with respect to your project, add copilot-instructions.md to the repository. Copilot will take it into context during chat and inline generation.
What to put in it:
# Copilot Instructions
## Style & Conventions
- Use … naming
- Every new function: docstring + example
## Tech Stack
- Language/Framework: …
## Quality
- Tests: unit + coverage ≥ …
## Prompts
- When asked to refactor, keep public API stable and add tests.
/explain: Explains the selected code./tests: generates unit tests for the selected code./fix: Suggests fixes for errors in the selected code./refactor: helps with code refactoring./new: Creates a new code file based on the description./explain selected code after the function label./tests for this function after the function label.Tip: Start with inline designs, they are intuitive and the fastest. When you run into a more complex problem or need an explanation, switch to Copilot Chat. Experiment with slash commands, they will greatly streamline your work, thanks to Copilot's quicker explanation of what we want without too much sauce around.
GitHub Copilot offers two main ways to help you with your code: code completions and Copilot Chat. Each is suitable for different situations.
This is the primary way Copilot works. It offers suggestions directly while writing code.
Example (boilerplate):
# Create a basic Flask application
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello, World!'
Example (finishing):
function fetchData(url) {
// After typing "return fetch(url).t" Copilot suggests "hen(res => res.json());"
return fetch(url).then(res => res.json());
}
Copilot Chat is an interactive interface. It allows you to have a dialogue with Copilot. It is suitable for more complex tasks.
Survey: Getting information about libraries or APIs.
User: "Write me a function in Python that loads data from a JSON file and returns it as a dictionary. Add error handling."
Copilot:
import json
def load_json_data(filepath):
try:
with open(filepath, 'r', encoding='utf-8') as f:
data = json.load(f)
return data
except FileNotFoundError:
print(f"Error: File '{filepath}' was not found.")
except json.JSONDecodeError:
print(f"Error: File '{filepath}' is not a valid JSON format.")
except Exception as e:
print(f"An unexpected error occurred while reading file '{filepath}': {e}")
return None
Maximize the effectiveness of Copilot by following these tips:
After a quick installation and activation, GitHub Copilot will help you significantly speed up your IDE routine. It can add code, generate functions from comments, explain extraneous parts of code, suggest refactoring, and create tests. Through Copilot Chat, you can easily solve specific tasks and broader issues with it. But it's still about the assistant: you need to check and test the designs and give it the best context to get a good result.
Now you have everything you need to start using GitHub Copilot. We're planning a follow-up to this series where we'll go more in-depth: refactoring and optimizing, test generation, and finally, how to achieve higher quality code when using Copilot on a team.
Back to insights
Don't miss our best insights. No spam, just practical analyses, invitations to exclusive events, and podcast summaries delivered straight to your inbox.