github / github/copilot-cli

Add support to prompts

オープン
#4,869 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

triage
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

Describe the feature or problem you'd like to solve

Add supports for reusable prompts stored as .github/prompts/myprompt.prompt.md

Proposed solution

You currently can just reference them with @someprompt, but they are not pasted in the editor, they are just sent as-is.
Instead I need to insert a prompt, read it and eventually modify it depending on the use-case.
The current usage is a sort of "black box" which sounds good for skills and agents, but definitely not for prompts.

Example prompts or workflows

No response

Additional context

No response

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、Copilot CLI で @someprompt 参照がどのように処理され、.github/prompts/*.prompt.md ファイルがどのように検出されるかを追跡します。プロンプトの内容をエディターに挿入する際の動作を定義し、使用前に編集できるようにします。この作業は、再利用可能なプロンプトがそのまま送信されるだけではなくなり、関連するテストがそのワークフローをカバーした時点で完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。