Add a proactive "verify against official docs" step before code generation
@eliasecchig ya está trabajando en esto.
Desde el 1/7/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
What is your feature suggestion?
Add a proactive "verify against official docs" step in the workflow and phase-specific skills (especially google-agents-cli-workflow, google-agents-cli-deploy, and google-agents-cli-adk-code) that instructs the coding agent to fetch and read relevant official documentation before writing code or deployment configs, rather than relying on its training data for version-sensitive details.
Currently, the only doc-lookup guidance lives in the Troubleshooting section of google-agents-cli-workflow Principle 2 ("Use WebFetch on URLs from the ADK docs index curl https://adk.dev/llms.txt for deep dives"), which is reactive — it tells the agent what to do after something breaks.
Proposed change: Add a doc-verification gate at two levels:
-
In
google-agents-cli-workflowPhase 3 (Build), before writing or modifying agent code:Before writing any code in this phase, fetch the relevant official doc page (e.g., from
https://adk.dev/) for any API, model name, SDK method, or deployment target you plan to use. Verify that the syntax, parameter names, and specs match the current documentation. Do not rely on training data for version-sensitive details. -
At the top of
google-agents-cli-deployandgoogle-agents-cli-adk-code, a similar instruction:Before writing any code or configuration in this phase, fetch and read the relevant official documentation to confirm that the APIs, model names, and deployment specs you plan to use are current.
This is consistent with the existing pattern where the workflow skill already says "Re-read the relevant skill before each phase — not after you've already started and hit a problem." The same principle should extend to official docs.
What will this enable you to do?
This would significantly reduce the debug cycle time when building and deploying ADK agents.
Current failure pattern I'm repeatedly hitting:
- Coding agent generates code or deploy config using outdated syntax from its training data (e.g., deprecated model names, changed API parameters, old Terraform resource attributes)
- Code fails at runtime or deployment
- During debugging, the agent itself identifies the root cause: "the API spec has been updated" or "this syntax was changed in a newer version"
- Agent then fetches the official docs, finds the correct current usage, and fixes the code
Steps 3–4 happen reactively and repeatedly. The debug loop with these skills is slow, and these errors are entirely preventable if the agent checks docs upfront.
Since every coding agent (Gemini CLI, Claude Code, Codex, Antigravity) has the same stale-training-data problem, the skills layer is the ideal place to mitigate it — it's agent-agnostic and the fix is just a few lines of instruction text in the skill markdown files.
Additional context
- agents-cli version: 0.5.1
- Coding agents tested: Claude Code, Antigravity
- OS: Windows (ARM64)
The fix is lightweight — it's a few lines of instruction text in the existing skill markdown files, not a code change. Happy to provide specific examples of APIs/model names that caused failures if that would be helpful.
- Lenguaje dominante
- Python
- Estrellas
- 6k
- Forks
- 686
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de google/agents-cli
-
documentation needs review
Dificultad 2/5 1-3 horas Aptitud para principiantes 92/100
google/agents-cli#86 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
google/agents-cli#95 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
google/agents-cli#94 · 1 asignado ·
-
needs review
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
google/agents-cli#92 · 2 comentarios ·
-
When an extension is applied, there is a warning emitted for EVERY commandPosiblemente ocupada @asrujana-44 la tomó hace 12 días. Abierto
google/agents-cli#91 · 1 comentario · 1 asignado ·
Todos los issues de google/agents-cli
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
QuantEcon/lecture-python-programming#642 ·
Los mantenedores suelen responder en 1 día
-
area/config area/profiles comp/cli needs-decision P3 sweeper:risk-compatibility type/feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
NousResearch/hermes-agent#133697 ·
Los mantenedores suelen responder en 1 día
-
enhancement needs-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
core
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
vectorize-io/hindsight#5279 ·
Los mantenedores suelen responder en 1 día