Web js ts standards

From MRCalderon3D/everything-game-dev-code · View interactive version

Web js ts standards is an AI agent skill from the GitHub repository MRCalderon3D/everything-game-dev-code. Write readable, maintainable JavaScript or TypeScript game code with consistent modules, typing, and tooling.

How to use this skill

Skill file

Web JS/TS Standards

Purpose

Write readable, maintainable JavaScript or TypeScript game code with consistent modules, typing, and tooling.

Use When

Inputs

Process

  1. use ES modules everywhere with explicit imports and exports; include file extensions in import paths when targeting no-build setups
  2. declare the typing strategy once — strict TypeScript, or checked JSDoc on plain JavaScript — and apply it to all game state and system interfaces
  3. keep configuration, tuning data, and content immutable, while allowing pre-allocated mutable objects in per-frame hot paths
  4. enforce one lint and format configuration in CI or a pre-commit step, with rule exceptions justified inline
  5. forbid implicit globals; anything attached to the global object for debugging must be explicitly marked and stripped or gated for release

Outputs

Quality Bar

Common Failure Modes

Related Agents

Related Commands

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.