Registry / google

google/adk-recipes/generate-python-runnability-test

Generates a lightweight `tests/test_runnability.py` for a Python recipe. The test just imports the recipe's agent module and asserts that `root_agent is not None` (and `app is not None` if the module defines one). The skill parses agent.py with `ast` to figure out which import-time side effects need mocking (`vertexai.init`, `google.auth.default`) and which env vars need setting (`GOOGLE_CLOUD_PROJECT`, `INTEGRATION_TEST`), and only emits the boilerplate the recipe actually needs. Runs in dry-ru

Agent skill · version 0.0.0-main.1794410837.g4509af1 · from google/adk-recipes

Install

npx yarkr-cli add skill:google/adk-recipes/generate-python-runnability-test

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:google/adk-recipes/generate-python-runnability-test
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:google/adk-recipes/generate-python-runnability-test

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:google/adk-recipes/generate-python-runnability-test

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.