github / github/copilot-cli

Have a way to specify per-invocation instructions.

オープン
#1,149 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
area:configuration
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### Describe the feature or problem you'd like to solve

I have prompts for various tasks, exploring code bases, writing C# code, or Azure SDK guideline aligned C# code, etc where the prompt is customized to the task. I want to be able to specify the prompt at startup for a single invocation.

### Proposed solution

Being able to specify a per-invocation set of instructions to tailor the specific interaction for the task it's going to be used for will allow the reuse of successful scenario based instructions while minimizing the per task customization required.

### Example prompts or workflows

I have files like:
arch.agent.md
azure_code.md
azure_csharp_code.md
azure_ts_code.md
code.md
email.md
explore-legacy.md
explore.md

that are all customized instructions for each type of task. I'd like to be able to specify them on start, something like
copilot --systemprompt @/email.md --instruction @/scratch/email_about_thing.md

### Additional context

_No response_

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

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

評価

この issue はまだ評価されていません。

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

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