---
title: "oahc09/cocosairjs skills · skilld"
description: "A Code First Cocos runtime for the Web and AI agents. 基于 Cocos Web/TypeScript Runtime(https://github.com/cocos/cocos4) 构建的、面向 AI Agent 与 Code First 开发方式的轻量交互式 Web 引擎。"
canonical_url: "https://skilld.dev/gh/oahc09/cocosairjs"
meta:
  "og:description": "A Code First Cocos runtime for the Web and AI agents. 基于 Cocos Web/TypeScript Runtime(https://github.com/cocos/cocos4) 构建的、面向 AI Agent 与 Code First 开发方式的轻量交互式 Web 引擎。"
  "og:image": "https://skilld.dev/_og/d/a_~c2tpbGxkLCBhZ2VudCBza2lsbHMgd3JpdHRlbiBieSByZWFsIG1haW50YWluZXJz%2Cc_Page.takumi%2Cdescription_~Q3VyYXRlZCBhZ2VudCBza2lsbHMgYnkgaHVtYW5zLCB3cml0dGVuIGJ5IHJlYWwgbWFpbnRhaW5lcnMgaW4gdGhlaXIgb3duIEdpdEh1YiByZXBvcw%2Cp_Ii9naC9vYWhjMDkvY29jb3NhaXJqcyI%2Cs_fVzJHKieCFRX-8se.png"
  "og:image:alt": "skilld, agent skills written by real maintainers"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "oahc09/cocosairjs skills"
  "twitter:description": "A Code First Cocos runtime for the Web and AI agents. 基于 Cocos Web/TypeScript Runtime(https://github.com/cocos/cocos4) 构建的、面向 AI Agent 与 Code First 开发方式的轻量交互式 Web 引擎。"
  "twitter:image": "https://skilld.dev/_og/d/a_~c2tpbGxkLCBhZ2VudCBza2lsbHMgd3JpdHRlbiBieSByZWFsIG1haW50YWluZXJz%2Cc_Page.takumi%2Cdescription_~Q3VyYXRlZCBhZ2VudCBza2lsbHMgYnkgaHVtYW5zLCB3cml0dGVuIGJ5IHJlYWwgbWFpbnRhaW5lcnMgaW4gdGhlaXIgb3duIEdpdEh1YiByZXBvcw%2Cp_Ii9naC9vYWhjMDkvY29jb3NhaXJqcyI%2Cs_fVzJHKieCFRX-8se.png"
  "twitter:image:alt": "skilld, agent skills written by real maintainers"
  "twitter:title": "oahc09/cocosairjs skills"
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

[All skills](https://skilld.dev/skills)

[![oahc09 avatar](https://skilld.dev/_img/avatar?url=https%3A%2F%2Fgithub.com%2Foahc09.png)](https://skilld.dev/gh/oahc09)

# **oahc09/cocosairjs**

A Code First Cocos runtime for the Web and AI agents. 基于 Cocos Web/TypeScript Runtime(https://github.com/cocos/cocos4) 构建的、面向 AI Agent 与 Code First 开发方式的轻量交互式 Web 引擎。

main Updated 2 days ago [GitHub](https://github.com/oahc09/cocosairjs)

![README badge for oahc09/cocosairjs](https://skilld.dev/b/oahc09/cocosairjs?theme=light&label=0)

## Repository statistics

- Indexed skills

  **22**
- Skill groups

  **1**
- GitHub stars

  **4**
- Forks

  **2**

## Skills

22 total

Sort skills

[/cocosair-2d-subsystems](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-2d-subsystems)

Build DragonBones, TiledMap, 2D/3D particles and billboards from runtime data. Use for raw asset strings, missing pixels, MotionStreak or Spine backend limits.

Updated30 days ago

[/cocosair-materials-effects](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-materials-effects)

Configure materials, effects, uniforms, defines and GLSL. Diagnose black/invisible effects, missing textures, setProperty, AIR\_E\_MATERIAL\_NOT\_READY or AIR\_E\_MATERIAL\_TYPE.

Updated30 days ago

[/cocosair-performance](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-performance)

Optimize draw calls: static merge, instancing, dynamic atlases and GPU morph fields. Frame budgets, on-demand rendering, AIR\_E\_MESH\_CAPACITY, AIR\_E\_PIXEL\_RATIO\_IMPORT\_ORDER.

Updated30 days ago

[/cocosair-rendering](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-rendering)

Configure lighting, shadows, render targets, MSAA and sRGB. Use for offscreen pixels, post-processing, AIR\_E\_RENDER\_TARGET\_SAMPLES or AIR\_E\_TEXTURE\_COLOR.

Updated30 days ago

[/cocosair-skinning-morph](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-skinning-morph)

Bind skeletons, restore bind poses and drive morph weights. Use for realtime/baked deformation, AIR\_E\_SKINNING\_JOINT\_PATH or AIR\_E\_SKINNING\_CAPACITY.

Updated30 days ago

[/cocosair](https://skilld.dev/gh/oahc09/cocosairjs/cocosair)

Route AIR tasks by subsystem or visual symptom; choose direct dependencies and check capabilities.

Updatedlast month

[/cocosair-animation-tween](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-animation-tween)

Animate tweens and AnimationClip tracks with one step clock. Use to loop a sequence on a target, reverseTime, clean up playback or diagnose unavailable pose graphs.

Updatedlast month

[/cocosair-primitives-mesh](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-primitives-mesh)

Build primitive geometry, Mesh buffers and MeshRenderer bindings. Use for vertex attributes, indices, wireframes or AIR\_E\_PRIMITIVE\_DESCRIPTOR validation.

Updatedlast month

[/cocosair-agent-session](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-agent-session)

Inspect live scenes and frames with devtools; read runtime diagnostics. Use for scoped session writes, pixel probes or duplicate requestId INVALID\_ARGUMENT errors.

Updatedlast month

[/cocosair-application](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-application)

Configure createAirApp options, canvas, lifecycle, screen sizing and context health. Use for WEBGL2\_REQUIRED startup errors, scene replacement, session cleanup or lost contexts.

Updatedlast month

[/cocosair-assets](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-assets)

Load asset URL textures, atlases and BMFont with AssetBank. Use for refcounted disposal, extension selection, cache reuse or AIR\_E\_ATLAS\_IN\_USE/AIR\_E\_FNT\_IN\_USE cleanup.

Updatedlast month

[/cocosair-audio-video](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-audio-video)

Play media with AudioService, VideoPlayer and WebView. Use for silent autoplay, advancing currentTime, BGM/SFX channels or DOM video and iframe overlays.

Updatedlast month

[/cocosair-camera](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-camera)

Configure Camera projection, viewports, framing and screen/world conversion. Use for split-screen, pointer rays, wrong screenToWorld results or AIR\_E\_ORTHO\_WIDTH.

Updatedlast month

[/cocosair-gltf](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-gltf)

Load glTF/GLB models, extensions, decoder injection and instances. Use for Draco/meshopt/KTX2 deployment, GLTF\_DECODER\_MISSING, uncoded load errors or animation loops.

Updatedlast month

[/cocosair-graphics-and-dom](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-graphics-and-dom)

Draw Graphics/SVG shapes and sprite masks; align a DOM overlay with UI/canvas nodes. Use for overlay placement, input interception, experimental HTML textures or AirUIMesh.

Updatedlast month

[/cocosair-input-action](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-input-action)

Wire keyboard, mouse, touch and action state; navigate SceneStack pages. Use for focus, held-key resets, session gates, DOM canvas errors or persistent push/pop.

Updatedlast month

[/cocosair-math](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-math)

Compute vectors, matrices, quaternions, colors and easing. Use for out-first math, frozen Vec3.UP errors, transform composition, rotation units or Mat4.invert.

Updatedlast month

[/cocosair-physics](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-physics)

Choose builtin, cannon or Box2D physics; wire rigid bodies, colliders and raycasts. Use for missing gravity, trigger filters, backend limits or material error 9642.

Updatedlast month

[/cocosair-project-setup](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-project-setup)

Set up npm imports, package entries, importmap, TypeScript and variant builds. Use for cocosair.js installation, unresolved-import errors, page shells or build artifacts.

Updatedlast month

[/cocosair-scene-graph](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-scene-graph)

Build Scene/Node hierarchies, Component lifecycles, layers and events. Use for reparenting, active inheritance, NodePool reuse, scene globals or resource release.

Updatedlast month

[/cocosair-ui-2d](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-ui-2d)

Build Canvas UI with sprites, Label text, layout and widgets. Use for missing UI, viewport alignment, 2D draw order, BMFont binding or AIR\_E\_LABEL\_WRAP.

Updatedlast month

[/cocosair-verification](https://skilld.dev/gh/oahc09/cocosairjs/cocosair-verification)

Choose verification gates and assess browser/package evidence, write behavior and fingerprints. Use to validate changes, distinguish FAIL/UNSUPPORTED or check release readiness.

Updatedlast month

## Add to your README

The badge links readers to this page. It shows the skilld mark and no counts, and it follows the reader's light or dark GitHub theme.

`<a href="https://skilld.dev/gh/oahc09/cocosairjs"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://skilld.dev/b/oahc09/cocosairjs?theme=dark"> <source media="(prefers-color-scheme: light)" srcset="https://skilld.dev/b/oahc09/cocosairjs?theme=light"> <img alt="Skill repository on skilld.dev" src="https://skilld.dev/b/oahc09/cocosairjs?theme=light"> </picture> </a>`

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://skilld.dev/#website","@type":"WebSite","description":"Curated agent skills by humans, written by real maintainers in their own GitHub repos","name":"skilld","url":"https://skilld.dev/"},{"@id":"https://skilld.dev/gh/oahc09/cocosairjs#webpage","@type":"WebPage","description":"A Code First Cocos runtime for the Web and AI agents. 基于 Cocos Web/TypeScript Runtime(https://github.com/cocos/cocos4) 构建的、面向 AI Agent 与 Code First 开发方式的轻量交互式 Web 引擎。","name":"oahc09/cocosairjs skills","url":"https://skilld.dev/gh/oahc09/cocosairjs","isPartOf":{"@id":"https://skilld.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://skilld.dev/gh/oahc09/cocosairjs"]}]}]}
```