github / github/copilot-cli

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

Aperta
#3,646 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:configuration area:mcp area:plugins
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia tracciando i flussi dei comandi skill e mcp e individuando dove vengono segnalati i relativi errori di configurazione. Determina come questi messaggi esistenti possano raggiungere il Copilot agent, quindi verifica che le configurazioni skill o MCP non riuscite vengano identificate accuratamente e che l’agente fornisca indicazioni correttive usando i formati documentati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
shell
Ambito
ai, cli
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.