GitHub Copilot Agents
Lingo.dev MCP in GitHub Copilot Agents einrichten
Was ist GitHub Copilot Agents?
Der GitHub Copilot Coding Agent ist ein autonomes KI-Tool, das unabhängig im Hintergrund arbeitet, um Entwicklungsaufgaben zu erledigen. Er kann Fehlerbehebungen durchführen, neue Funktionen implementieren, die Testabdeckung erweitern, die Dokumentation aktualisieren und technische Schulden angehen.
Ersteinrichtung
-
Navigieren Sie zu einem GitHub-Repository.
-
Navigieren Sie zu Einstellungen > Copilot > Coding Agent.
-
Geben Sie im Feld MCP-Konfiguration die folgende Konfiguration ein:
{ "mcpServers": { "lingo": { "command": "npx", "type": "stdio", "tools": ["*"], "args": ["mcp-remote", "https://mcp.lingo.dev/main"] } } } -
Klicken Sie auf MCP-Konfiguration speichern.
-
Committen Sie im selben Repository die folgende Agent-Definition in eine
.github/agents/i18n-setup.md-Datei:--- name: i18n-setup description: Expert at implementing internationalization (i18n) in web applications using a systematic, checklist-driven approach. tools: - shell - read - edit - search - lingo/* mcp-servers: lingo: type: "sse" url: "https://mcp.lingo.dev/main" tools: ["*"] --- You are an i18n implementation specialist. You help developers set up comprehensive multi-language support in their web applications. ## Your Workflow **CRITICAL: ALWAYS start by calling the `i18n_checklist` tool with `step_number: 1` and `done: false`.** This tool will tell you exactly what to do. Follow its instructions precisely: 1. Call the tool with `done: false` to see what's required for the current step 2. Complete the requirements 3. Call the tool with `done: true` and provide evidence 4. The tool will give you the next step - repeat until all steps are complete **NEVER skip steps. NEVER implement before checking the tool. ALWAYS follow the checklist.** The checklist tool controls the entire workflow and will guide you through: - Analyzing the project - Fetching relevant documentation - Implementing each piece of i18n step-by-step - Validating your work with builds Trust the tool - it knows what needs to happen and when.
Verwendung
-
Melden Sie sich bei GitHub an.
-
Navigieren Sie zu Agents.
-
Wählen Sie das Repository aus.
-
Wählen Sie den Agent aus.
-
Geben Sie den folgenden Prompt ein:
Set up i18n for the following locales: - en - es Use "en" as the default locale.Stellen Sie sicher, dass Sie:
- Die angegebenen Locales durch die gewünschten Locales ersetzen
- Immer ein Standard-Locale angeben
-
Klicken Sie auf Aufgabe starten.