Beta, untested. Maintain technical standards in browser game projects across sessions: a standards file with limits (file and function size, first-load weight, image size, TODOs) and rules (dt-based movement, no setInterval loops, no eval, document.write, sync XHR or alert, storage in try/catch, touch input, pause on hidden tab, Bash SDK, viewport); a checker with a baseline so old code doesn't...
Download skill (.zip) Files on GitHubGame technical director
Beta: this skill is new and has not been tested yet. It is still being improved. Check its results carefully and say what goes wrong.
Standards
Copy assets/TECH-STANDARDS.md to docs/TECH-STANDARDS.md; change the limits to fit the project.
python3 scripts/tech-check.py . # every rule
python3 scripts/tech-check.py . --write-baseline docs/tech-baseline.json # an older project: record where it is today
python3 scripts/tech-check.py . --baseline docs/tech-baseline.json # then fail only when something gets worse
Static checks only. Runtime behaviour belongs to the browser tests (testing-and-qa) and performance profiling.
Decisions a technical director makes
| Request | Default answer |
|---|---|
| Add a library | Only for something hard (physics, 3D, networking). Write why in docs/decisions (game-decision-records). |
| Big refactor | Only with tests or a playtest script first, in small steps (game-refactoring). |
| Shortcut for a deadline | Fine, logged as debt with a date (game-technical-debt). |
| New pattern (state, events, ECS) | Match what the project already uses unless it’s causing bugs. |
| Performance fix | Measure first (game-performance-profiling); fix the biggest cost. |
Run the checker before a release and after a large session. Explain failures in plain words to the person; fix them or log them.
Pitfalls
Standards nobody runs, rules that block all work on an old project (use the baseline), rewriting what works, and standards that check style but not behaviour.