Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add rominirani/antigravity-skills --skill "adk-tool-scaffold"
Install specific skill from multi-skill repository
# Description
Scaffolds a new custom Tool class for the Agent Development Kit (ADK).
# SKILL.md
name: adk-tool-scaffold
description: Scaffolds a new custom Tool class for the Agent Development Kit (ADK).
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.
bash
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.
Example Usage
User: "Create a tool to search Wikipedia."
Agent:
1. Runs python scripts/scaffold_tool.py WikipediaSearch
2. Editing WikipediaSearchTool.py to add the requests logic and query argument schema.
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.