Skip to content
Skills Library
Programming · Building & coding

pyxel

/pyxel

Build, debug, and verify games made with Pyxel, the retro game engine for Python. Use whenever a task creates, changes, tests, or reviews a Pyxel game, or asks for a retro Python game that should use Pyxel. Do not use for other engines or general Python work.

Author
kitao ↗
Repository
pyxel-skill ↗
Licence
MIT
Last repository change
24.10.2026

Assessment and security

95/ 100Class: good
Format20 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
11
Scripts
2
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 24.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 2 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: test_skill_content.py, test_skill_runtime.py

What it does and when to use it

Build, debug, and verify games made with Pyxel, the retro game engine for Python. Use whenever a task creates, changes, tests, or reviews a Pyxel game, or asks for a retro Python game that should use Pyxel. Do not use for other engines or general Python work.

Original author description

Build, debug, and verify games made with Pyxel, the retro game engine for Python. Use whenever a task creates, changes, tests, or reviews a Pyxel game, or asks for a retro Python game that should use Pyxel. Do not use for other engines or general Python work.

How it works

  1. Runtime
  2. Workflow
  3. References
  4. Boundaries
Original SKILL.md headings · 37 lines, 490 words
SKILL.md preview
---
name: pyxel
description: Build, debug, and verify games made with Pyxel, the retro game engine for Python. Use whenever a task creates, changes, tests, or reviews a Pyxel game, or asks for a retro Python game that should use Pyxel. Do not use for other engines or general Python work.
license: MIT
compatibility: Requires the pyxel-mcp MCP server 1.3.1 or newer (Python 3.11+, installs Pyxel 2.9.6+). Use `uvx --from 'pyxel-mcp>=1.3.1' pyxel-mcp` as the server command.
metadata:
  version: "1.4.3"
  pyxel-mcp: ">=1.3.1"
---

# Pyxel

Build or change only what the request needs, preserving the existing game's conventions. Verify the result from observed behavior, with effort proportional to the task.

## Runtime

pyxel-mcp provides eight observation tools. They report facts; judging them is your job.

- `validate` reports syntax errors and recognizable Pyxel code patterns without running the script.
- `run` drives headless frames with scheduled input, stops on `until`, and captures `state`, `screen_image`, `screen_grid`, or `video`. `screen_image` with `inline: true` returns an image.
- `pyxel_info` reports versions, bundled examples, and resource URIs.
- `read_palette`, `read_image`, `read_tilemap`, and `read_audio` inspect the palette, image banks, tilemaps, and rendered audio; `read_image` and `read_tilemap` take `inline=true` to return their renders as images.
- `diff_frames` compares two captured PNGs.

If tools are missing or `pyxel_info` reports a version below 1.3.1, update the plugin or set the client's MCP command to `uvx --from 'pyxel-mcp>=1.3.1' pyxel-mcp`. Append `install` for setup examples; it only prints instructions. Apply the appropriate registration with this versioned command. Avoid duplicate plugin registrations. Restart the client and recheck `pyxel_info`. While blocked, use focused logic tests plus direct headless Pyxel runs, and report weaker visual and interaction verification.

## Workflow

1. Identify the requested behavior and the existing code and assets it affects. For a new game, choose a playable scope with controls, an objective, and any retry or terminal states its rules need. Ask only when a missing choice materially changes the result.
2. Implement the change. Follow the project's asset conventions; use code-generated or file-based assets as the task requires.
3. Run `validate` on changed game code. Fix errors and resolve or explain relevant warnings. Exercise the affected behavior with `run`, using scheduled input and a `random_seed` when randomness matters. Check that it reaches the intended stop without crash, timeout, or unexpected stall; read `log` even when `ok` is true.
4. Check task-specific state predicates for mechanics and directly inspect captured frames for appearance. A new game needs both; a focused edit needs evidence for the behavior it can affect. Use `screen_image` with `inline: true` to see the frame. Check authored audio through `read_audio`, and listen before judging sound quality. Fix observed defects and repeat affected checks; use focused logic tests when they prove rules more directly.
5. Report changed files, controls when relevant, verification results, and anything unverified. Distinguish observed behavior from visual or listening judgments.

## References

- [references/pyxel.md](references/pyxel.md): input, drawing, assets, audio, and determinism. Read for related implementation or diagnosis.
- [references/design.md](references/design.md): presentation and feedback when creating or polishing games.
- [references/strict-mode.md](references/strict-mode.md): broader coverage and retained evidence for requested release checks, audits, or proof bundles.

## Boundaries

- Do not accept a broken frame because state checks passed.
- Do not require proof bundles, planning files, or tracking files for ordinary edits. Retain them only when requested or needed for continuity on larger work.
- Do not substitute placeholder shapes for requested sprite art unless primitive geometry is the intended style.
Files in this package (11)
  • .gitignore 1 KB
  • .mcp.json 1 KB
  • CHANGELOG.md 2 KB
  • LICENSE 1 KB
  • README.md 5 KB
  • SKILL.md 4 KB
  • test_skill_content.py 2 KB
  • test_skill_runtime.py 7 KB
  • references/design.md 1 KB
  • references/pyxel.md 3 KB
  • references/strict-mode.md 2 KB

Versions

The database has no other skills named pyxel.

Database snapshot: 13.11.2026 · package version b2d77040edf8 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100bevy-game-engine
    Bevy game engine: ECS, rendering, input, and asset management. Use when building Bevy games, working with entities/components/systems, or mentioning Rust gamedev or 2D/3D games.
  • 90retro
    Reviews one coding session and proposes ranked improvements to the agent environment, not the code. Use when the user explicitly asks for a retro (/retro, or $retro in Codex), never on your own. Proposals only; applies nothing.
  • 100game-dev
    Build, extend, and verify playable browser games, optionally using SandBase for generated concept art and game assets. Use for substantial 2D or 3D web-game work; use a general frontend workflow for non-game interactive sites.
  • 100game-engine
    Expert skill for building web-based game engines and games using HTML5, Canvas, WebGL, and JavaScript. Use when asked to create games, build game engines, implement game physics, handle collision detection, set up game loops, manage sprites, add game controls, or work with 2D/3D…
  • 100game-development
    Game engine choice, game loop, input, physics, game feel, saves and shipping. Use when building, tuning or debugging a 2D or 3D game in any engine.
  • 100game-architecture
    Game architecture patterns and best practices for browser games. Use when designing game systems, planning architecture, structuring a game project, or making architectural decisions about game code.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.