Index of every page on this site: llms.txt
All skills
oahc09 avatar

/cocosair

@ed38648
by oahc09oahc09/cocosairjs3 stars
2
Run it yourself

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

  • 10 files
  • 72.8 KB
  • MIT
  • Updated last month
  • GitHub
Use this Skill: https://skilld.dev/gh/oahc09/cocosairjs/cocosair

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesskill-index-archive.md

≈4.5k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Historical skill inventory

This source-snapshot inventory is an on-demand preservation archive. Its sync note is historical, not a maintenance instruction. Only SKILL.md frontmatter and Reference map generate the current indexes. Source and package claims may be stale; read current declarations and evidence before implementation.

Derived from ai/plans/agent-skills-suite.md skill inventory (as of 2026-10-07); the canonical doc paths and symbol names below are copied from that table and were re-read against build/cocosair.module.d.ts, build/cocosair.module.d.ts, build/cocosair.module.d.ts or src/air/** records as of the same date.

One row per skill: coverage, key classes/functions, canonical sources. Choose one primary owner plus only directly needed dependencies; the row order is not routing priority. Paths refer to the selected package or checkout root as defined in environment.md. Route targets live at ../../<skill>/SKILL.md.

Skill Coverage Key classes/functions Inline sources (canonical)
cocosair (this router) router, Code First discipline, canonical minimal code pattern, the three-tier capability-surface wording createAirApp, Scene, AirApp, AirAppOptions README.md, AGENTS.md, docs/manual/runtime-capability-layers.md
cocosair-project-setup installation, the single main entry, importmap and canvas admission, TS consumption, AIR_FEATURES variants and the default 26-feature surface entries: ., ./bootstrap, ./html-source (package.json exports) docs/manual/installation.md, build/README.md, tools/build/build.cjs, docs/reference/web-features.md
cocosair-application createAirApp options, run/close and full-page reload, single-runtime admission, designResolution and screenMode, pixelRatioCap, context health createAirApp, AirApp, AirAppOptions, AirContextHealth docs/manual/safe-startup-and-release.md, docs/webgl2-only.md, src/air/bootstrap.ts, src/air/app.ts, src/air/app-config.ts
cocosair-scene-graph Scene/Node/Component lifecycle, layers and masks, find, node events, NodePool, the writable scene.globals config surface and when it reaches the render data Scene, Node, Component, NodePool docs/manual/scenegraph.md, docs/manual/creating-a-scene.md, docs/manual/api-behavior-contracts.md
cocosair-camera perspective/ortho switching, orthoHeight, multi-camera viewport and priority, worldToScreen/screenToWorld/screenPointToRay, frameObject, the oblique near clipping plane Camera, frameObject docs/manual/cameras.md, docs/manual/align-html-elements-to-3d.md, src/air/utils/frame-object.ts
cocosair-math math.* value types, Vec2/3/4, Mat3/4, Quat, Rect/Size, Color conversion, easing, bits and random helpers, matrix transform semantics math namespace (Vec3, Mat4, Quat, Color, etc.) docs/manual/matrix-transformations.md, docs/reference/api-stability.md, examples/math-*
cocosair-materials-effects Material/EffectAsset technique/pass/defines, setProperty type matching, USE_TEXTURE consistency, the 21 built-in effect and 15 built-in material lists, the hand-written GLSL three-stage chain, createAirUnlitFogEffect, inspectAirMaterial Material, EffectAsset docs/manual/materials.md, docs/manual/custom-shaders.md, docs/manual/uniform-types.md, src/air/builtin/register.ts
cocosair-rendering light types and illuminance units, the legacy-forward single mainLight limit, the shadow support matrix, RT/MSAA requested vs effective values, sRGB and prefiltered-environment contracts, UV row orientation, the real post-process reachability surface of the default pipeline, screenshot evidence see the canonical docs for the rendering contract surface docs/manual/lighting-units.md, docs/manual/shadow-support-matrix.md, docs/manual/rendering-contracts.md, docs/reference/rendering-color-diagnostics.md, docs/reference/texture-uv-verification.md
cocosair-primitives-mesh Mesh asset construction and storage, primitive shapes, createPrimitiveGeometry with its parameter whitelist and limits, vertex attribute/index read-write, morph bounds, OBJ export and wireframe Mesh docs/manual/primitives.md, docs/manual/custom-buffergeometry.md, docs/manual/primitive-descriptors.md, src/air/primitive-geometry.ts
cocosair-performance the three batching routes, batchStaticModel, dynamic atlas, native instancing, culling and viewport culling, Profiler, rendering on demand, mass-object and mass-animation recipes Profiler docs/manual/batching-recipes.md, docs/manual/optimize-lots-of-objects*.md, docs/manual/rendering-on-demand.md, docs/notes/geometry-batching-assessment.md
cocosair-assets assetManager/load/loadRemote, the loadAssetAsync three-stage fallback, AssetBank refcounting and ext rules, the absent resources bundle reality, Texture2D/ImageAsset construction and mipmap, libGDX atlas and the bmfont single-page limit assetManager, Texture2D, loadAssetAsync docs/guides/asset-loading.md, docs/manual/asset-loading-and-lifetime.md, docs/manual/atlas-loading.md, docs/manual/bitmap-font-loading.md, docs/manual/textures.md
cocosair-gltf GLTFLoader/GLTFAsset/instantiate, the 21 extension factories and the five-tier semantics of getExtensionSupport(), decoder injection (draco/meshopt/ktx2) and deployment boundaries, progress phases, error codes, extension registration order see the canonical docs for the glTF surface docs/gltf/gltf-runtime.md, docs/gltf/gltf-extension-reference.md, docs/gltf/gltf-decoder-deployment.md, src/air/assets/gltf/**
cocosair-animation-tween AnimationClip/Animation, tween composition and recycling, update(dt) and the fixed step, createStepClock single-clock discipline, the unpublished pose graph AnimationClip, tween docs/manual/animation-system.md, docs/manual/how-to-update-things.md, docs/notes/pose-graph-notes.md, src/air/step-clock.ts
cocosair-skinning-morph SkinnedMeshRenderer, the Skeleton.joints full-path rule, buildSkeletonTree, restoreBindPose, morph targets and weights, setUseBakedAnimation, CCSkinning binding 3 buildSkeletonTree, restoreBindPose docs/manual/skinning-code-first.md, docs/guides/skinned-model.md, src/air/utils/skeleton-tree.ts, src/air/utils/restore-bind-pose.ts
cocosair-2d-subsystems Spine (sp and the asset-sourcing gap), DragonBones, TiledMap layers and object queries, ParticleSystem2D and plist, Billboard Billboard docs/notes/spine-asset-sourcing.md, docs/notes/dragonbones-notes.md, docs/notes/tiled-map-notes.md, docs/notes/particle-2d-notes.md, docs/manual/billboards.md
cocosair-ui-2d createUICanvas, Canvas/Widget/Layout, Button/ScrollView/ProgressBar/Slider/Toggle/EditBox, Label system-font rendering plus parseFnt/createBitmapFont/loadBitmapFont binding of supported BMFont (the native path supports only 1 unpacked single page), RichText, sorting layers and Sorting2D Label, Sprite (the UI renderer family) docs/manual/2d-ui.md, docs/manual/ui-layout-and-interaction.md, docs/manual/creating-text.md, docs/manual/bitmap-font-loading.md, src/air/ui-kit.ts, src/air/assets/bmfont.ts
cocosair-graphics-and-dom command replay, SVG serialization, raster fills and limits, pattern transform, Sprite mask channels, UI blend scope, texture Sprite, AirUIMesh limits, DOM overlay, the experimental html-source createAirHTMLSource (only the ./html-source entry), getAirHTMLSourceSupport docs/manual/graphics-and-dom.md, src/air/graphics-commands.ts, src/air/graphics-raster.ts, src/air/ui-blend.ts, src/air/dom-overlay.ts, src/air/ui-mesh.ts, src/air/html-source.ts
cocosair-input-action input/systemEvent/touch and key codes, createActionState/createActionInput and their three backends with the dom backend requiring an explicit canvas, createSessionGate, SceneStack input interception and page caching, editable-target skipping, the focus contract see the canonical docs for the input surface and the action recipes docs/manual/input-and-events.md, docs/manual/input-action-state.md, docs/manual/test-input-injection.md, src/air/action-state.ts, src/air/action-input.ts, src/air/scene-stack.ts
cocosair-physics the physics: 'builtin' | 'cannon' selection timing and "last registrant wins", warn-only without throwing when zero backends are registered, 2D Box2D pure JS and its query/integration boundaries, default-physics-material seeding, the absent WASM backends AirAppOptions.physics docs/manual/physics-2d-and-3d.md, docs/notes/physics-3d-notes.md, docs/reference/api-stability.md, src/air/physics-backend.ts
cocosair-audio-video AudioService BGM/SFX channels and maxSfxVoices overflow, judging playback by measured currentTime rather than playing, AudioSource gesture unlock, VideoPlayer platform notes, WebView limits AudioSource docs/manual/audio-video-webview.md, docs/notes/audio-notes.md, docs/notes/video-notes.md, src/air/audio-service.ts
cocosair-agent-session the __airApp binding, Agent/DevTools session observation and controlled writes, the rc-* contracts (a dispatch requestId repeated during execution or inside the retention window is rejected as INVALID_ARGUMENT, default FIFO 256; this is not an idempotent replay of the first result), diagnostic caps and truncation, visual-probe region conventions development-tooling surface, not part of the default runtime bundle or the SDK declarations docs/guides/agent-development.md, docs/guides/runtime-inspection.md, docs/guides/visual-probe-contracts.md, tools/debug/agent-session.ts, examples/automation
cocosair-verification the source-export / bundle-reachable / browser-behavior three-layer reporting wording, telling write gates from read-only gates, spec/source/candidate fingerprints, per-API proof with call/read reporting, subset semantics, Playwright and NODE_PATH prerequisites see the AGENTS.md command table for the gate command surface docs/reference/verification.md, AGENTS.md, docs/reference/example-specification.md

Sync note: when a canonical doc changes, re-derive this table and the router's group table together; there is no automatic drift check for this suite. Re-read the relevant current implementation when checking executable behavior; older prose may lag it. Dates and source line numbers are provenance hints, not current browser evidence.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at ed38648. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last month
layer
router
All 1 allowed tools
Read Bash
Other metadata
compatibility
Cocos AIR source checkout or installed cocosair.js package. Browser rendering requires WebGL 2; source tooling requires Node.js >=18. Use the host-provided tools and user-authorized workspace.
when_to_use
[
  "which skill owns this AIR task",
  "choose only the dependencies needed for this step",
  "adapt Creator knowledge to code-first AIR",
  "distinguish source exports from proven browser capabilities"
]
owns
[
  "skill-routing",
  "primary-owner",
  "direct-dependencies",
  "code-first",
  "capability-layers"
]
not_for
[
  "startup errors -> cocosair-application",
  "material property failures -> cocosair-materials-effects"
]
metadata
{
  "author": "oahc09@gmail.com",
  "version": "1.0.0",
  "last-updated": "2026-10-13",
  "description_zh": "为 Cocos AIR 任务选择主技能和直接依赖,并遵循原生 API、启动时序与能力证据分层。用于开始 AIR 开发、定位能力归属或选择技能。"
}

README badge

README badge for oahc09/cocosairjs/cocosair