skill-antigravity
4
总安装量
2
周安装量
#51140
全站排名
安装命令
npx skills add https://github.com/cocacha12/agent-skills --skill skill-antigravity
Agent 安装分布
antigravity
2
amp
1
opencode
1
kimi-cli
1
codex
1
github-copilot
1
Skill 文档
Antigravity Skills Master
This skill empowers Antigravity agents to extend their own capabilities through the creation and management of modular skills.
Core Principles
- Modularity: Each skill should focus on a single, well-defined task or domain.
- Context Efficiency: Keep instructions concise to minimize token usage while maintaining clarity.
- Discoverability: Use precise, keyword-rich descriptions in the frontmatter to help the agent identify relevance.
- Reliability: Provide checklists and error-handling logic for critical tasks.
- Singular Naming: Always use
.agent(singular), never.agents(plural), for the root configuration directory to ensure automatic tool detection.
Anatomy of a Skill
A standard Antigravity skill follows this structure:
SKILL.md: (Required) The core instruction set with YAML metadata.metadata.json: (Recommended) Structured metadata for theskillsCLI.scripts/: (Optional) Automation scripts or helper tools.examples/: (Optional) Reference implementations.resources/: (Optional) Static assets, templates, or rulesets.
Guidelines for Creating Skills
- Identify the Need: Create a skill when a task is repetitive, complex, or requires specialized domain knowledge.
- Setup Folder: Create a directory in
.agent/skills/(local) or your skills repository. - Define Metadata: Ensure the
namematches the folder name and thedescriptionis actionable. - Draft Instructions:
- Use clear sections (Goal, Requirements, Steps, Verification).
- Include GitHub-style alerts for critical warnings or tips.
- Add Mermaid diagrams for complex workflows.
Managing the Skills Ecosystem
- Local Workspace: Store project-specific skills in
.agent/skills/. - Global Library: Use
npx skills addto import skills from shared repositories. - Versioning: Update the
versionin frontmatter/metadata when making significant changes.
Verification Checklist
- Does the folder name match the
nameinSKILL.md? - Is the
descriptionclear enough for discovery? - Are all external dependencies (scripts) referenced correctly?
- Has the skill been tested in a real-world scenario?