Urgent.News

600+ sources. One page. See who else covered it.

Editions

AI

Write your first prompt with the GitHub Copilot app

Learn how to write your first prompt in the GitHub Copilot app, choose the right context and model, and start your first task with confidence. The post Write your first prompt with the GitHub Copilot app appeared first on The GitHub Blog .

Starting a new AI tool can initially feel like looking at an empty canvas. The key is not to strive for the perfect prompt right away. A prompt simply outlines the task you wish to achieve; think of it as a brief description of your desired outcome. To begin your first endeavor within the GitHub Copilot app, you first need to establish the proper context.

This involves associating the AI tool with a GitHub repository or a folder on your local device, which provides Copilot with the necessary code and resources to assist you. Once your project is linked, you're prepared to craft your initial prompt. Describe your desired modification in straightforward English, for instance, "Add a most-funded sort option to the games list."

This initial description is sufficient to initiate the process. Copilot will analyze the project, identify pertinent sections of the codebase, and begin working on your specified change. It's acceptable to refine your prompt further by providing additional details or requesting adjustments. The iterative nature of prompting means you don't need to account for every nuance beforehand.

Often, the most effective prompt is the one that initiates progress. When choosing the appropriate model for your task, consider the strengths of different AI models. Some models excel at complex reasoning, while others are adept at handling simpler tasks more swiftly. For beginners, the default model is a suitable starting point.

You can switch models as needed, particularly when the initial approach doesn't yield the desired results or when the task demands a higher level of reasoning. While typing is the primary method to write a prompt, the GitHub Copilot app also offers voice input, which can be beneficial when verbalizing your thought process or drafting a lengthy request.

Once you've articulated your prompt, you can review and edit it before sending it to the AI. Adjusting the session settings is another way to tailor the work process. From the session title, you can select a different agent or enable remote access, allowing you to control various aspects of the task. Agents can be customized for specific types of work, and remote access enables you to work on the session from multiple devices without losing your progress.

Your initial prompt doesn’t have to be flawless; the focus should be on starting with a manageable change in a familiar project. Describe your desired modification using everyday language, and let Copilot handle the task. As you gain more experience, you can further refine your prompts, experiment with different models, and customize the session settings to suit your needs better.

The crucial step is to initiate the process – choose a project, provide Copilot with a task, and observe the outcome.

Written by urgent.news from GitHub Blog's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at github.blog →

More in AI

Gemini and Localiza Car Rentals in Brazil: What Travelers Can Confirm

A prompt circulating online suggests that users can ask Google Gemini to find Localiza car rentals in Rio de Janeiro, Brazil.

  • No official confirmation of Gemini and Localiza partnership.
  • Google Gemini materials discuss in-car capabilities, not Localiza integration.
  • Localiza's public information does not mention Gemini integration.

More from Wednesday 12 August →