krishnakanthb13/antigravity_global_skills

create_skill

Automates the creation of professional-grade Antigravity skills.

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/krishnakanthb13/antigravity_global_skills --skill create_skill

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Create Skill

Use this skill to define a new capability for Antigravity. It enforces a professional structure inspired by industry best practices (conciseness, progressive disclosure, and modularity).

Inputs

  • Skill Name: The name of the skill (snake_case).
  • Description: A short, action-oriented summary of what the skill does.
  • Instructions: The core logic or checklist for the skill.

Tooling Strategy

  • Use write_to_file to create SKILL.md and related files.
  • Use run_command to verify directory creation if not using write_to_file's auto-create.

Workflow

1. Design & Strategy

Before creating files, ask the user (or deduce from context):

  • Trigger: What specifically should trigger this skill? (This goes into the description).
  • Complexity:
  • Simple: Just a SKILL.md checklist.
  • Complex: Needs scripts/ (for tools) or references/ (for docs).

2. Create Skill Structure

Create the directory at c:/Users/ADMIN/.gemini/antigravity/skills/[skill_name]/. Based on Complexity, create subfolders if needed:

  • [skill_name]/scripts/ (Executable code)
  • [skill_name]/references/ (Documentation)
  • [skill_name]/assets/ (Templates/Images)

3. Write SKILL.md (The "Concise" Rule)

  • Frontmatter:
  • name: snake_case_name
  • description: CRITICAL. This is what the AI router reads.
  • Body:
  • Progressive Disclosure: Keep it under 500 words. Refactor long context into references/.
  • Structure:
markdown
        ---
        name: [skill_name]
        description: [description]
        ---
        
        # [Human Readable Title]
        
        [Instructions, prompts, and steps provided by the user]

4. Register Slash Command (Workflow)

Create the workflow trigger in both locations:

  1. c:/Users/ADMIN/.gemini/antigravity/skills/.agent/workflows/[skill_name].md
  2. C:\Users\ADMIN\.gemini\antigravity\global_workflows\[skill_name].md
  • Content:
markdown
    ---
    description: [Short, action-oriented summary]
    ---
    1. Run the [skill_name] skill.

5. Update README.md

  • Target: c:/Users/ADMIN/.gemini/antigravity/skills/README.md
  • Action: Add the new skill to the ## 🛠️ Available Skills section.
  • Logic:
  • Determine the appropriate category (header) for the skill (e.g., Development, Documentation, Strategy).
  • If the category exists, append the skill to it.
  • If not, create a new category header ### [Category Name] and add the skill there.
  • Format: * [**[Human Name]**](./[skill_name]/SKILL.md) (/[skill_name]) - [Short description]

6. Final Confirmation

Confirm to the user:

  • Structure created in skills directory.
  • Slash command /[skill_name] ready in both local and global workflow folders.
  • Documentation file README.md updated.

Skill Design Principles (Advanced)

When generating instructions for SKILL.md, enforce these agentic design patterns:

  • Single Responsibility: A skill should do exactly one thing exceptionally well. If it's doing two things, it should be two skills.
  • Observable Actions: Favor instructions that produce tangible output (files, git commits, diagrams) rather than just returning text in the chat.
  • Fail Gracefully: Explicitly instruct the skill to stop and ask the user for clarification if required context, files, or permissions are missing, rather than guessing.
  • Safety Constraints: If the skill involves executing code, deleting files, or making network requests, include a clear "Safety & Verification" step.
같은 저장소의 Skills

더 많은 Skills

모든 Skills