Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

jolt-physics

БесплатноЗапускает вложенные скриптыНе проверен

Operate jrouwe/JoltPhysics for native C++ physics integration, pinned builds, body lifecycle, collision queries, determinism checks, or Jolt-specific…

akillnessот akillness★ 63 звезды на GitHub

Об этом скилле

jolt-physics

When to use this skill

Use for the named Jolt native library, JPH symbols, its sample integration, or an existing Jolt build/runtime issue. Select exactly one mode: source-fit, build-plan, native-integration, determinism-audit, or failure-triage. Generic Godot physics belongs to the engine workflow, not this native-library operator. JoltPhysics.js is a separate repository and requires its own source/version review.

Instructions

1. Freeze one mode and evidence boundary

Read references/upstream.md for version, architecture, asset-license, and platform limits. Read references/source.json for selected-file provenance. Record existing project/compiler/architecture/build type, linked Jolt version, requested output, and permission scope. Preserve existing pins; HEAD evidence is not release equivalence.

Helper host prerequisite: Before running the helper, use a POSIX Python environment with os.O_NOFOLLOW and os.open support for dir_fd. Native Windows may fail closed with secure_posix_traversal_unavailable; preserve these safety guards. Windows users can retry in a WSL environment that supports these features or manually compare the original manifest-listed source files against the pinned evidence. Neither this guidance nor a manual comparison verifies helper execution or runtime behavior; report those as unverified.

From the installed skill directory, run only the offline helper when authorized:

python3 scripts/preflight.py --json
python3 scripts/preflight.py --json --repo <approved-absolute-source-root>

The helper is local at scripts/preflight.py and loads references/source.json relative to itself. It checks selected bytes, rejects symlink traversal and sensitive paths, and does not run upstream code. Without --repo, source_checked remains false. Tool presence is not version/readiness proof; whole_revision_verified and runtime_verified remain false. Stop source-fit on mismatched selected hashes; do not rewrite the manifest to force a match.

2. Execute only the selected mode

  • source-fit: distinguish core CPU library, desktop visualization, GPU ComputeSystem/hair, and third-party language bindings. Check CPU instruction support and required toolchain before proposing a build. Done: pinned compatibility/unknowns packet, no installation.
  • build-plan: consult Build/README.md and exact checked-out scripts. C++17; README baseline VS2022+, Clang16+, GCC12+. Current Windows guide defaults to VS2026. Quote commands from the reference; do not upgrade the project. Done: reproducible commands, prerequisites, output locations, and explicit approval boundary.
  • native-integration: include Jolt/Jolt.h first; use the pinned HelloWorld lifecycle. RegisterDefaultAllocator before any Jolt call, install callbacks, create Factory, RegisterTypes, temp allocator and job system, persistent layer filters, PhysicsSystem.Init. Allocate bodies through BodyInterface; AddBody/CreateAndAddBody; update with an explicit fixed step; RemoveBody then DestroyBody; UnregisterTypes and clear factory after world resources are finished. ShapeSettings.Create results require error inspection. Keep referenced filters/listeners alive. Size body/pair/contact limits for the actual workload; sample limits are not production defaults. Done: scoped integration diff and acceptance checks, not an unexecuted success claim.
  • determinism-audit: verify identical modifying API order; same binary unless cross-platform mode is deliberately configured. CROSS_PLATFORM_DETERMINISTIC still needs identical source/defines and compatible application floating-point settings. Broadphase queries, callbacks, narrowphase result ordering and active-body ordering need explicit filtering/sorting where application logic depends on order. Done: deterministic comparison contract and exact tested configuration, or an unexecuted test plan.
  • failure-triage: collect first error, compile/link command, defines, RTTI/LTO settings, CPU flags and exact artifact. RegisterTypes abort can signal define mismatch; typeinfo errors can indicate RTTI mismatch; illegal instructions can indicate optimized CPU features. Test one minimal reproduction rather than changing all flags. Done: evidence-backed cause or smallest remaining probe.

3. Gate side effects and asset use

Source downloads, dependencies, compiler/build/test execution, project edits and signing each need explicit matching approval. Never infer publishing or git permission. Root MIT does not clear all assets: race tracks have LGPLv3 terms; external hair/head-model rights remain unresolved. Use self-owned synthetic test geometry unless component rights are separately verified. GPU hair does not mean GPU rigid-body simulation. Console support can require NDA-controlled files unavailable here.

4. Verify the actual requested outcome

Before approved execution, freeze commit, command,

Полный SKILL.md на GitHub

Установить jolt-physics в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Edit
Bash

Вложенные файлы

evals/evals.jsonreferences/source.jsonreferences/upstream.mdscripts/preflight.py

FAQ

Что делает скилл jolt-physics?

Operate jrouwe/JoltPhysics for native C++ physics integration, pinned builds, body lifecycle, collision queries, determinism checks, or Jolt-specific failures. Use when the request names Jolt Physics, its JPH API, or this repository. Route ordinary Godot physics settings, unrelated physics engines, and JavaScript binding work to their own owners; this skill does not install or build anything by activation.

Как установить скилл jolt-physics?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл jolt-physics запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить jolt-physics с