retrieving-developer-knowledge

Retrieves and synthesizes official Google developer documentation via MCP tools or REST API.

1|Updated Aug 24, 2026
One-click install
npx skills add https://github.com/danilonovaisv/DAN-IMAGES-PROMPTS-2 --skill retrieving-developer-knowledge-danilonovaisv
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: retrieving-developer-knowledge
Source: https://github.com/danilonovaisv/DAN-IMAGES-PROMPTS-2/tree/main/agent/skills/retrieving-developer-knowledge
Command: npx skills add https://github.com/danilonovaisv/DAN-IMAGES-PROMPTS-2 --skill retrieving-developer-knowledge-danilonovaisv

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Developers often rely on outdated or hallucinated knowledge when working with Google Cloud, Gemini, Android, Firebase, and other Google platforms. This Skill grounds answers in official Google documentation by querying the Developer Knowledge MCP server or REST API, ensuring CLI commands, IAM permissions, and API syntax are accurate and current. ## Core Features & Use Cases - Documentation Search & Retrieval: Uses search_documents, get_documents, and answer_query MCP tools, with a curl-based REST API fallback when MCP tools are unavailable. - Broad Domain Coverage: Searches official docs across Google Cloud, AI/Gemini, Android, Chrome, Web, Flutter, Dart, Go, Firebase, TensorFlow, and more. - Failure-Aware Workflow: Detects failed lookups (401/403, PERMISSION_DENIED, empty results) and transparently reports them instead of fabricating answers. - Use Case: Ask how to mount a Filestore NFS share on Cloud Run, and receive the exact gcloud command with correct flags sourced from official documentation. ## Quick Start Ask the agent to look up the official Google Cloud documentation for creating a custom log-based metric and return the exact gcloud command.

Frequently Asked Questions about retrieving-developer-knowledge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search official Google Cloud documentation from an AI agent?▼

Use the Developer Knowledge MCP tools: call search_documents with 2-5 focused keywords for CLI flags and syntax, or answer_query for conceptual guides. If MCP tools are unavailable, query the REST API at developerknowledge.googleapis.com with curl.

What is the difference between search_documents and answer_query?▼

search_documents returns raw documentation chunks matching keywords, best for exact CLI flags, IAM permissions, and parameter names. answer_query performs server-side RAG and returns a synthesized answer with citations, best for conceptual guides and multi-step workflows.

Which Google platforms does the Developer Knowledge API cover?▼

It covers docs.cloud.google.com, ai.google.dev, Firebase, Android, Chrome, web.dev, Flutter, Dart, Go, TensorFlow, Apigee, Google Maps Platform, and Fuchsia, among other official Google developer domains.

How do I authenticate Developer Knowledge REST API requests?▼

Pass a bearer token from gcloud auth print-access-token with your quota project header, falling back to application-default credentials on auth errors. Alternatively, pass an API key via the key query parameter if DEVELOPERKNOWLEDGE_API_KEY is configured.

What happens when the documentation lookup fails?▼

Failed lookups such as 401, 403, PERMISSION_DENIED, or empty results are treated as failures even if the tool reports no error. The workflow tries the alternate transport once, then plainly states the documentation could not be reached rather than presenting recalled content as retrieved.