cesiumjs-spatial-math SKILL.md skillA

cesiumjs-spatial-math from cesiumgs/cesiumjs-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add cesiumgs/cesiumjs-skills/cesiumjs-spatial-math@git:20260827.49e0612

Pins git:20260827.49e0612 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
cesiumgs/cesiumjs-skills
Path
skills/cesiumjs-spatial-math/SKILL.md
Versions recorded
4
Latest version
git:20260827.49e0612, committed Aug 27, 2026
First version recorded
Apr 1, 2026
Size
18,300 bytes
Repository stars
194
License
Apache-2.0

CesiumJS spatial math - Cartesian3, Cartographic, Matrix4, Quaternion, Transforms, Ellipsoid, BoundingSphere, projections, coordinate conversions. Use when converting between coordinate systems, computing positions on the ellipsoid, performing spatial intersection tests, building model matrices, or working with geographic projections.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# CesiumJS Spatial Math & Transforms

Version baseline: CesiumJS v1.144 (2026-08-01)

Mathematical foundation for every CesiumJS application: coordinate types, unit conversions, ellipsoid geometry, reference frame transforms, bounding volumes, intersection tests, and projections.

## Core Concepts

CesiumJS uses a right-handed Earth-Centered Earth-Fixed (ECEF) coordinate system:

- **Cartesian3** -- ECEF (x, y, z) in meters. Internal representation for all 3D positions.
- **Cartographic** -- (longitude, latitude, height). Angles are **radians**, height in meters above ellipsoid.

All angular values in core math are radians. Use `Math.toRadians()` / `Math.toDegrees()`. Math types use a **static-method-with-result** pattern: pass a `result` parameter to reuse allocations.

## Cartesian3 -- Positions and Vectors

```js
import { Cartesian3, Math as CesiumMath } from "cesium";

// From lon/lat degrees -- most common entry point
const pos = Cartesian3.fromDegrees(-105.0, 40.0);
const elevated = Cartesian3.fromDegrees(-105.0, 40.0, 1500.0); // with height

// Batch creation: [lon, lat, lon, lat, ...]
const ring = Cartesian3.fromDegreesArray([-105, 40, -100, 40, -100, 35]);
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add cesiumgs/cesiumjs-skills/cesiumjs-spatial-math@sha256:9adb85ec2a8f8fb3

The line at the top of this page pins the label git:20260827.49e0612, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_kwypitteefa5evvg.svg)](https://markdownregistry.com/a/art_kwypitteefa5evvg)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Apr 1, 2026 and Aug 27, 2026, about one every 49 days.

versioncommittedcommitsizeaudit
git:20260827.49e0612 latest2026-08-27 49e0612 18,300 BA view · diff
git:20260716.ba1c2d12026-07-16 ba1c2d1 13,993 BA view · diff
git:20260601.e67e5c62026-06-01 e67e5c6 13,993 BA view · diff
git:20260401.d67bc272026-04-01 d67bc27 13,530 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (18300 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

cesiumgs/cesiumjs-skills · 194 stars · license Apache-2.0 · pushed 2026-09-14 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_kwypitteefa5evvg
GET https://markdownregistry.com/api/v1/resolve?ref=cesiumgs/cesiumjs-skills/cesiumjs-spatial-math
GET https://markdownregistry.com/api/v1/blob/9adb85ec2a8f8fb3324e39f28bf50fdf8a22d6397495025d49ccb78ef98b5266

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from cesiumgs/cesiumjs-skills

cesiumjs-3d-tiles SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-3d-tiles/SKILL.md · CesiumJS 3D Tiles - Cesium3DTileset, compressed and CAD-style glTF content, MVTDataProvider…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-camera SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-camera/SKILL.md · CesiumJS camera control - Camera, flyTo, lookAt, setView, ScreenSpaceCameraController, composable Controller camera…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-core-utilities SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-core-utilities/SKILL.md · CesiumJS core utilities and networking - Resource, Color, Event, Request, RequestScheduler, error handling, helper…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-custom-shader SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-custom-shader/SKILL.md · CustomShader authoring — vertexShaderText and fragmentShaderText against VertexInput, FragmentInput, FeatureIds…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-entities SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-entities/SKILL.md · CesiumJS entities and data sources - Entity, EntityCollection, DataSource, GeoJsonDataSource, KmlDataSource…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-imagery SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-imagery/SKILL.md · CesiumJS imagery layers - ImageryProvider, ImageryLayer, ImageryLayerCollection, WMS, WMTS, Bing, OpenStreetMap…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-interaction SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-interaction/SKILL.md · CesiumJS interaction and picking - ScreenSpaceEventHandler, multi-key KeyboardEventModifier input actions, Scene.pick…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-materials-shaders SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-materials-shaders/SKILL.md · CesiumJS materials and post-processing — Material, Fabric JSON, MaterialAppearance, ImageBasedLighting…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-models-particles SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-models-particles/SKILL.md · CesiumJS models, glTF, and particle effects - Model, KHR_meshopt_compression, CAD glTF extensions, EdgeDisplayMode…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-primitives SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-primitives/SKILL.md · CesiumJS primitives and geometry - Primitive, GeometryInstance, Appearance, BufferPrimitive collections…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-terrain-environment SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-terrain-environment/SKILL.md · CesiumJS terrain, globe, and environment - TerrainProvider, Globe, sampleTerrain, atmosphere, sky, fog, lighting…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-time-properties SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-time-properties/SKILL.md · CesiumJS time, properties, and animation - Clock, JulianDate, TimeInterval, Property, SampledProperty…
git:20260827.49e0612 · audit A · 194 stars

Every file in cesiumgs/cesiumjs-skills

Browse by kind, by grade A, or by owner.