GitHub Copilot app for Beginners: Write your first prompt

GitHub · AI & ML ·

A beginner-oriented guide to using GitHub Copilot, written by one author across all segments. It covers prompt engineering fundamentals, onboarding steps for AI tools, and the iterative nature of human-AI interaction. Lisez 3 points de vue avec leurs éléments à l’appui et les liens vers les sources.

En un coup d’œil

  • Start with a plain description—not perfect syntax

    A prompt is simply a description of what you want to accomplish. You don’t need special syntax or perfect phrasing—start with what you know and refine as you go.

    Lire le moment probant · Paragraphe 2
  • Provide codebase context before prompting

    Before asking Copilot to make a change, connect it to a GitHub repository or local folder so it can access the relevant code and files.

    Lire le moment probant · Paragraphe 5
  • Prompting is iterative—not all details needed upfront

    If the first output isn’t quite right, add details or request changes; prompting doesn’t require anticipating every detail before beginning.

    Lire le moment probant · Paragraphe 13

Passages clés3

Passages attribués et accompagnés du contexte nécessaire à leur vérification. Ouvrez le texte original pour vérifier la source.

prompt engineering for beginners

Start with a plain description—not perfect syntax

Extrait original

A prompt is simply a description of what you want to accomplish. Start with what you know, give Copilot some context, and refine the request as you go.
Contexte

The good news is that you don’t need to write the perfect prompt to get started.

iterative AI interaction

Prompting is iterative—not all details needed upfront

Extrait original

If the first attempt isn’t quite what you had in mind, you can provide additional details or ask for changes. Prompting is an iterative process, so you don’t have to anticipate every detail before you begin.
AI tool onboarding

Provide codebase context before prompting

Extrait original

Before you can ask Copilot to make a change, it needs something to work on. Agent sessions can be connected to a GitHub repository or a folder on your local machine, giving Copilot access to the code and files it needs for the task.

Source et méthodologie

Ces points de vue renvoient à leurs sources originales. Les reformulations sont signalées et ne sont pas des citations mot à mot.

Ouvrir la transcription ou les documents sources (s’ouvre dans un nouvel onglet)Signaler un problème