andvolodko/html5-game-editor

Browser-based HTML5 game editor and runtime: PixiJS 2D, Three.js 3D, React UI, and a TypeScript engine for multiple games

5Stars on the repository
21Mods indexed here, across every type
7d agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

architecture

01

andvolodko/html5-game-editor

Cursor rule Cursor

Architectural and cross-package changes — dependency direction, editor/runtime boundaries, scene schema, persistence, renderer packages. Use when changing package boundaries, serialized formats, or multiple layers. Do not apply to localized UI, styling, or test-only edits.

5 7d ago A 49 tokens original MIT

class-size

02

andvolodko/html5-game-editor

Cursor rule Cursor

Split oversized TypeScript modules and classes. Use when adding features to large files, extracting helpers, reviewing god objects, or a module exceeds 300–500 lines with mixed responsibilities.

5 7d ago A 36 tokens original MIT

core

03

andvolodko/html5-game-editor

Cursor rule Cursor

Critical repository invariants for almost every coding task.

5 7d ago A 258 tokens original MIT

editor-commands

04

andvolodko/html5-game-editor

Cursor rule Cursor

One undoable command class per file under packages/editor-core/src/commands. Apply when adding or editing editor-core commands.

5 7d ago A 0 tokens original MIT

editor-ui

05

andvolodko/html5-game-editor

Cursor rule Cursor

Editor React UI vs editor-core separation, selection, viewport, and dirty/undo rules. Apply when editing apps/editor or packages/editor-core.

5 7d ago A 0 tokens original MIT

no-magic-numbers

06

andvolodko/html5-game-editor

Cursor rule Cursor

Prefer named constants over unexplained numeric literals in TypeScript. Apply when editing .ts/.tsx behavior code.

5 7d ago A 0 tokens original MIT

server-security

07

andvolodko/html5-game-editor

Cursor rule Cursor

Browser input is untrusted. All project filesystem access goes through ProjectService.resolveProjectPath → ProjectRootGuard.resolveSafe. Do not call path.resolve/readFile/writeFile on user-influenced paths without that guard.

5 7d ago A 0 tokens original MIT

testing

08

andvolodko/html5-game-editor

Cursor rule Cursor

Vitest conventions for domain, commands, server, and security tests. Apply when editing .test.ts / .test.tsx / spec files.

5 7d ago A 0 tokens original MIT

typescript

09

andvolodko/html5-game-editor

Cursor rule Cursor

TypeScript conventions for this monorepo (strict mode, Zod boundaries, package imports, naming). Apply when editing .ts/.tsx files.

5 7d ago A 0 tokens original MIT