recast-navigation
БесплатноЗапускает вложенные скриптыНе проверенOperate recastnavigation/recastnavigation for Recast baking, Detour queries, TileCache obstacles, Crowd movement, source/CMake integration, and license…
от akillness★ 63 звезды на GitHubОб этом скилле
recast-navigation
When to use this skill
Use specifically for recastnavigation/recastnavigation and its Recast, Detour, TileCache or Crowd APIs. Choose one independent mode: source-integration, demo-build-plan, bake-navmesh, query-path, dynamic-obstacles, crowd-integration, or distribution-review. Ordinary engine navigation settings and generic pathfinding theory belong to their engine/design owners.
Instructions
1. Fix the module and revision boundary
Read upstream evidence. Record exact revision, compiler/build mode, target OS, coordinate conversion, required modules, input geometry and approved output. Research main commit and release v1.6.0 are different evidence; CMake's 1.6.0 constant does not make main byte-identical to the release. A level tool may need Recast/Detour/DebugUtils, while runtime can use only Detour. Finish with a minimal module/dependency plan.
2. Offline preflight is not a build
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:
python3 scripts/preflight.py --json
python3 scripts/preflight.py --json --repo "$SOURCE_ROOT"
SOURCE_ROOT must identify an explicit absolute nonsymlink source checkout. references/source.json lists selected README/license hashes. No source is inspected without --repo; tool discovery is informational and runs no version commands. Preserve exit code and runtime_verified=false / whole_revision_verified=false. Block pin claims on mismatched files. A selected-file match is not a Git revision, ABI, navmesh validity or platform verification.
3. Work one branch with concrete checks
- source-integration: inspect the selected source headers and add only needed source directories: Recast, Detour, DetourTileCache, DetourCrowd, DebugUtils. CMake exports RecastNavigation:: targets. Core is documented C++98 with no external dependencies; do not conflate that with the demo/tests. Keep DT_POLYREF64 and DT_VIRTUAL_QUERYFILTER consistent between library and consumers. Stable official C/DLL binding API is absent; label unofficial bindings and verify their separate maintenance/license.
- demo-build-plan: current demo/tests require C++20; demo additionally needs SDL2, OpenGL and GLU. Root CMake minimum is 3.15, default demo/tests ON. Use the reference Premake platform recipe or source-backed CMake options, only after dependency/build approval. Run the built demo/tests and preserve output before saying they work. vcpkg install recast is a separate optional installation, never a discovery step.
- bake-navmesh: inspect the matching Sample_SoloMesh.cpp or Sample_TileMesh.cpp and choose single/static versus tiled/dynamic. Convert to right-handed Y-up and clockwise triangles. Record agent radius/height/climb/slope and voxel cell size/height from the requested game scale. Follow rasterization, walkability filters, regions and polygon mesh construction in that revision's example; use its error/log handling and allocation lifecycle. Validate narrow corridors, slopes, disconnected islands and tile seams with known walkable/nonwalkable points. Do not claim arbitrary geometry will always bake correctly.
- query-path: follow exact dtNavMeshQuery signatures from the selected headers. Locate start/end polygons with the configured filter, query a polygon corridor, then derive traversal points as appropriate. Inspect returned status/detail flags, capacities, missing endpoints, partial paths and node-budget exhaustion; never report any nonempty array as complete success. Keep query object/allocator ownership and threading policy explicit rather than assuming shared mutable queries are safe.
- dynamic-obstacles: use tiled navmesh plus DetourTileCache example for obstacle/rebuild/update sequence. Test add/remove and path recomputation across affected tiles; do not confuse local crowd avoidance with a rebuilt global navmesh. Bound update budget and retain invalidation evidence.
- crowd-integration: inspect dtCrowd setup and selected header contracts. Crowd owns agent position/velocity; constant external overrides violate its model. Keep local targets within the documented 256-polygon planning range and supply intermediate targets for longer routes. Test agent registration/removal, target reachability, avoidance and failure reporting; no arbitrary agent-count performance guarantee.
- distribution-review: apply all three zlib conditions to core source and retain separate demo/test/asset notices. Root
Установить recast-navigation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBashВложенные файлы
FAQ
Что делает скилл recast-navigation?
Operate recastnavigation/recastnavigation for Recast baking, Detour queries, TileCache obstacles, Crowd movement, source/CMake integration, and license review. Use when the user names Recast Navigation, Detour, dtNavMeshQuery, or this repository. Route engine-owned navigation settings and generic pathfinding theory to the engine or design owner; this is not a universal AI movement guide.
Как установить скилл recast-navigation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл recast-navigation запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic