agentleFS
SrejonKhanSrejonKhan/agent-skills/skills/create_skill/SKILL.md

create_skill

Skill3 starsChanged 2 months agoMITView on GitHub

Automates the creation of professional-grade Antigravity skills. Incorporates best practices for progressive disclosure, resource organization, and automatic agent registration.

3 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 5 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to define a new capability for Antigravity.

    line 8
  2. Very specific:

    Use write_to_file to create SKILL.md and related files.

    line 18
  3. Very specific:

    Use run_command to verify directory creation if not using write_to_file's auto-create.

    line 19
  4. Distinctive:

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

    line 25
  5. Very specific:

    Create the directory at c:/Users/ADMIN/.gemini/antigravity/skills/[skill_name]/.

    line 34
  6. Very specific:

    Progressive Disclosure: Keep it under 500 words. Refactor long context into references/.

    line 47
  7. Distinctive:

    Create the workflow trigger in both locations:

    line 63
  8. Very specific:

    Action: Add the new skill to the ## 🛠️ Available Skills section.

    line 81
  9. Distinctive:

    If the category exists, append the skill to it.

    line 84
  10. Very specific:

    If not, create a new category header ### [Category Name] and add the skill there.

    line 85
  11. Very specific:

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

    line 98
  12. Distinctive:

    Safety Constraints: If the skill involves executing code, deleting files, or making network requests, include a clear "Safety & …

    line 103

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

      ---
      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:

    ---
    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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.