agentleFS
WlaegWlaeg/antigravity-pet/skills/hatch-pet/SKILL.md

hatch-pet

Skill16 starsChanged 6 days agoMITView on GitHub

孵化自定义 Antigravity 桌面宠物(hatch-pet 技能)。 当用户想用描述文字或参考图定制一只专属的桌面宠物角色、生成像素雪碧图与 pet.json 并立即换上时使用。

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use json-canvas, brandkit and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • wangzhuofengSkill

    json-canvas

    Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections. Use when working with .canvas files, creating visual canvases, mind maps, flowcharts, or when the user mentions Canvas files in Obsidian.

    Also in 3 projects that use this

  • AnasX7Skill

    brandkit

    Premium brand-kit image generation skill for creating high-end brand-guidelines boards, logo systems, identity decks, and visual-world presentations. Trained for minimalist, cinematic, editorial, dark-tech, luxury, cultural, security, gaming, developer-tool, and consumer-app brand systems. Optimized for intentional logo concepting, refined composition, sparse typography, strong symbolic meaning, premium mockups, art-directed imagery, and flexible grid layouts.

    Also in 3 projects that use this

  • OpenAISkill

    image-to-code

    Implement a selected image, screenshot, mockup, or Image Gen reference as a faithful, responsive frontend.

    Also in 3 projects that use this

  • JetBrainsSkill

    doc-coauthoring

    Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

    Also in 3 projects that use this

  • JetBrainsSkill

    brand-guidelines

    Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

    Also in 3 projects that use this

  • StrayDragonSkill

    ui-ux-pro-max

    UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.

    Also in 4 projects that use this

  • +1 more from JetBrains

The file

Files
SKILL.md

孵化自定义桌面宠物(Hatch Pet)

遵循 Antigravity Pet v2 像素雪碧图规范 为用户生成并装载专属桌面宠物。

宠物包结构与位置

保存到以下任一目录(推荐写入插件目录以便立即加载):

  • C:\Users\Nelson\.gemini\config\plugins\antigravity-pet\pets\<pet-id>\
  • 或 %USERPROFILE%\.antigravity-pet\pets\<pet-id>\

模式 A:极简单图模式(推荐快速孵化,最少 2 个文件)

桌面端程序已内置程序化动画引擎(待机呼吸、抛物线跳跃、果冻回弹、ScaleX = -1 翻转),因此用户提供单张参考图或仅需快速生成时,只需 pet.json + idle.png:

{
  "id": "<pet-id>",
  "displayName": "<中文或英文显示名>",
  "description": "<简短介绍>",
  "spriteVersionNumber": 3,
  "themeColor": "#06B6D4",
  "idleImage": "idle.png"
}

模式 B:完整 8×11 精灵图模式(多帧精细动作)

每个宠物包包含 pet.json 与 spritesheet.png:

1. pet.json

{
  "id": "<pet-id>",
  "displayName": "<中文或英文显示名>",
  "description": "<简短介绍>",
  "spriteVersionNumber": 2,
  "spritesheetPath": "spritesheet.png"
}

2. spritesheet.png(8×11 精灵图网格规范)

  • 透明背景 PNG(32 位 RGBA)
  • 网格尺寸:8 列 × 11 行(共 88 格)
  • 单格尺寸:192 × 208 px
  • 整图分辨率:1536 × 2288 px
  • 行动作映射(未使用的行尾单元格必须保持全透明):
    • Row 0: idle(待机呼吸 + 眨眼,推荐 6 帧)
    • Row 1: running-right(向右小跑,推荐 8 帧)
    • Row 2: running-left(向左小跑,推荐 8 帧)
    • Row 3: waving(挥手打招呼,推荐 4 帧)
    • Row 4: jumping(开心跳跃,推荐 5 帧)
    • Row 5: failed(出错晕眩,推荐 8 帧)
    • Row 6: waiting(等待输入/感叹,推荐 6 帧)
    • Row 7: running(忙碌工作/敲键盘,推荐 6 帧)
    • Row 8: review(完成/星星庆祝,推荐 6 帧)
    • Row 9–10: look-directions(顺时针 16 个看鼠标方向,第 0 帧朝正右、第 4 帧朝正下、第 8 帧朝正左、第 12 帧朝正上)

v3 宠物包扩展字段(可选)

  • spriteVersionNumber: 推荐设为 3。
  • themeColor: 16 进制主色调(如 "#06B6D4"),用于匹配角色专属光环与类像素风状态气泡边框。
  • sounds: 自定义 .wav 音效映射(相对于宠物目录,支持 ready、needs_input、blocked),例如:
    "sounds": { "ready": "sounds/ready.wav", "needs_input": "sounds/ask.wav" }
  • 分动作序列帧目录回退:如果未提供 spritesheet.png,也可按动作名建立子目录(idle/、walk_right/、walk_left/、wave/、jump/、blocked/、needs_input/、running/、ready/),按文件名排序放入逐帧 .png。

生成与立即启用流程

  1. 可基于用户描述参考 generate-default-pets.ps1 的 System.Drawing 像素画生成器快速构建高质量无锯齿 1536×2288 精灵图(或结合图像生成工具产出后再用脚本按 192×208 网格对齐裁剪)。
  2. 写入 pet.json 与 spritesheet.png 后,通过本地接口热重载并切换到新宠物(或打包为 .zip 在设置面板点击「导入宠物包」一键导入):
    Invoke-RestMethod -Uri "http://127.0.0.1:47821/reload" -Method Post -Body '{}' -ContentType "application/json"
    Invoke-RestMethod -Uri "http://127.0.0.1:47821/skin" -Method Post -Body '{"skin":"<pet-id>"}' -ContentType "application/json"

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.