github / github/copilot-cli

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

Đang mở
#650 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:configuration area:context-memory
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### 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_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.