Prompt template
Run these steps in order.
01
Decide the skill scope and location: choose workspace-specific (<workspace-root>/.agent/skills/<skill-folder>/) or global (~/.gemini/antigravity/skills/<skill-folder>/). 02
Create a skill folder named with lowercase letters and hyphens. 03
Inside the skill folder, create a SKILL.md file with proper frontmatter that includes at least a clear description. 04
Use the SKILL.md template containing sections: name, description, when to use, how to use, best practices, examples, and triggers. 05
Optionally add helper scripts in a 'scripts/' directory, examples in an 'examples/' folder, and templates or assets in a 'resources/' folder for more complex skills. 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 requires selecting between approaches. 08
Define clear triggers—keywords or phrases—that indicate when the skill should be used. 09
Validate the skill's folder structure and frontmatter for correctness and completeness. 10
If including scripts, instruct the agent to run them with '--help' first rather than reviewing full source code.