50 Things You Can Do with GitHub Copilot

GitHub Copilot FundamentalsLesson 12 of 13Beginner3 min read
Published
Updated
Last technically verified
50 Things You Can Do with GitHub CopilotGitHub Copilot Fundamentals12Beginner/github-copilot/getting-started/use-cases/

Most people use Copilot for a fraction of what it does, because the first thing it does — finishing a line of code — is so immediately visible that it becomes the whole mental model.

Fifty concrete jobs follow, organised by the work rather than by the feature. Each one states the task, gives a prompt you can use, explains why it is worth doing this way, and says where it falls short.

Writing code

Understanding existing code

Debugging

Refactoring

Unit testing

Integration testing

Documentation

Git

GitHub

DevOps

Docker

Kubernetes

Infrastructure as code

CI/CD

Security

SQL and data

Code review

AI agents

What runs through all fifty

Three patterns repeat across the list, and they are worth extracting.

Specificity does the work. Almost every prompt above names inputs, outputs, constraints or a definition of done. That is not stylistic — it is the difference between a usable result and a plausible one. The prompts that look longest are longest because they leave less to chance.

Constraints matter as much as goals. “Do not change the signature”, “do not modify the tests”, “do not invent features”, “quote the specific lines”. Models default to helpfulness, which shows up as unrequested changes. Naming what is fixed is how you get a change rather than a rewrite.

Comprehension outperforms generation. The entries with the best value-to-risk ratio on this list are the ones asking Copilot to explain something. There is no review burden on an explanation, and understanding code better makes every subsequent decision better.

Where to go next

Sources

Every version-sensitive claim on this page was checked against first-party documentation. Only sources actually used are listed.

Primary sources