Prompt template
Run these steps in order.
01
Decide the skill scope and location: choose either workspace-specific (<workspace-root>/.agent/skills/<skill-folder>/) or global (~/.gemini/antigravity/skills/<skill-folder>/) based on use case. 02
Create a skill folder named with lowercase letters and hyphens to maintain consistency. 03
Inside the skill folder, create a SKILL.md file including proper frontmatter with at least a clear, focused description of the skill. 04
Utilize the SKILL.md template sections: name, description, when to use, how to use, best practices, examples, and triggers to guide usage and identification. 05
Optionally, add helper scripts in 'scripts/' directory, examples in 'examples/' folder, and templates or assets in 'resources/' folder for more complex skills. 06
Write a clear and specific skill description incorporating relevant keywords and scenarios to assist the agent in applying the skill correctly. 07
Include decision trees or workflow steps if the skill requires choosing among different approaches. 08
Define clear trigger keywords or phrases that indicate when the skill should be activated. 09
Validate the skill's folder structure and frontmatter to ensure completeness and proper YAML formatting. 10
If including scripts, instruct the agent to run them with '--help' before examining source code, to keep context focused.