Skip to content
Back to skills

Littlejs Api

ASecurity

Use when you need the exact signature, parameter order, defaults, or existence of a LittleJS engine symbol — e.g. drawTile arguments, the ParticleEmitter constructor, Timer or Sound methods, EngineObject properties, tile/TileInfo helpers. Look the symbol up instead of guessing from memory; LittleJS argument orders are easy to get subtly wrong.

  • 86 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 19, 2026
ai-agentsrustapi

Works with

  • api

Security analysis

A100/100

Scanned November 20, 2026

npx -y skills add KilledByAPixel/LittleJS-AI --skill littlejs-api --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Littlejs Api?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Littlejs Api
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/killedbyapixel-littlejs-api/badge)](https://www.skillsdirectory.com/skills/killedbyapixel-littlejs-api)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: littlejs-api
description: Use when you need the exact signature, parameter order, defaults, or existence of a LittleJS engine symbol — e.g. drawTile arguments, the ParticleEmitter constructor, Timer or Sound methods, EngineObject properties, tile/TileInfo helpers. Look the symbol up instead of guessing from memory; LittleJS argument orders are easy to get subtly wrong.
---

# littlejs-api

The curated LittleJS API reference ships with this plugin at:

`${CLAUDE_SKILL_DIR}/../../reference.md`

It is ~2800 lines / 235KB — do **NOT** read the whole file into context. Grep it for the symbol you need and read only the surrounding lines:

- Look up one symbol: grep for the symbol name (e.g. `ParticleEmitter`, `drawTile`, `tileCollisionTest`) and read ~20 lines around the first hit — entries are one-line signatures with a trailing `//` comment, grouped in sections.
- Broader area (e.g. "what sound functions exist?"): grep for the section heading (`## LittleJS` lists them all — `Drawing System`, `Audio System`, `Input System`, `Object System`, `Tile Layer System`, `Particle System`, `Camera`, `3D Math`, `3D Rendering`, `3D Levels`, `Tweakables`, `Level Editor`, `Post Processing`, `Box2D Physics`, ...) and skim that section only. The 3D Rendering section alone is ~700 lines, so inside it grep for the symbol rather than reading it through.
- Renamed or removed symbols: check the `## Deprecated` section at the end.
- The reference links to `EDITOR.md` (customizing the level editors). It is bundled with the **custom-level-editor** skill, at `${CLAUDE_SKILL_DIR}/../custom-level-editor/EDITOR.md` — use that skill for anything about level editors.
- If a symbol is NOT in the reference, verify against the engine build itself before concluding it exists: grep `${CLAUDE_SKILL_DIR}/../../dist/littlejs.js` for it. Trust the engine source over memory.

For engine *conventions and pitfalls* (argument-order traps, per-frame vs per-second units, naming rules), use the **littlejs-conventions** skill instead — this skill is only for exact API lookup.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.