python-raylib

Installation
SKILL.md

Python Raylib

This skill provides design and implementation patterns for 2D graphics, games, and simulations in Python using Raylib. Extending python-developer, it emphasizes clean decoupling between pure simulation logic and hardware rendering, enabling fast, headless automated testing without a display window.

1. Import & Library Conventions

Although the package is installed via uv add raylib, it must be imported as pyray. Always alias pyray as pr for consistency:

import pyray as pr

Consult import-practices.md for detailed import rules and conventions.

2. Layered Architecture

Organize simulation and game code into three distinct decoupled layers:

Installs
4
First Seen
Sep 19, 2026