github / github/copilot-cli

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

Offen
#3,646 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:configuration area:mcp area:plugins
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, die Abläufe der skill- und mcp-Befehle nachzuverfolgen und zu ermitteln, wo ihre Konfigurationsfehler gemeldet werden. Ermittle, wie diese bestehenden Meldungen den Copilot agent erreichen können, und überprüfe anschließend, dass fehlgeschlagene skill- oder MCP-Konfigurationen korrekt identifiziert werden und der Agent anhand der dokumentierten Formate korrigierende Hinweise gibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
ai, cli
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
38/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.