asset-pipeline-automation — скилл для Claude Code: установка и запуск
Выстраивает сквозной конвейер сборки игровых ассетов: от сырых спрайтов до готового атласа, JSON и валидации ссылок по одной команде.
npx skills add 0xheycat/isometric-game-skills --skill asset-pipeline-automation -a claude-codeЧто делает asset-pipeline-automation
Скилл регламентирует превращение сгенерированных спрайтов в релизные файлы игры без ручной подгонки. Конвейер состоит из четырёх этапов: очистка фона, упаковка в общий атлас, генерация координатного JSON и проверка ссылок на каждый спрайт.
Процесс настраивается как идемпотентная команда вроде npm run assets, пригодная для запуска в CI. Сборка намеренно падает с ошибкой, если потерялся спрайт или не задана точка привязки: это гарантирует, что в релиз не попадут пустые текстуры.
Какие задачи решает
- собрать спрайты в атлас и JSON одной командой
- проверить наличие каждого спрайта перед сборкой билда
- автоматизировать запуск сборки текстур в CI
- устранить рассинхронизацию между исходной графикой и картой атласа
Примеры запросов агенту
- Настрой пайплайн сборки спрайтов в атлас через команду
npm run assets - Добавь валидацию ссылок на спрайты и проверку точек привязки в CI
- Свяжи этапы очистки фона и упаковки текстур в единый скрипт
Как установить asset-pipeline-automation
1Через Skills CLI (Vercel)
npx skills add 0xheycat/isometric-game-skills --skill asset-pipeline-automation -a claude-code2Вручную: положить файлы
~/.claude/skills/asset-pipeline-automation/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/asset-pipeline-automation/
1Через Skills CLI (Vercel)
npx skills add 0xheycat/isometric-game-skills --skill asset-pipeline-automation -a codex2Вручную: положить файлы
.agents/skills/asset-pipeline-automation/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add 0xheycat/isometric-game-skills --skill asset-pipeline-automation -a cursor2Вручную: положить файлы
.cursor/skills/asset-pipeline-automation/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install 0xheycat/isometric-game-skills asset-pipeline-automation2Вручную: положить файлы
.github/skills/asset-pipeline-automation/SKILL.md1Через Skills CLI (Vercel)
npx skills add 0xheycat/isometric-game-skills --skill asset-pipeline-automation -a gemini-cli2Командой платформы
gemini skills install https://github.com/0xheycat/isometric-game-skills --path skills/asset-pipeline-automationВручную: положить файлы
.devin/skills/asset-pipeline-automation/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add 0xheycat/isometric-game-skills --skill asset-pipeline-automation -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о asset-pipeline-automation
Как установить asset-pipeline-automation в Claude Code?
Выполните команду npx skills add 0xheycat/isometric-game-skills --skill asset-pipeline-automation -a claude-code.
Что делает скилл asset-pipeline-automation?
Он создаёт пошаговый процесс сборки игровых ассетов: очищает спрайты, пакует их в атлас, создаёт файл разметки JSON и проверяет целостность ссылок.
Как конвейер реагирует на отсутствующий спрайт?
Скрипт проверки прерывает сборку с ошибкой, если ассет не найден или у него не задана точка привязки.
Исходный текст
SKILL.md · MIT
--- name: asset-pipeline-automation description: Use when automating the path from generated sprites to a shipped atlas + map so re-generating art does not mean hours of manual rework. license: MIT --- # Asset Pipeline Automation ## Overview Manual asset handling does not scale past a few sprites. This skill builds a one-command pipeline: clean -> pack atlas -> emit JSON -> validate, so artists regenerate and the game just updates. ## When to Use - You regenerate assets often and redo packing by hand. - Atlas/JSON drifts out of sync with the sprites. - You want a reproducible build step for art. ## Process 1. Define input (raw generated sprites) and output (atlas + JSON + map) folders. 2. Script step 1: background cleanup (see `transparent-cutout-cleanup`). 3. Script step 2: atlas packing + JSON (see `spritesheet-atlas-packing`). 4. Script step 3: validate every referenced sprite exists in the atlas. 5. Make it one command (`npm run assets`) and idempotent. 6. Fail loudly if a sprite is missing or an anchor is undefined. 7. Run it in CI so broken assets never ship. ```bash npm run assets # clean -> pack -> emit json -> validate ``` ## Rationalizations (Stop Lying to Yourself) | Excuse | Reality | |---|---| | "Packing by hand is fine for now" | It will not be fine at 100 sprites. Automate early. | | "I will validate manually" | Manual validation misses one sprite and ships a hole. Automate the check. | ## Red Flags - STOP if you catch yourself: - Manual atlas packing on every art change. - Atlas and JSON drifting out of sync. - No validation that referenced sprites exist. ## Verification You are NOT done until every box is checked: - [ ] One command rebuilds atlas + JSON from raw sprites. - [ ] Pipeline validates all references and fails loudly. - [ ] Build is idempotent and runs in CI.
© 0xheycat · MIT · 0xheycat/isometric-game-skills