github / github/copilot-cli

Provide a command to tell the list of files that are knowledge or instructions

未關閉
#650 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:configuration area:context-memory
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

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

I want to tell copilot about the application and give some instructions

### Proposed solution

Provide a command and an option to indicate which files are knowledge and instructions.
For example, I put some indication about the application in a file named `APP_DESCRIPTION.md`:

```
This application is a Node application written in Typescript and started with Vite.
It is an application made for doctors to manage theirs patients.
A doctor can... (list whatever)
A patient can... (list whatever)
...
```

Then I have another file named `TECH_SPECS.md`:

```
In this application we avoid using ORMs: we prefer RAW SQL queries.
The UI libraryis Bootstrap and stick with it, do not introduce Tailwind.
When using icons, use Font-Awesome icons
```

Then when I launch copilot, I want to do it like this:

```
copilot --background APP_DESCRIPTION.md --background TECH_SPECS.md
```

But it should be possible to do it with:

```
copilot --background "docs/*.md"
```

```

### Example prompts or workflows

_No response_

### Additional context

_No response_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。