Prompt template
Run these steps in order.
01
Determine the purpose and key features of your new skill to address specific tasks or capabilities. 02
Decide skill location: workspace-specific (`<workspace-root>/.agent/skills/<skill-folder>/`) for project-focused workflows or global (`~/.gemini/antigravity/skills/<skill-folder>/`) for general-purpose use; if unsure, ask the user. 03
Create the skill folder using lowercase letters and hyphens for spaces. 04
Within the skill folder, create a mandatory SKILL.md file starting with frontmatter including a clear, specific description and optionally a name (defaulting to folder name). 05
Use the provided SKILL.md markdown template to write the main instructions, including when to use the skill, how to use it, best practices, examples, and triggers (keywords/phrases indicating use). 06
For complex skills, add scripts in a scripts/ folder, reference implementations in examples/, and templates or assets in resources/. 07
Validate your skill by checking for correct YAML frontmatter, clear and specific descriptions, and existence of all referenced files.