Passive Prompt Coaching for Copilot CLI
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- cli, shell
- 领域
- ai, cli, developer-experience
调研方向
The issue describes a new feature for passive prompt coaching in Copilot CLI. Start by exploring the existing CLI codebase to understand how prompts are processed and sessions are tracked. Look for entry points related to user interaction and AI response handling. The mockup plugin linked in the issue may provide initial implementation ideas. 'Done' means a coaching system that observes patterns and offers non-disruptive recommendations.
由索引模型根据 Issue 内容生成。
描述
Describe the feature or problem you'd like to solve
Prompt-coaching provides passive coaching in real time by observing prompting patterns across an entire session and offering contextual recommendations without disrupting the developer's workflow
Proposed solution
AI harnesses have become incredibly capable. It is remarkable to think that developers no longer need to be nearly as explicit, verbose, or specific in their instructions as they did just over a year ago.
However, we still need to be mindful that complacency can creep in over time, particularly as we become more accustomed to relying on AI.
Relevant research:
- Thinking Fast, Slow, and Artificially
- The Impact of Generative AI on Critical Thinking: Self-Reported Reductions in Cognitive Effort and Confidence Effects From a Survey of Knowledge Workers
Developers can also be wasteful with their AI token spend when they consistently fall into poor prompting habits, such as “prompt and pray”, failing to define success criteria, or providing ambiguous instructions that leave room for unintended or misleading results.
The challenge is that developers rarely stop mid-flow to reflect on the quality of their prompting.
This feature would provide passive, real-time coaching by observing prompting patterns across an entire Copilot CLI session and offering contextual recommendations without disrupting the developer's workflow.
Importantly, the feature would not block a task or automatically rewrite prompts. Instead, it would identify behavioural anti-patterns over the course of a session and coach developers towards more effective AI collaboration.
For example, it could identify recurring patterns such as:
- repeatedly issuing corrective follow-up prompts because the original request lacked clear success criteria;
- providing ambiguous instructions that repeatedly produce unintended results;
- repeatedly re-explaining context that could have been established more effectively;
- using a “prompt and pray” approach rather than giving the agent clear constraints or validation criteria.
The goal is not to judge individual prompts, but to help developers recognise patterns in how they collaborate with AI over time, improving prompting habits while preserving the natural flow of development.
Example prompts or workflows
Potential examples of helpful advice
To activate:
/coaching on
_User Prompt: Analyse this dataset_
_Coach: Your prompt requests analysis but doesn't specify the outcome. Consider adding desired metrics, trends, anomalies, or business questions._
Coach: You've submitted 5 successive prompts that rephrase the request without adding context. Consider providing error details, sample output, or acceptance criteria.
Coach: This prompt contains multiple objectives. Breaking it into smaller tasks may improve reliability and reduce token usage.
Coach: Large amounts of unrelated context were included. Omitting irrelevant information may reduce cost without impacting answer quality.
Coach: You've accepted several generated solutions without modification. Consider validating assumptions before implementation_
Additional context
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/copilot-cli 的其他 Issue
-
triage
难度 2/5 1-3 小时 新手友好度 75/100
github/copilot-cli#4932 ·
-
triage
难度 2/5 1-3 小时 新手友好度 78/100
github/copilot-cli#4909 ·
-
triage
难度 2/5 1-3 小时 新手友好度 76/100
github/copilot-cli#4906 ·
-
triage
难度 2/5 1-3 小时 新手友好度 72/100
github/copilot-cli#4848 ·
-
area:agents area:mcp
难度 2/5 1-3 小时 新手友好度 72/100
github/copilot-cli#4729 ·
查看 github/copilot-cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
elastic/gradle-plugins#156 ·
-
Priority/High ready-for-agent Severity/Major Type/Bug
难度 2/5 1-3 小时 新手友好度 75/100
-
comp/cli P3 type/docs
难度 2/5 1-3 小时 新手友好度 75/100
NousResearch/hermes-agent#119756 · 1 条评论 ·
-
comp: build/pipeline type: bug version: current (v17+)
难度 2/5 1-3 小时 新手友好度 74/100
angular/angularfire#3766 ·
-
out-of-date
难度 2/5 1-3 小时 新手友好度 70/100
CachyOS/CachyOS-PKGBUILDS#1903 ·