Instruction-only workflow for formatting, editing, and creating Google Docs using the existing gog skill/CLI. Use when a user asks to format a Google Doc, co...
文档
Google Developer Knowledge
试用Retrieve current, source-backed official Google developer documentation for Google Cloud, Firebase, Android, Google AI, Gemini CLI, Flutter, Go, Maps, Web, T...
它能做什么
Retrieve current, source-backed official Google developer documentation for Google Cloud, Firebase, Android, Google AI, Gemini CLI, Flutter, Go, Maps, Web, TensorFlow, and related products. Use for setup, migrations, troubleshooting, architecture, and code examples when current Google documentation matters.
技能文档
Google Developer Knowledge — Official Google Docs Skill
Use this skill when the task needs current official Google developer documentation for Google Cloud, Firebase, Android, Google AI, Gemini CLI, Flutter, Go, Maps, Web, TensorFlow, or other products indexed by the Developer Knowledge corpus.
Core Rule
Use mcporter capability discovery from references/mcporter-workflow.md. Select only a healthy server exposing Google Developer Knowledge search, full-document retrieval, and grounded-answer capabilities. Do not assume a server alias, URL, tool-name prefix, authentication arrangement, or native tool wrapper.
Tool Choice
- Start with
search_documentsfor most research. It returns official documentation chunks withparent,id, andcontent. - Use
get_documentswith returnedparentdocument names when snippets are insufficient or citations need full-page context. - Use
answer_queryfor a quick grounded synthesis only when its references are sufficient. If it returns 429, times out, or lacks adequate references, fall back tosearch_documentsplusget_documents.
Decision Checkpoints
- 🔴 CHECKPOINT — Capability discovery: Parse the selected route returned by discovery into
gdk_server,gdk_search_tool,gdk_get_tool, andgdk_answer_tool. If discovery finds no compatible server, record the reason and use REST only withDEVELOPERKNOWLEDGE_API_KEYor OAuth credentials plus a quota project; otherwise use an official-document fallback. - 🔴 CHECKPOINT — Evidence sufficiency: For version-sensitive, pricing, quota, security, or migration claims, retrieve the relevant full document with
get_documents. A search snippet or ananswer_queryresponse alone is not enough. - 🔴 CHECKPOINT — Retrieval budget: Retrieve no more than three parent documents by default. Ask before broad extraction, offline use, or a larger document set.
- 🔴 CHECKPOINT — Output trace: State the selected server or fallback, the retrieval method, and source URLs or document URIs. If the needed detail is absent, mark it unverified rather than infer it.
Quick Commands
# Run capability discovery from references/mcporter-workflow.md first.
gdk_route=''
gdk_server="$(jq -r '.server' <<<"$gdk_route")"
gdk_search_tool="$(jq -r '.tools.search' <<<"$gdk_route")"
gdk_get_tool="$(jq -r '.tools.get' <<<"$gdk_route")"
gdk_answer_tool="$(jq -r '.tools.answer' <<<"$gdk_route")"
mcporter call "$gdk_server.$gdk_search_tool" \
--args '{"query":"Cloud Run minimum instances concurrency pricing"}' \
--output json
mcporter call "$gdk_server.$gdk_get_tool" \
--args '{"names":["documents/docs.cloud.google.com/run/docs/about-concurrency"]}' \
--output json
mcporter call "$gdk_server.$gdk_answer_tool" \
--args '{"query":"Compare Cloud Run and Cloud Functions for a new HTTP microservice."}' \
--output json
Workflow
- Define one focused documentation question.
- Pass Capability discovery and retain the returned route and tool names for the task.
- Search with
search_documents. - Pull the best
parentdocuments withget_documentswhen evidence requires full context. - Pass Evidence sufficiency, then synthesize only from retrieved evidence.
- Pass Retrieval budget and Output trace before responding.
Coverage and Limits
- Corpus covers public pages from Google developer domains such as
cloud.google.com,docs.cloud.google.com,firebase.google.com,developer.android.com,ai.google.dev,developers.google.com,web.dev,go.dev,docs.flutter.dev, andwww.tensorflow.org. - Some generated API reference prefixes are excluded from the corpus, especially language-specific Google Cloud reference directories.
- Data freshness target is usually 24-48 hours after documentation publication.
- Full documents are Markdown and can be large; retrieve only the pages needed for the answer.
Detailed Reference
Use references/mcporter-workflow.md for command patterns, field shapes, troubleshooting, and source-backed answer patterns.
Use references/api-fallback.md only after capability discovery fails, when validating a client integration, or when the task specifically asks for direct Developer Knowledge REST API calls. Never attempt REST without an API key or OAuth credentials plus a quota project.
Retrieval Record
For answers that depend on current Google behavior, include a concise record:
method:mcp,rest-api-key,rest-oauth, orofficial-document.server: selected MCP server, ornonewhen fallback was used.fallback_reason:none, discovery failure, rate limit, authentication failure, or corpus gap.sources: official URLs or document URIs used.verification:full-document,search-snippet-only, orunverified.
Anti-Patterns
| Do not | Why | Correct action |
|---|---|---|
| Hardcode a server alias or endpoint | Server names and authentication differ between runtimes. | Use capability discovery and retain the selected gdk_server for the task. |
| Treat a search snippet or unreferenced synthesis as proof | It can omit constraints or be stale for consequential claims. | Fetch the parent document and cite its URI before making the claim. |
| Retry timeout, rate-limit, or authentication errors without a bound | It hides an integration failure and can amplify requests. | Follow the Failure Matrix: one bounded 429 retry, then fallback or stop. |
| Call REST without an API key or OAuth token plus quota project | It creates a predictable authentication or quota failure. | Use REST only after an authentication preflight; otherwise use official Google documentation. |
| Claim a grounded answer after MCP or retrieval fails | The result is no longer evidence-backed. | State the fallback reason and mark unavailable details as unverified. |
| Send sensitive, proprietary, or credential material in documentation queries | Queries can leave the current environment. | Use product names, public error text, and minimal non-sensitive context only. |
Official Documents
These are the official documents this skill was built from:
https://developers.google.com/knowledge/apihttps://developers.google.com/knowledge/quickstarthttps://developers.google.com/knowledge/howtohttps://developers.google.com/knowledge/answer-queryhttps://developers.google.com/knowledge/mcphttps://developers.google.com/knowledge/reference/mcphttps://developers.google.com/knowledge/reference/mcp/tools_list/search_documentshttps://developers.google.com/knowledge/reference/mcp/tools_list/answer_queryhttps://developers.google.com/knowledge/reference/mcp/tools_list/get_documentshttps://developers.google.com/knowledge/reference/corpus-reference
相关技能
Search and extract Google data through the KeyAPI REST API using live official docs. Use for web search, images, videos, places, maps, reviews, news, shopping, Lens lookups, scholar, patents, autocomplete, and webpage extraction.
为 Go 项目编写并审查文档:godoc 注释、README、CONTRIBUTING、CHANGELOG、示例代码、API 文档与 llms.txt。
Google Docs Connector: Google Docs: create, edit, format documents. Tables, images, headers, page breaks. Export to PDF/DOCX/HTML. Share and manage permissions. Use when an agent needs google docs connector, document automation, report generation, template creation, collaborative editing, batch update, document id, requests through AgentPMT-hosted remote tool calls. Discovery terms: google docs connector, document automation, report generation, template creation, collaborative editing.
Google Routes (developers.google.com). Use this skill for ANY Google Routes request — searching and reading data. Whenever a task involves Google Routes, use...
Google Chat (workspace.google.com). Use this skill for ANY Google Chat request — searching and reading data. Whenever a task involves Google Chat, use this skill instead of calling the API directly.