Agent Skills
› dartsim/dart
› dart-build
dart-build
GitHubDART构建系统技能,涵盖CMake配置、pixi依赖管理及构建故障排查。提供常用命令、常见问题解决方案及锁文件管理规范,支持GUI视觉检查与CUDA环境适配,辅助开发者高效完成代码编译与验证。
Trigger Scenarios
执行DART项目构建或配置
解决CMake或依赖安装错误
处理Pixi锁文件变更
进行构建后测试或格式化
Install
npx skills add dartsim/dart --skill dart-build -g -y
SKILL.md
Frontmatter
{
"name": "dart-build",
"description": "DART Build: CMake, pixi, dependencies, and build troubleshooting"
}
DART Build System
Load this skill when working with DART's build system.
Quick Commands
pixi run config # Configure CMake
pixi run build # Build
pixi run test # Run tests
pixi run test-all # Build defaults and run C++/Python tests
pixi run -e gazebo test-gz # Gazebo/gz-physics compatibility gate
pixi run lint # Format code
Full Documentation
For complete build instructions, read: docs/onboarding/building.md
For build system internals (CMake, dependencies): docs/onboarding/build-system.md
Common Issues
| Issue | Solution |
|---|---|
| CMake not found | pixi install |
| Missing dependency | Check pixi.toml |
| Build failure | pixi run config then pixi run build |
| Linking error | Check CMakeLists.txt in relevant module |
Development Branch Notes
- The development branch prioritizes compatibility with installed headers, package exports, and downstream Gazebo/gz-physics behavior.
- For package, collision, constraint, or dependency changes that could affect
downstream users, run the Gazebo gate:
pixi run -e gazebo test-gz.
Pixi Lockfiles
- Do not edit
pixi.lockby hand. Change dependency constraints inpixi.toml, then run a Pixi command such aspixi installto let Pixi regenerate the lockfile. - If
pixi.lockchanges format or has broad solver churn, keep the generated output and call it out in the PR rather than attempting to splice lockfile entries manually.
GUI Visual Checks
- For Filament GUI, scene, or simulation rendering changes, load
dart-verify-sim. Pair a focused text correctness oracle withagent-capture, view assessment, and claim-relevant coreDebugOverlaylayers; inspect the artifact and sidecar instead of relying only on command success.
Key Files
pixi.toml- Package managementCMakeLists.txt- Build configurationcmake/- CMake modules
Version History
-
f630c91
Current 2026-10-18 20:25
新增Gazebo/gz-physics兼容性门控测试;移除旧版CUDA说明,增加Filament GUI渲染视觉检查指引;更新开发分支为main。
- deb9869 2026-09-08 21:46
- bcd584e 2026-09-02 23:41
-
b9fbefc
2026-07-19 11:30
将构建配置命令从configure重命名为config;新增Filament GUI视觉检查及与dart-verify-sim技能协作的指引。
- e0d13fd 2026-07-05 10:36


