github / github/copilot-cli

Startup banner 'N skill(s) failed to load' should name the failing skill(s)

未关闭
#3,263 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
area:plugins
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

## Problem

When Copilot CLI starts, it may display a banner like:

> ⚠️ 1 skill failed to load

The banner does **not** identify which skill failed. Running `/skills` also doesn't surface the error — every listed skill appears healthy, making it impossible to diagnose without digging into the process log files.

## Current behavior

- The `skills_loaded` telemetry event records `skill_error_count: 1` but no skill names.
- The only way to find the culprit is to grep the log for messages like `Skipping disabled MCP server: computer-use`.
- In this case the "failure" is a built-in MCP server (`computer-use`) that is intentionally disabled behind a feature flag, so the user can't act on it even after finding it.

## Expected behavior

1. **The startup banner should name the failing skill(s):**
`⚠️ 1 skill failed to load: computer-use (disabled)`

2. **`/skills` should have a way to surface errored/skipped skills** — e.g. a separate "Errors" section or a `/skills --errors` flag.

3. **Intentionally disabled built-in servers probably shouldn't count as errors at all** — a disabled-by-feature-flag server is not a user-actionable failure.

## Reproduction

1. Launch `copilot` (v1.0.45, enterprise plan, Windows).
2. Observe the "1 skill failed to load" banner.
3. Run `/skills` — no skill appears broken.
4. Grep the log: `Select-String -Path ~\.copilot\logs\process-*.log -Pattern "Skipping disabled"` → reveals `computer-use`.

## Environment

- Copilot CLI v1.0.45
- Windows 10 (10.0.26200)
- Node v24.15.0
- Enterprise plan

贡献指南

打开贡献指南

调研方向

未指定实现文件或测试。跟踪启动横幅、skills_loaded telemetry 事件、/skills 渲染以及禁用 MCP 服务器的处理;完成标准应包括可采取行动的失败 skill 名称、展示被跳过或出错 skill 的方式,以及不为有意禁用的服务器计入错误数。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。