petdex

GitHub

管理像素宠物目录的CLI工具,支持浏览、安装、提交和编辑宠物 artwork。适用于用户请求编码伴侣、安装或发布作品时调用。

.claude/skills/petdex/SKILL.md crafter-station/petdex

触发场景

用户请求安装或浏览宠物 用户希望提交或更新个人艺术作品

安装

npx skills add crafter-station/petdex --skill petdex -g -y
更多选项

非标准路径

npx skills add https://github.com/crafter-station/petdex/tree/main/.claude/skills/petdex -g -y

不安装直接使用

npx skills use crafter-station/petdex@petdex

指定 Agent (Claude Code)

npx skills add crafter-station/petdex --skill petdex -a claude-code -g -y

安装 repo 全部 skill

npx skills add crafter-station/petdex --all -g -y

预览 repo 内 skill

npx skills add crafter-station/petdex --list

SKILL.md

Frontmatter
{
    "name": "petdex",
    "description": "Browse, install, submit, and edit pixel-art pets with the Petdex CLI. Use when a user asks for a coding companion, wants to install a Petdex pet, or wants to publish or update artwork they own."
}

Petdex

Use the published petdex CLI for the catalog. Node.js 20 or later is required.

Read the current command help before using unfamiliar flags:

bunx petdex --help
bunx petdex --version

If Bun is unavailable, use npx -y petdex for the same commands.

Browse and install

bunx petdex list
bunx petdex install boba
bunx petdex install boba mochi

Choose a slug from the catalog. Installation writes the pet to both ~/.petdex/pets/<slug>/ and ~/.codex/pets/<slug>/. Report the installed slugs and any command failure.

Submit artwork

Publish only artwork the user has asked to submit, with the license they selected. If the license is missing, ask rather than choosing the rights for them.

bunx petdex login
bunx petdex whoami
bunx petdex submit ./my-pet --license cc-by

Login opens a browser and stores credentials locally. A headless session needs an existing login; never ask the user to paste tokens.

The example uses CC BY. Supported license IDs are cc0, cc-by, cc-by-sa, cc-by-nc, and all-rights-reserved. Each pet folder needs pet.json and spritesheet.webp or spritesheet.png. The sheet must use the supported 8-by-9 or 8-by-11 atlas layout. A ZIP or a parent directory containing multiple pets is also accepted.

Let duplicate detection run normally. Use --force only when the user wants duplicate submissions. Report the submission result; submission is not approval or publication in the gallery.

Edit a pet the user owns

bunx petdex edit boba --desc "A tiny otter sipping bubble tea"
bunx petdex edit boba --sprite ./spritesheet.webp

Send only the requested changes. The CLI also accepts --displayName, --meta, and --zip.

Desktop controls

The floating companion is Petdex Desktop, available at https://petdex.dev/download. Its Settings window selects the pet and installs agent hooks. The catalog CLI does not start the desktop app or manage those hooks. Retired commands such as init, up, doctor, select, and hooks install are not the setup flow.

For authentication trouble, run whoami and follow the CLI error. For unsupported commands or flags, use --help. Do not treat a nonzero exit as success.

版本历史

  • 31c0aee 当前 2026-10-19 03:57

同 Skill 集合

.agents/skills/code-review-excellence/SKILL.md
.agents/skills/coss-particles/SKILL.md
.agents/skills/coss/SKILL.md

元信息

文件数
0
版本
31c0aee
Hash
62b56956
收录时间
2026-10-19 03:57

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-20 11:29
浙ICP备14020137号-1