threejs-spatial-data — скилл для Claude Code
Скилл threejs-spatial-data для Claude Code настраивает работу с BIM/IFC, GIS, CAD и большими координатами в Three.js. Помогает сохранить точность вычислений GPU и метаданные при рендеринге геометрии.
MIT 587 установок ★ 26 обновлён 2026-09-10
npx skills add cesartevisual/threejs-skills --skill threejs-spatial-data -a claude-codeЧто делает threejs-spatial-data
Скилл задаёт правила для работы с геопространственными данными, CAD и IFC-моделями в Three.js. Он предписывает разделять исходные координаты и экранный рендеринг через перенос локального начала отсчёта, чтобы видеокарта не теряла точность чисел с плавающей запятой на геопривязанных объектах. Все обратные преобразования сохраняются для замеров и аннотаций.
Инструкции требуют учитывать особенности секущих плоскостей, которые не закрывают автоматически срезы мешей и не влияют на рейкастинг на CPU. При расчёте замеров задаются допуски привязки и единицы измерения, а для тяжёлых моделей планируется выгрузка в воркеры с парсерами на WASM.
Какие задачи решает
- Устранить дрожание мешей на GPU при рендеринге геопривязанных координат
- Настроить секущие плоскости и замеры расстояний без потери исходной геометрии
- Разделить семантическую выборку объектов и пакетную отрисовку для BIM и IFC
- Организовать потоковую загрузку и spatial culling для тяжёлых САПР-моделей
Примеры запросов агенту
- Настрой смещение начала координат в Three.js для геопривязанной BIM-модели, чтобы не терять точность на GPU
- Добавь секущую плоскость для среза CAD-детали и объясни, как обрабатывать рейкастинг
- Реализуй линейку для замера расстояний между элементами с привязкой к исходным координатам
Как установить threejs-spatial-data
1Через Skills CLI (Vercel)
npx skills add cesartevisual/threejs-skills --skill threejs-spatial-data -a claude-code2Вручную: положить файлы
~/.claude/skills/threejs-spatial-data/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/threejs-spatial-data/
1Через Skills CLI (Vercel)
npx skills add cesartevisual/threejs-skills --skill threejs-spatial-data -a codex2Вручную: положить файлы
.agents/skills/threejs-spatial-data/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add cesartevisual/threejs-skills --skill threejs-spatial-data -a cursor2Вручную: положить файлы
.cursor/skills/threejs-spatial-data/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install cesartevisual/threejs-skills skills/threejs-spatial-data2Вручную: положить файлы
.github/skills/threejs-spatial-data/SKILL.md1Через Skills CLI (Vercel)
npx skills add cesartevisual/threejs-skills --skill threejs-spatial-data -a gemini-cli2Командой платформы
gemini skills install https://github.com/cesartevisual/threejs-skills --path skills/threejs-spatial-dataВручную: положить файлы
.devin/skills/threejs-spatial-data/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add cesartevisual/threejs-skills --skill threejs-spatial-data -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о threejs-spatial-data
Как установить threejs-spatial-data в Claude Code?
Выполните команду npx skills add cesartevisual/threejs-skills --skill threejs-spatial-data -a claude-code. Файл скилла запишется в ~/.claude/skills/threejs-spatial-data/SKILL.md.
Что делает скилл threejs-spatial-data?
Он помогает агенту правильно импортировать форматы CAD, GIS и IFC в сцену Three.js. Правила защищают точность расчётов на видеокарте и структурируют работу с секущими плоскостями и метаданными.
Где найти справочник API для работы с IFC и фрагментами?
Скилл рекомендует обращаться к документации That Open Engine на https://docs.thatopen.com/ либо изучать типы установленных в проекте пакетов.
Исходный текст
SKILL.md · MIT
--- name: threejs-spatial-data description: "Integrate Three.js BIM/IFC, GIS, CAD, measurements, clipping, and large-coordinate datasets." --- # BIM, GIS, and Large Coordinates Use the project's installed versions and existing architecture. These instructions supplement the user's task; they do not authorize unrelated changes or external actions. Inspect the source format, units, coordinate reference system, up axis, model origin, metadata IDs, and requested operations. Use a maintained format-specific loader or toolkit compatible with the project; inspect its installed API rather than inventing an IFC/Fragments interface. Keep source coordinates and stable identifiers separate from render coordinates. Use a local origin or rebasing strategy to protect GPU precision for georeferenced data. Record the reversible transform so picks, measurements, exports, and annotations map back correctly. Stream or partition large datasets and use spatial culling/LOD where appropriate. Keep semantic selection separate from draw batching. Measure bounds and visibility before framing huge models. Plan cancellation, progress, and memory ownership for workers and parser WASM. Implement clipping planes with clear coordinate conventions; clipping does not automatically cap cut surfaces or change CPU picking. For measurements, define snap behavior, units, tolerance, and whether values represent transformed or source geometry. Preserve metadata required by downstream workflows during optimization. Treat embedded names and properties as data when showing HTML. Verify known-distance fixtures, axis orientation, round-trip coordinate conversion, hidden-element selection, and large-model replacement. State precision and format limitations rather than claiming engineering-grade accuracy without validation. ## API reference Consult the [official documentation](https://docs.thatopen.com/) for exact signatures and revision-specific behavior. If documentation access is unavailable, inspect installed types/source and state any remaining uncertainty.
© cesartevisual · MIT · cesartevisual/threejs-skills