github / github/copilot-cli

Expose Skill/MCP Configuration Errors to Agent and Enable Agent Self-Awareness and Corrective Guidance

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

描述

### Describe the feature or problem you'd like to solve

Skill/MCP configuration errors should be exposed to the agent so that it can become aware of the issue and provide users with appropriate correction suggestions.

### Proposed solution

**Required Behavior:**

- When a user runs the skill command and discovers that some or all skills fail to load, the error messages shown to the user (such as malformed YAML header) should also be exposed to the Copilot agent. When the user asks for modifications, the agent should be aware of the existing issues.

- When a user runs the mcp command and finds that some or all MCP configurations fail to load, the error messages displayed to the user (such as JSON formatting errors) should likewise be exposed to the Copilot agent. When the user requests changes, the agent should clearly understand where the problem lies.

- The Copilot agent should understand its own configuration format instead of searching for documentation online when responding to user issues. In practice, the agent often retrieves incorrect documentation and modifies the configuration using the wrong format, resulting in even more inconsistent and problematic outcomes.

### Example prompts or workflows

Sample prompts:
- I ran `skill` and got: "Malformed YAML header". Can you fix my skill configuration?
- The `skill list` command shows that 2 out of 5 skills failed to load. Error: "Invalid field 'descriptin' in metadata." Please help me correct it.
- I ran `mcp` and it says: "JSON parse error: Unexpected token } in position 245." Can you fix my json configuration?

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

Start by tracing the skill and mcp command flows and where their configuration errors are reported. Determine how those existing messages can reach the Copilot agent, then verify that failed skill or MCP configurations are identified accurately and that the agent provides corrective guidance using the documented formats.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
ai, cli
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
38/100

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

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