This skill should be used when the user wants to "create a new Python ADK sample", "scaffold a new Python sample recipe", "generate a new Python sample in contrib", "add a new Python sample to the adk-samples repository", or "create a Python adk sample". It utilizes an automated script to copy template files and resolve basic placeholders.
76
95%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Use this skill to scaffold a new Python ADK sample recipe inside this repository using the automated script at scripts/scaffold.py.
scripts/scaffold.py to create the recipe. Never write the boilerplate files manually.You must have both pieces of information below before running the script. If either is missing or was not explicitly provided by the user, ask for it — do not assume or use a default.
The user must choose one of these two valid locations:
contrib/core/python/If the user has not specified which directory, ask them to choose. Do not proceed until a valid choice is confirmed.
The recipe name must satisfy all of the following rules:
a-z, -)If the user provided a name, validate it against these rules before proceeding. If it is invalid, explain which rule it violates and ask for a corrected name. Do not proceed until a valid name is confirmed.
Execute the scaffold script:
python3 .agents/skills/scaffold-python-recipe/scripts/scaffold.py --name <RECIPE_NAME> --output-dir <OUTPUT_DIRECTORY>The script accepts exactly two flags: --name (required) and --output-dir (required). Do not pass any other flags.
Once the script succeeds, inform the user the recipe is ready and highlight the following required next steps:
manifest.yaml: Fill in the description, ownership.team, and ownership.poc fields (placeholders are marked with TODO:). This file is validated by CI and must not contain placeholder values. Use the generate-manifest skill if you want it populated automatically from the source code.README.md: Replace the generic title and description with details specific to this recipe (ownership/POC live in manifest.yaml, above — not in the README).Then, provide these quick-start commands:
cd <OUTPUT_DIRECTORY>/<RECIPE_NAME>
uv sync # install dependencies
uv run pytest # run the test suite
uv run adk run app # run the agent interactivelyDo not make any further changes. End your turn.
a862ebc
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.