Prompt template
Run these steps in order.
01
Determine the purpose of the new skill, including key tasks and conventions it will address. 02
Decide where the skill should reside: workspace-specific location (<workspace-root>/.agent/skills/<skill-folder>/) or global location (~/.gemini/antigravity/skills/<skill-folder>/). Confirm with the user if location is unspecified. 03
Create the skill folder using lowercase letters and hyphens in the name. 04
Create a SKILL.md file in the folder with frontmatter including a clear, specific 'description' and optional 'name'. 05
Write the skill documentation using the SKILL.md template, covering: skill overview, when to use, how to use (step-by-step), best practices, triggers, decision trees if complex, and examples. 06
Optionally add additional folders for scripts (/scripts), examples (/examples), and resources (/resources) to support the skill. 07
Verify all files and frontmatter are valid and that the description is detailed and keyword-rich to help the agent decide when to apply the skill.