nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Chenamel/deterministic-pixel-art
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
简体中文 · MIT · Releases · AI install
Create editable pixel art with AI agents, then verify exactly what changed.
Make PNG icons, sprites, UI components and named sprite atlases from text grids, integer drawing commands or Python masks. Import existing PNGs without quantization, edit a selected region and assemble separately drawn components. Built for AI-assisted game assets and pixel UI; Minecraft styling is optional.
![]()
Editable travel kit · Native UI PNG · Named item atlas. Original 32×32 items and a 192×160 static UI composition, with native-size views and integer nearest-neighbor enlargements. JSON sources and the drawing script are included.
Version: v1.3.0. Download the stable Skill · What changed. Includes scoped color replacement, paged atlas review, named-tile scene previews and PNG animation export. Exact editing requires static PNGs with channel depth at most 8 bits; editable sources and original PNGs remain the basis for later changes.
Give an agent with terminal and file access this request:
Read https://github.com/Chenamel/deterministic-pixel-art/blob/main/INSTALL.md and install deterministic-pixel-art from the latest stable release. Check that it supports my intended task, then generate a sample PNG to verify installation.
AI installation guide: select the environment, install the self-contained Skill and run a small render. It also includes an optional npx skills shortcut for supported agents. Agents without native Skill support can run the same tools from a task-local folder.
Once installed, try: “Create six 32×32 travel items with a consistent palette and lighting, compose them into a small inventory panel, and keep the editable sources.”
DSH users can start with installation and quick start: check compatible versions, install into the profile used for chat, then request an asset or edit in natural language. This optional third-party bundle carries the same Skill; npm installation does not require a marketplace listing.
Requires Python 3.10+ and Pillow >=10.4,<13. The requirements file pins Pillow 12.3.0 for reproducibility.
git clone https://github.com/Chenamel/deterministic-pixel-art.git
cd deterministic-pixel-art
python -m venv .venv
Activate with .\.venv\Scripts\Activate.ps1 in PowerShell, or source .venv/bin/activate on macOS/Linux, then:
python -m pip install -r requirements.txt
python src/pixel_art.py render --spec examples/gem-16.json --out output/gem.png --preview output/gem-preview.png
Expected output: a 16×16 PNG and a 128×128 nearest-neighbor preview in output/. Without Git, download and extract the checkout ZIP, then open a terminal in its top-level folder. Keep the editable spec with the PNG; existing outputs require explicit --force to overwrite.
| Task | Start here |
|---|---|
| Item set / UI composition | Six travel items, a static inventory panel and a named-item edit |
| Small grid sprite | Transparent grid, mirrored gem |
| Asymmetric sprite | 32×32 ship, pixel-art guidance |
| UI or button states | Generic panel, UI guidance, recipes |
| Existing PNG / named atlas edit | Import, replace-cell and verify |
| Image facts or review | Text inspection, review context |
| Separate chunks | Chunk contracts, four-source scene |
| Minecraft-style UI | Optional guidance |
More command examples cover scoped edits, recipes and environment recovery. The JSON v1 and Python API are available for custom generators. The browser UI demo includes actual-font and interaction checks.
![]()
This example changes 106 RGBA pixels inside the lantern cell, zero outside. Its shape, brass frame, atlas position and the other five items stay the same. Run this named-item replacement and verification, or start with the tiny grid recolor.
Verification details and remaining limits distinguish engineering checks, external use and visual judgment.
Open an issue for a bug, installation problem or a useful missing workflow. Include the command, error, Python/Pillow versions and a small input when possible. Contribution guide.
python -m pip install -r requirements-dev.txt
python -B tools/check.py
Maintain runtime code in src/, recipes in recipes/, and guidance in skill-content/. tools/package_skill.py generates the standalone Skill under skill/. Full checks create local artifacts without globally installing a Skill. Fixture provenance.
For source browsing and edits, see the source-to-Skill path map and the limited Python format gate.
MIT covers the code, original artwork and standalone Skill. Repository visuals use Silkscreen Regular under SIL OFL 1.1 and Fusion Pixel Font under SIL OFL 1.1. Fonts are not included in the Skill ZIP. Pillow and development-only PyYAML/Ruff are installed dependencies, not vendored files.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: agent、agents。