← Back to Skills Marketplace
ravenquasar

React Game Loop Hooks

by U3UT7 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
52
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install react-game-loop
Description
Create custom React hooks in TypeScript for game loops and animations. Use when the user asks for a React hook, requestAnimationFrame integration, game loop...
Usage Guidance
This skill appears to be what it claims: a small, browser-only React hook for game loops. Before installing, review the hook to ensure it matches your app's type/encoding (TypeScript/React versions) and confirm you only copy the files into projects that run in the browser (not SSR/Node). The hook catches callback errors and cleans up RAF on unmount, but as with any third-party code, inspect it for fit and license compatibility (MIT) before use.
Capability Analysis
Type: OpenClaw Skill Name: react-game-loop Version: 1.0.0 The skill provides a standard React hook for managing game loops and animations using requestAnimationFrame. The implementation in assets/hooks/useGameLoop.ts follows React best practices, including stale-closure safety, delta-time clamping, and proper cleanup on unmount, with no evidence of malicious intent or suspicious behavior.
Capability Assessment
Purpose & Capability
The name/description (React game loop hooks) matches the included files and declared behavior. The files implement a requestAnimationFrame-based useGameLoop hook and an example component — nothing unrelated is requested.
Instruction Scope
SKILL.md instructs the agent/user to copy the hook file into their project and documents API, patterns, and an example. Instructions are narrowly scoped to installing and using the hook; they do not instruct reading unrelated files, accessing environment variables, or contacting external endpoints.
Install Mechanism
There is no install spec and no download/install-from-URL behavior. The code is provided in the skill assets and the user is instructed to copy the file into their project — low-risk and transparent.
Credentials
The skill requests no environment variables, credentials, or system config paths. Declared dependencies (React/TypeScript/react-dom) are appropriate and expected for a TypeScript React hook.
Persistence & Privilege
The skill does not request always:true and uses default user-invocable/autonomous settings. It does not modify other skills or system-wide settings and does not persist credentials.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install react-game-loop
  3. After installation, invoke the skill by name or use /react-game-loop
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of react-hooks-game-loop: - Provides a production-ready `useGameLoop` React hook for animating with requestAnimationFrame and safe delta-time handling. - Supports start/stop controls, running state, and automatic cleanup on unmount. - Ensures stale-closure safety, robust error handling, and delta-time clamping. - Includes comprehensive documentation and example usage.
Metadata
Slug react-game-loop
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is React Game Loop Hooks?

Create custom React hooks in TypeScript for game loops and animations. Use when the user asks for a React hook, requestAnimationFrame integration, game loop... It is an AI Agent Skill for Claude Code / OpenClaw, with 52 downloads so far.

How do I install React Game Loop Hooks?

Run "/install react-game-loop" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is React Game Loop Hooks free?

Yes, React Game Loop Hooks is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does React Game Loop Hooks support?

React Game Loop Hooks is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created React Game Loop Hooks?

It is built and maintained by U3UT7 (@ravenquasar); the current version is v1.0.0.

💬 Comments