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 摘要。