github / github/copilot-cli

Feature Request: Native startup files config in settings.json

Đang mở
#3,433 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ả

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

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

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

Hướng nghiên cứu

Start with the CLI runtime behavior described in the issue and the existing settings.json and copilot-instructions.md mechanisms. Determine how startupFiles patterns should be read and injected before the first model turn. Done means configured startup files are reliably loaded at session startup without requiring model compliance or a manual prompt.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

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.