GitHub Copilot アプリの最初のプロンプト作成ガイド
本文の状態
日本語全文を表示中
詳細モードで約5分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
GitHub Blog
GitHub は Copilot アプリの初回利用ガイドを公開し、プロジェクト選択から自然言語によるプロンプト作成、モデル選定、音声入力機能までの具体的な手順を開発者に示した。
Continue in AI NEW LAB
このニュースを、実務の判断につなげる
AI NEW LABで、試したことや先に確認したい条件を共有できます。まずはログインなしで読めます。
AI NEW LABで論点を見るAI深層分析を開く2026年8月13日 04:35
AI深層分析
キーポイント
コンテキストの確立方法
Copilot にタスクを実行させる前に、GitHub リポジトリまたはローカルのフォルダを接続してプロジェクトの文脈を提供する必要があると説明している。
平易な英語による指示
特殊な構文や完璧な表現を必要とせず、「ゲームリストに最も資金調達されたソートオプションを追加する」のような自然な記述で変更を要求できることを示している。
モデルの選択的利用
タスクの複雑さに応じて AI モデルを選択・切り替え可能であり、初めはデフォルトモデルを使用し、必要に応じて高度な推論が必要な場合に別のモデルへ変更するよう推奨している。
音声入力の活用
キーボード入力に加え、内蔵された音声入力機能を利用して思考を口に出しながらプロンプトを作成・編集できる柔軟性を提供している。
音声入力とセッション設定の柔軟性
音声入力でアイデアを伝えたり、異なるエージェントを選択したり、リモートセッションで別のデバイスから作業を継続できる。
重要な引用
A prompt is simply a description of what you want to accomplish.
The best prompt is often the one that gets you moving.
Think of the model selector as another tool you can reach for when the task calls for it.
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.
編集コメントを表示
編集コメント
このガイドは、AI ツールの利用において「完璧なプロンプト」を求める心理的負担を取り除く重要な指針となる。開発者が直感的に操作を開始できる環境整備は、組織全体の AI 活用率向上に寄与する実用的な内容である。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
新しい AI ツールを開くと、まるで真っ白なページを前にしているような感覚になるかもしれません。何かの助けが必要だとわかっていても、具体的に何を頼めばいいか考えること自体が課題になってしまうことがあります。
しかし安心してください。完璧なプロンプトを書く必要はありません。プロンプトとは、達成したいことを説明するものです。自分が知っていることから始め、Copilot に文脈を与えながら、進捗に応じてリクエストを洗練させていけば大丈夫です。
では、GitHub Copilot アプリで最初のタスクを開始する様子を見てみましょう。
適切な文脈から始める
Copilot に変更を依頼する前に、まずは作業対象が必要です。エージェント・セッションは GitHub リポジトリまたはローカルマシンのフォルダーに接続でき、Copilot がタスクに必要なコードやファイルにアクセスできるようになります。
GitHub Copilot アプリのホーム画面からは、以前使ったプロジェクトを選択するか、新しいプロジェクトを追加できます。
コードが自分のコンピュータ上にあるだけの場合は、代わりにローカルのフォルダーを追加することも可能です。いずれの場合も、プロジェクトを接続することで、セッションはコードベースと連携するために必要な文脈を得られます。
プロジェクトを選択したら、最初のプロンプトを書く準備が整います。
平らな英語で何をしたいかを説明する
特別な構文を学ぶ必要も、リクエストの最適な表現方法を模索する必要もありません。まずは、行いたい変更を説明することから始めましょう。
例:ゲーム一覧に「最も資金調達された順」のソートオプションを追加する
これでスタートできます。Copilot はプロジェクトを調査し、コードベースの関連部分を特定して、リクエストされた変更を実行します。
最初の試望が思い通りの結果でなくても、追加の詳細を提供したり、修正を依頼したりできます。プロンプト作成は反復的なプロセスなので、始める前にすべての詳細を事前に想定する必要はありません。
最も効果的なプロンプトとは、実際に動き出せるようなものです。
必要な時に適切なモデルを選ぼう
GitHub Copilot アプリでは、タスクを担当する AI モデルを選択することもできます。各モデルには得意分野が異なり、複雑な推論が必要な作業に適したものと、単純なタスクをより高速に処理できるものがあります。
これから使い始める場合は、デフォルトのモデルから始めれば十分です。アプリを使い始める前に、利用可能なすべてのモデルの違いを理解する必要はありません。
作業を進める中で、より高度な推論が必要になったり、最初の手法が期待通りの結果をもたらさない場合に、モデルを切り替えることができます。モデル選択機能は、タスクに応じて使い分けるツールの一つと捉えましょう。毎回セッションを開始する前に設定する必要のあるものではありません。
自然な入力方法を選ぼう
プロンプト作成にはタイピングだけが選択肢ではありません。GitHub Copilot アプリには内蔵された音声入力が備わっており、問題を声に出して考えを整理したい場合や、長いリクエストを説明したい場合に役立ちます。
プロンプトボックスには、発話した内容がテキストとして変換されます。送信する前に確認や編集ができるため、いきなり最初のバージョンに固執せず、考えを口に出しながら進めることができます。
時には、文字で入力するよりも、何を求めているかを説明する方が簡単な場合もあります。音声入力は、そのアイデアをセッションに取り込むための別の手段です。
作業の処理方法をカスタマイズする
セッションの処理方法も変更できます。セッションタイトルから、異なるエージェントを選択したり、リモートコントロール機能を有効にしたりできます。
異なるタイプの実務にはそれぞれ適したエージェントを設定できるため、現在取り組んでいるタスクに最も合うものを選べます。
リモートセッションは、別の種類の柔軟性を提供します。ローカルマシン上でのみ実行するのではなく、Web ブラウザから同じセッションにアクセス可能です。タスクを開始してラップトップを閉じても、後で別のデバイスに戻れば、どこまで進んだかを維持したまま再開できます。
これらのオプションは、最初のプロンプトを入力する前に設定しておく必要はありません。タスクの処理方法についてより多くの制御が必要になった時に利用できます。
小さく始めて反復する
最初のプロンプトが完璧である必要はありません。すでに知っているプロジェクトで小さく変更を加えたい箇所から始め、求める内容を平易な言葉で記述し、結果を確認しましょう。
そこから、リクエストを洗練させたり、異なるモデルを試したり、セッションの処理方法を調整したりできます。アプリを使う回数が増えるほど、これらの選択は自然なものになっていきます。
まずは一歩を踏み出すことが何より重要です。プロジェクトを選び、Copilot にタスクを与えてみましょう。そこからどこへ辿り着けるか、実際に試してみるのが一番です。
GitHub Copilot アプリで始める >
この記事「GitHub Copilot アプリで最初のプロンプトを書いてみよう」は、The GitHub Blog で最初に公開されました。
原文を表示
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 context
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.
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 English
You 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 it
The 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 natural
Typing 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 runs
You 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 iterate
Your 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 >
The post Write your first prompt with the GitHub Copilot app appeared first on The GitHub Blog.
関連記事
News to Guide
ニュースの次に確認する
発表内容を、現在の料金や仕様と照らし合わせられる関連ガイドです。
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み