All skills
generate-python-runnability-test
Generate a minimal tests/test_runnability.py that imports the recipe's agent module and asserts root_agent is not None.
- Part of google/adk-recipes
- 11 installs
- Developer Tools · Coding skills
When to use it
You have a Python recipe with agent.py but no tests/test_runnability.py, and python-validate-recipe.yml fails on the missing required file.
For example
You say
Use generate-python-runnability-test on core/python/cross-session-memory. Dry-run first so I can see the test before it's written.
You get
- tests/test_runnability.py
- Dry-run report table
- Generated test preview
How it works
- Parses agent.py and ancestor __init__.py files with ast to decide which import-time side effects to mock and which env vars to set.
- Checks whether the recipe root is importable and writes tests/conftest.py with a path shim only when needed.
- Never overwrites an existing tests/test_runnability.py without --overwrite, and never overwrites an existing tests/conftest.py.
Before installing
This skill includes 3 scripts your assistant may run on your computer.
More Coding skills
See all- grill-me1.7MInterviews you relentlessly to sharpen a plan or design before you commit to it.
- grill-with-docs1.4MInterviews you hard about a plan while also writing decision records and a glossary as you go.
- caveman667kMakes the agent answer in terse caveman speech, dropping fluff but keeping every technical fact.
- lark-skill-maker496kTurns Lark API operations into reusable custom skills for the CLI.
Also in this pack
- retail-virtual-tryon19Builds a virtual try-on agent that generates image and video try-ons using Gemini and Veo on Google Cloud.
- retail-product-search17Builds a product search agent with semantic search and RAG on Google Cloud, from catalog ingestion to deployment.
- github-pr-review13Reviews a GitHub pull request and posts inline comments in a natural human voice, drafted for your approval first.
- generate-manifest12Scans an ADK recipe directory and generates a manifest.yaml that matches the repo schema.