Recursos
3Instal·la
npx skillscat add rominirani/antigravity-skills/adk-tool-scaffold Instal·la des del registre de SkillsCat.
SKILL.md
ADK Tool Scaffold Skill
This skill automates the creation of standard BaseTool implementations for the Agent Development Kit.
Instructions
Identify the Tool Name:
Extract the name of the tool the user wants to build (e.g., "StockPrice", "EmailSender").Review the Example:
Checkexamples/WeatherTool.pyto understand the expected structure of an ADK tool (imports, inheritance, schema).Run the Scaffolder:
Execute the python script to generate the initial file.python scripts/scaffold_tool.py <ToolName>Refine:
After generation, you must edit the file to:- Update the
executemethod with real logic. - Define the JSON schema in
get_schema.
- Update the
Example Usage
User: "Create a tool to search Wikipedia."
Agent:
- Runs
python scripts/scaffold_tool.py WikipediaSearch - Editing
WikipediaSearchTool.pyto add therequestslogic andqueryargument schema.