GitHub Blog

使用GitHub Copilot应用编写你的第一个提示

这篇文章来自GitHub博客,为初学者提供了在GitHub Copilot应用中编写第一个提示的指南。它解释了提示不需要完美,你可以用简单的英文描述你想要的更改。关键步骤包括连接项目或本地文件夹来提供上下文,在必要时选择合适的AI模型,使用内置语音输入将语音转换为文本,以及通过代理和远程控制自定义会话。重点是从小处着手并迭代你的请求,以更熟悉该工具。

状态已摘要
抓取快照1
AI 输出2
开放问题0

已验证摘要

英文摘要

Write Your First Prompt with the GitHub Copilot App

This article from the GitHub Blog offers a beginner-friendly guide to writing your first prompt in the GitHub Copilot app. It explains that prompts don't need to be perfect; you can start with plain English descriptions of the change you want. Key steps include connecting a project or local folder for context, choosing the appropriate AI model when necessary, using built-in voice input for natural speech-to-text prompts, and customizing sessions with agents and remote control. The emphasis is on starting small and iterating on your requests to become more comfortable with the tool.

  • Start by connecting a GitHub repository or local folder to give Copilot context.
  • Write prompts in plain English; no need for perfect phrasing or special syntax.
  • Use the default AI model initially, and switch when tasks need more complex reasoning.
  • Take advantage of voice input, which converts speech to editable text in the prompt box.
  • Customize sessions by selecting different agents and enabling remote control for web access.
  • Begin with small changes and iterate based on results; prompting is an iterative process.

中文摘要

使用GitHub Copilot应用编写你的第一个提示

这篇文章来自GitHub博客,为初学者提供了在GitHub Copilot应用中编写第一个提示的指南。它解释了提示不需要完美,你可以用简单的英文描述你想要的更改。关键步骤包括连接项目或本地文件夹来提供上下文,在必要时选择合适的AI模型,使用内置语音输入将语音转换为文本,以及通过代理和远程控制自定义会话。重点是从小处着手并迭代你的请求,以更熟悉该工具。

  • 首先连接GitHub仓库或本地文件夹,为Copilot提供上下文。
  • 用简单的英文编写提示,无需完美的措辞或特殊语法。
  • 一开始使用默认AI模型,当任务需要更复杂的推理时再切换。
  • 利用语音输入功能,语音会转换为可编辑的文本显示在提示框中。
  • 通过选择不同代理和启用远程控制来自定义会话,以便从网页访问。
  • 从小改动开始并基于结果迭代;提示是一个迭代过程。

GitHub Copilot / GitHub Copilot app / beginners / AI / prompt engineering / developer tools / voice input

完整文章

Kayla Cinnamon · @cinnamon-msft

August 12, 2026|

4 minutes

Share:Opening a new AI tool can feel a little like staring at a blank page. You know you want help with something, but figuring out exactly what to ask can be its own task.The good news is that you don’t need to write the perfect prompt to get started. 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.Let’s walk through what it looks like to start your first task in the GitHub Copilot app .Start with the right contextBefore 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.From the GitHub Copilot app home screen, you can select a project you’ve worked with before or add a new one.If you’re working on code that’s only on your computer, you can add a local folder instead. Either way, connecting a project gives the session the context it needs to work with your codebase.Once your project is selected, you’re ready to write your first prompt.Describe what you want in plain EnglishYou don’t need to learn a special syntax or figure out the perfect way to phrase your request. Start by describing the change you want to make.For example: Add a most-funded sort option to the games list.That’s enough to get started. Copilot can examine the project, find the relevant parts of the codebase, and work on the requested change.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.The best prompt is often the one that gets you moving.Choose the right model when you need itThe GitHub Copilot app also lets you choose which AI model handles your task. Different models have different strengths, and some are better suited to complex reasoning while others can handle simpler tasks more quickly.If you’re just getting started, the default model is a good place to begin. You don’t need to understand every difference between the available models before you can use the app.As you work, you can switch models when a task requires more complex reasoning or when the first approach isn’t giving you the results you need. Think of the model selector as another tool you can reach for when the task calls for it, rather than something you need to configure before every session.Use whatever input feels naturalTyping isn’t the only way to write a prompt. The GitHub Copilot app includes built-in voice input, which can be useful when you’re thinking through a problem out loud or have a longer request to describe.Your speech is converted into text in the prompt box, where you can review and edit it before sending it. That means you can think out loud without immediately committing to the first version of your request.Sometimes it’s easier to explain what you want than to type it out. Voice input gives you another way to get that idea into the session.Customize how the work runsYou can also change how your session handles the work. From the session title, you can select a different agent or enable remote control for the session.Different agents can be configured for different types of work, so you can choose the one that best fits the task you’re working on.Remote sessions give you another kind of flexibility. Instead of running the work only on your local machine, you can access the same session from the web. You can start a task, close your laptop, and return to the session later from another device without losing your place.These options aren’t things you need to configure before your first prompt. They’re there when you need more control over how a task is handled.Start small and iterateYour first prompt doesn’t need to be perfect. Start with a small change you’d like to make in a project you already know, describe what you want in plain language, and see what happens.From there, you can refine the request, try a different model, or adjust how the session runs. The more you use the app, the more natural these choices become.The important part is getting started. Pick a project, give Copilot a task, and see where it takes you.Get started with the GitHub Copilot app >Tags:

GitHub Copilot

GitHub Copilot app

GitHub Copilot app for BeginnersWritten bySenior AI Developer Tools AdvocateRelated postsAI & ML

Using the GitHub Copilot SDK for JavaEnterprise Java developers have a new superpower—drive GitHub Copilot from idiomatic Java code with annotations, virtual threads, and more.AI & ML

A guide to slash commands in the GitHub Copilot appGo beyond chat in the GitHub Copilot app with these slash commands. They’ll help you plan, collaborate, automate, and customize your dev workflow.AI & ML

How the GitHub legal team used Copilot CLI to streamline their workflowsLearn how to build tools to simplify how you work—without writing a single line of code.We do newsletters, tooDiscover tips, technical guides, and best practices in our biweekly newsletter just for devs.Your email address

抓取快照

用于解析和审计的抓取证据。

200 · text/html; charset=UTF-8

2026/08/13 08:00

29998c5adcb5a9521743c7475c17b419ad3d054696653d204ceac3982b7da62d

AI 输出

带验证状态的结构化模型输出。

article.summarize

deepseek-v4-flash · 有效

{"tags":["GitHub Copilot","GitHub Copilot app","beginners","AI","prompt engineering","developer tools","voice input"],"titleEn":"Write Your First Prompt with the GitHub Copilot App","titleZh":"使用GitHub Copilot应用编写你的第一个提示","summaryEn":"This article from the GitHub Blog offers a be...
article.classify

deepseek-v4-flash · 有效

{"relevant":true,"confidence":0.95,"primaryTopic":"product-updates","secondaryTopics":["ai-engineering","software-engineering"]}

质量问题与日报引用

开放或已解决的问题,以及文章出现在每日日报中的记录。

日报

Signal Hub 2026-08-13

一份实用的 GitHub Copilot 应用提示编写入门指南,涵盖语音输入和会话自定义。 (score: 0.68)

排序 42026/08/13 00:00草稿