github / github/copilot-cli

Cross-device sync for personal Copilot instructions

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

描述

Personal instruction files are local to each machine. If I teach Copilot a lesson on one device (e.g. "always write Python scripts to a file instead of passing markdown through PowerShell inline"), that knowledge doesn't carry to my other machines. Since Copilot already authenticates via GitHub, personal instructions could be synced as a GitHub-backed user setting — similar to VS Code Settings Sync. This could be a private gist, a user-scoped API, or a dotfiles-style repo integration. Today the workarounds (symlinks to cloud storage, manually copying files) are fragile and easy to forget.

## Example prompts or workflows

1. I discover that PowerShell mangles backticks and emoji in API calls. I tell Copilot to remember this. On my laptop the next day, Copilot already knows.
2. I set a personal preference like "always use Python 3.12" or "prefer pnpm over npm". It applies on every device I use.
3. I build up a set of personal coding conventions over weeks. When I get a new machine, they're already there after `copilot /login`.
4. A team lead sets org-wide instructions via a repo. A developer supplements with personal preferences that roam with their GitHub account.

## Additional context

This has bitten me across three separate sessions — Copilot keeps re-learning the same PowerShell encoding lesson because session memory is local-only. The session store DB doesn't roam either.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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