retrieving-developer-knowledge
Fungsinya
Skill ini mencari dokumentasi pengembang resmi Google dan mengembalikan panduan atau sintaks yang relevan, sehingga agent Anda menjawab berdasarkan dokumentasi terkini. Ditujukan untuk pengembang yang membangun di platform Google.
Kapan dipakai
- โSaat Anda memerlukan sintaks perintah atau API yang tepat untuk produk Google.
- โKetika Anda menginginkan panduan konseptual tentang platform pengembang Google.
- โSaat jawaban tentang alat Google jika tidak begitu akan bergantung pada ingatan.
Link skill
https://github.com/google/skills/blob/main/plugins/cloud/google-cloud-developer/skills/retrieving-developer-knowledge/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โApa sintaks terbaru untuk menampilkan daftar proyek Firebase, menurut dokumentasi resmi?โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill menjalankan pencarian dokumentasi untuk pertanyaan panduan atau sintaks, memastikan pencarian itu benar-benar berhasil, lalu memakai hasilnya dalam jawabannya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apakah perlu koneksi khusus?
Ia dapat memakai koneksi dokumentasi bawaan, atau permintaan web langsung jika itu belum diatur.
Bagaimana jika pencarian gagal?
Hasil yang gagal atau kosong tidak dianggap sebagai jawaban, dan skill melaporkan kegagalannya.
Platform apa saja yang dicakup?
Google Cloud, AI dan Gemini, Android, Chrome, web, Flutter, Go, Firebase, dan platform pengembang Google lainnya.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 22k
- Peringkat
- #10181
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
finding-google-skills
22kMembantu agent Anda menemukan panduan Google yang tepat untuk tugas pengaturan, seperti hosting, database, penyimpanan, login, atau penyajian model AI.
gcloud
22kMembantu agent Anda menulis dan memeriksa perintah gcloud Google Cloud, dengan mencari sintaks yang tepat sebelum menjalankan apa pun agar tidak menebak flag.
google-cloud-recipe-auth
22kMemandu agent Anda melalui identitas dan akses Google Cloud, termasuk cara orang dan layanan masuk serta izin apa yang mereka dapatkan.
google-cloud-recipe-onboarding
22kMemandu pengembang baru melalui langkah pertama di Google Cloud, termasuk memilih proyek, menautkan penagihan, dan men-deploy sumber daya pertama.
Skill serupa
graincrawl
394kMemungkinkan agent Anda mencari catatan dan transkrip rapat Granola yang tersimpan, memeriksa seberapa baru datanya, dan menghitungnya dalam periode tertentu.
notcrawl
394kMemungkinkan agent Anda mencari salinan tersimpan dari ruang kerja Notion, mencari halaman dan database, serta mengekspor halaman ke file Markdown.
knowledge-entities
394kMembantu agent Anda mengidentifikasi orang, perusahaan, dan proyek, lalu menulis halaman profil berisi sumber untuk mereka di Knowledge vault Anda.