Prompt template
Run these steps in order.
01
Determine the scope and location for your new skill: workspace-specific (<workspace-root>/.agent/skills/<skill-folder>/) or global (~/.gemini/antigravity/skills/<skill-folder>/). 02
Create a skill folder using lowercase letters and hyphens for spaces. 03
Create a SKILL.md file inside the skill folder with proper frontmatter containing at least a clear description. 04
Use the provided SKILL.md template including sections like name, description, when to use, how to use, best practices, examples, and triggers. 05
For complex skills, optionally add helper scripts in a 'scripts/' folder, examples in an 'examples/' folder, and templates or assets in a 'resources/' folder. 06
Write a clear, focused skill description including relevant keywords and usage scenarios to help the agent decide when to apply the skill. 07
Include decision trees or workflow steps if the skill involves choosing between multiple options or approaches. 08
Define clear triggers—keywords or phrases—that activate the skill’s usage. 09
Validate the skill structure and frontmatter for correctness and completeness before using. 10
When scripts are included, instruct the agent to run them with '--help' first to understand their usage rather than parsing the entire code.