编写、调试与调优 Playwright 测试,涵盖定位器策略、追踪诊断与 CI 友好的超时配置。
设计与多媒体
cesium
试用Build, debug, and optimize CesiumJS 3D globe apps, including viewer setup, terrain/imagery, 3D Tiles, GeoJSON/CZML loading, camera control, picking, entity s...
它能做什么
Implement CesiumJS solutions with minimal assumptions and production-safe defaults.
技能文档
Cesium
Implement CesiumJS solutions with minimal assumptions and production-safe defaults.
Workflow
- Confirm runtime assumptions first: framework (vanilla/Vite/React), CesiumJS version, and whether Cesium Ion is available.
- Start with the smallest runnable viewer setup before adding terrain, 3D Tiles, or heavy data layers.
- Keep token handling out of source code; use environment variables and project config wiring.
- Add data layers incrementally and verify camera framing after each step.
- For rendering/perf issues, reduce scene complexity first, then tune request/render settings.
Implementation guardrails
- Prefer explicit imports from
cesiumand avoid hidden globals. - Use
requestRenderModefor mostly static scenes to reduce GPU/CPU usage. - Dispose resources in teardown paths (
viewer.destroy()) in SPA route changes/unmounts. - For large datasets, prefer 3D Tiles over huge entity collections when possible.
- Keep picking logic resilient: handle
undefinedpicks and mixed primitive/entity results.
Debugging checklist
- Blank globe: verify CSS container height/width and render loop not blocked.
- Missing terrain/tiles: verify network access, token, and dataset permissions.
- Misplaced data: verify CRS and coordinate order (lon, lat, height).
- Memory/GPU pressure: profile number of entities/primitives and texture-heavy layers.
Reference docs in this skill
- Read
{baseDir}/references/patterns.mdwhen generating or fixing Cesium code.
相关技能
以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。
诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。
从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。
把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。
在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。
jvy 的更多技能
浏览全部技能面向中文办公场景的 WPS 文档、表格与演示处理及格式兼容。
Create Apache ECharts option JSON, standalone HTML chart pages, and export-ready chart artifacts from CSV, TSV, JSON tables, or existing option configs. Use...
Gitee operations via OpenAPI and git: repositories, pull requests, issues, comments, and file contents. Use when: (1) inspecting or creating Gitee pull reque...
Write, explain, adapt, and debug practical shader code for GLSL, WebGL, Three.js ShaderMaterial, React Three Fiber, postprocess-style full-screen effects, an...
Build, debug, and integrate OpenLayers web maps, including map/view setup, XYZ and OSM base layers, vector sources, GeoJSON overlays, Web Mercator and WGS84...
Research public holidays, bank holidays, observed days, school breaks, and make-up workdays for any country or region. Use when the user asks whether a speci...