retrieving-developer-knowledge
Was er macht
Er durchsucht die offizielle Google-Entwicklerdokumentation und liefert den passenden Leitfaden oder die passende Syntax, damit dein Agent aus aktueller Dokumentation antwortet. Gedacht ist das für Entwickler, die auf Google-Plattformen bauen.
Wann du ihn nutzt
- ✓Wenn du den genauen Befehl oder die API-Syntax für ein Google-Produkt brauchst.
- ✓Wenn du einen konzeptionellen Leitfaden zu einer Google-Entwicklerplattform willst.
- ✓Wenn eine Antwort zu einem Google-Tool sonst nur auf dem Gedächtnis beruhen würde.
Link zum Skill
https://github.com/google/skills/blob/main/plugins/cloud/google-cloud-developer/skills/retrieving-developer-knowledge/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Wie lautet laut der offiziellen Dokumentation aktuell die Syntax, um Firebase-Projekte aufzulisten?”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Er führt eine Dokumentationssuche für einen Leitfaden oder eine Syntaxfrage aus, prüft, ob die Suche tatsächlich erfolgreich war, und verwendet dann das Ergebnis in seiner Antwort.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Google Developer Knowledge
The Developer Knowledge skill provides access to official Google developer documentation across Google Cloud, AI/ML (ai.google.dev, ADK, TensorFlow), Android, Chrome, Web, Flutter, Go, Firebase, and other Google developer platforms via the Developer Knowledge MCP server or REST API fallback.
Workflow
- Direct Retrieval: When answering a technical question, execute a single documentation lookup directly within your current conversation context (do not delegate retrieval to subagents):
- If MCP tools are present in your environment: Call
answer_query(for conceptual guides/workflows) orsearch_documents(for CLI flags/syntax). - If MCP tools are not present: Execute a REST API request via
curlagainsthttps://developerknowledge.googleapis.com/v1. - A declared server is not always a connected server. Some clients cannot complete the MCP handshake with this server and expose no
answer_query,search_documentsorget_documentstool at all, even though the plugin declares one. Treat their absence as normal and use the REST fallback below.
- If MCP tools are present in your environment: Call
- Confirm the lookup succeeded before using it: A response that arrives is not automatically an answer.
PERMISSION_DENIED,UNAUTHENTICATED, HTTP 401 or 403, an empty result set, or any error payload is a FAILED lookup even when the tool itself reported no error. On a failed lookup, do not answer as though it had succeeded.- Rate Limits (HTTP 429 / Out of Quota): If calling
answer_queryor the REST:answerQueryendpoint returns an HTTP 429 (RESOURCE_EXHAUSTED/ out of quota error), this indicates server-side generative QA quota exhaustion. Do not treat this as an unrecoverable failure or fall back to ungrounded memory; immediately retry using the search endpoint (search_documentsfor MCP, ordocuments:searchDocumentChunksfor REST) with 2–5 focused keywords from the query. - Persistent Failures: Try the other transport once, and if that also fails, state plainly in your reply to the user that you could not reach Developer Knowledge and are answering without it. Presenting recalled documentation as a retrieved result is the worst available outcome, because nothing in the reply distinguishes it from a real lookup.
- Rate Limits (HTTP 429 / Out of Quota): If calling
- Immediate & Complete Solution Output: Immediately upon receiving the documentation response, output the complete, self-contained, and executable technical solution (commands with all required flags and placeholders, YAML/JSON configurations, or code snippets) directly in your response text.
Tool Selection & Usage
Choose the appropriate tool based on availability in your runtime environment:
1. Developer Knowledge MCP Tools (Preferred)
When MCP tools are present in your active tool definitions:
answer_query(query="..."): Use for conceptual guides, architectural comparisons, product choice overviews, and multi-step workflows. This tool has limited quota. If you get a 429 out of quota error, usesearch_documentsinstead.search_documents(query="..."): Use for granular CLI flags, exact syntax, parameter names, and IAM permissions (service.resource.verb). Use 2–5 focused keywords (e.g.,cloud run filestore nfs mount gcloud) rather than full conversational sentences.get_documents(names=["documents/{uri_without_scheme}"]): Fetch full documentation pages by resource name (e.g.names: ["documents/docs.cloud.google.com/run/docs/overview/what-is-cloud-run"]).
2. REST API Fallback
When the MCP tools are absent, query the Developer Knowledge REST API
(https://developerknowledge.googleapis.com/v1) with curl. Two credentials
work, and you should try them in this order.
An existing Google credential, preferred. If gcloud is authenticated,
pass a bearer token and your quota project. Nothing needs to be installed or
configured:
curl -s -X POST "https://developerknowledge.googleapis.com/v1:answerQuery" \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "X-Goog-User-Project: $(gcloud config get-value project 2>/dev/null)" \
-H "Content-Type: application/json" \
-d "{\"query\": \"How do I configure public read access on Cloud Storage?\"}"
If that fails to authenticate, on a 401, a 403, or any other credential error,
the account has a token the API will not accept. Substitute
gcloud auth application-default print-access-token for
gcloud auth print-access-token in the command above and try a
Häufige Fragen
Braucht er eine besondere Verbindung?
Er kann eine eingebaute Dokumentationsverbindung nutzen oder eine direkte Webanfrage, falls diese nicht eingerichtet ist.
Was ist, wenn die Suche fehlschlägt?
Ein fehlgeschlagenes oder leeres Ergebnis gilt nicht als Antwort, und der Skill meldet stattdessen den Fehler.
Welche Plattformen deckt er ab?
Google Cloud, KI und Gemini, Android, Chrome, das Web, Flutter, Go, Firebase und weitere Google-Entwicklerplattformen.
Details
Originalbeschreibung des Autors
Searches, retrieves, and synthesizes official Google developer documentation across Google Cloud, AI/Gemini, Android, Chrome, Web, Flutter, Go, Firebase, and other Google developer platforms. Integrates with the Developer Knowledge MCP server (search_documents, get_documents, answer_query) or the Developer Knowledge REST API fallback. Use when searching for gcloud CLI commands, API syntax, IAM permissions, official documentation, architectural comparisons, or product choice overviews. Don't use for local filesystem lookups or non-Google documentation.
repo: google/skills
Beliebtheit
- GitHub-Sterne
- 22k
- Platz im Ranking
- #10181
- Lizenz
- Apache-2.0
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
finding-google-skills
22kHilft deinem Agenten, die richtigen Google-Anleitungen für eine Einrichtungsaufgabe zu finden, etwa für Hosting, Datenbanken, Speicher, Anmeldung oder das Bereitstellen von KI-Modellen.
gcloud
22kHilft deinem Agenten, gcloud-Befehle für Google Cloud zu schreiben und zu prüfen, und schlägt die genaue Syntax nach, bevor etwas ausgeführt wird, damit keine Flags geraten werden.
google-cloud-recipe-auth
22kFührt deinen Agenten durch Identität und Zugriff in Google Cloud, einschließlich Anmeldung von Personen und Diensten und der Berechtigungen, die sie erhalten.
google-cloud-recipe-onboarding
22kFührt einen neuen Entwickler durch die ersten Schritte in Google Cloud, darunter Projektauswahl, Verknüpfung der Abrechnung und die Bereitstellung einer ersten Ressource.
Ähnliche Skills
graincrawl
394kLässt deinen Agenten gespeicherte Granola-Besprechungsnotizen und Transkripte durchsuchen, deren Aktualität prüfen und sie über einen Zeitraum zählen.
notcrawl
394kLässt deinen Agenten eine gespeicherte Kopie deines Notion-Workspace durchsuchen, Seiten und Datenbanken nachschlagen und Seiten als Markdown-Dateien exportieren.
knowledge-entities
394kHilft deinem Agenten, Personen, Firmen und Projekte zu erkennen und dafür belegte Profilseiten in deinem Knowledge-Vault zu schreiben.