返回 Skill 列表
extension
分类: 开发与工程无需 API Key

convert-other-to-antigravity-skills

将现有技能转换为Antigravity标准(项目根目录相对路径,uv依赖管理)。在添加新技能或修复现有技能以使其在Antigravity环境中正常运行时,请使用此功能。

person作者: jakexiaohubgithub

Convert Skills to Antigravity Standard

This skill automatically updates a skill's SKILL.md file to follow the Antigravity project standards.

Prerequisites

This skill uses uv for dependency management.

  1. Initialize uv project (if not already done):
uv init .
  1. Add dependencies (No external packages required for this skill):
# uv add [package]
  1. Run the skill using uv run:
uv run [script_path] ...

Features

  • Path Correction: Updates .claude/skills or relative scripts/ paths to .agent/skills/<skill-name>/....
  • UV Integration: Replaces python3 commands with uv run.
  • Prerequisites: Adds the standard uv setup guide to the top of the skill documentation.

Usage

To convert a target skill, run the conversion script from the project root:

uv run .agent/skills/convert-other-to-antigravity-skills/scripts/convert.py <target-skill-name>

Examples

Convert a newly added skill named my-new-skill:

uv run .agent/skills/convert-other-to-antigravity-skills/scripts/convert.py my-new-skill

Convert a skill by path:

uv run .agent/skills/convert-other-to-antigravity-skills/scripts/convert.py .agent/skills/legacy-skill