github / github/copilot-cli

Feature Request: Native startup files config in settings.json

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

説明

## Problem

Users who maintain skill/reference files in `~/.copilot/skills/` need them loaded at the start of every session. Today the only mechanism is a prose instruction in `copilot-instructions.md` saying "read these files first" — but model compliance is inconsistent. 3 out of 3 new sessions this morning required manually prompting the agent to load skills.

## Proposed Solution

Add a `startupFiles` array in `settings.json` that the CLI runtime reads and injects into context automatically before the first model turn — no model compliance needed.

```json
"startupFiles": [
"~/.copilot/skills/**/*.md",
"~/.copilot/skills/references/*.md"
]
```

This would guarantee domain context is always present without wasting a turn on file reads or relying on the model to follow instructions.

## Impact

Any power user who builds custom skills, domain knowledge bases, or team-specific reference files hits this every single session. The current workaround is asking the agent "have you loaded skills" at the start of every session, which defeats the purpose of having persistent instructions.

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

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

評価

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

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

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