lips85 avatar

convert-other-to-antigravity-skills

Converts existing skills to the Antigravity standard (Project-root relative paths, uv dependency man

作者 lips85|オープンソース

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