Agent Skills › dartsim/dart › dart-downstream-fix

dart-downstream-fix

GitHub

用于修复通过 gz-physics 或 Gazebo 报告的 DART 下游 Bug。流程包括分析复现步骤、定位 DART API 问题、实施最小化修复及回归测试,并遵循特定分支规范提交 PR。

.agents/skills/dart-downstream-fix/SKILL.md dartsim/dart

Trigger Scenarios

修复下游报告的 DART 崩溃或未定义行为 处理仿真中的 NaN/Inf 传播问题 解决缺失验证导致的性能回归

Install

npx skills add dartsim/dart --skill dart-downstream-fix -g -y
More Options

Non-standard path

npx skills add https://github.com/dartsim/dart/tree/main/.agents/skills/dart-downstream-fix -g -y

Use without installing

npx skills use dartsim/dart@dart-downstream-fix

指定 Agent (Claude Code)

npx skills add dartsim/dart --skill dart-downstream-fix -a claude-code -g -y

安装 repo 全部 skill

npx skills add dartsim/dart --all -g -y

预览 repo 内 skill

npx skills add dartsim/dart --list

SKILL.md

Frontmatter
{
    "name": "dart-downstream-fix",
    "description": "DART Downstream Fix: fix a DART bug reported through gz-physics or Gazebo"
}

dart-downstream-fix

Use this skill to run the DART dart-downstream-fix workflow. The editable workflow source lives in .claude/commands/; this generated skill is its entrypoint for Codex and Muse.

Invocation

  • Claude Code: /dart-downstream-fix <arguments>
  • Codex: $dart-downstream-fix <arguments>
  • Muse: /dart-downstream-fix <arguments>

Treat the text after the skill name, or the user's request when the skill is loaded on demand, as $ARGUMENTS. When the workflow references $1, $2, etc., map those to the positional values supplied by the user.

Command Body

Fix downstream-reported DART issue: $ARGUMENTS

Required Reading

@AGENTS.md @docs/onboarding/contributing.md @docs/onboarding/ci-cd.md

When To Use

Use for downstream issues in gz-physics, Gazebo, or gz-sim that trace back to DART behavior: crashes, assertions, NaN/Inf propagation, missing validation, or DART performance regressions.

Workflow

If the downstream symptom depends on scene/model structure, simulation, collision/contact, or Filament output, route through dart-verify-sim: establish a text oracle, add assessed claim-tied visual evidence, or document a visual exception when graphics support is unavailable or not applicable.

  1. Read the downstream issue, logs, stack traces, and reproduction steps.
  2. Identify the DART API, component, and invalid usage pattern involved.
  3. Search for related validation and recovery patterns in DART.
  4. Plan the smallest fix and the regression test location.
  5. Decide whether the bug applies to the active release line. For applicable bug fixes, implement on the development branch, main:
    • branch: fix/<downstream-project>-<issue-number>-<brief-description>
    • add a regression test that reproduces the downstream symptom
    • keep the fix minimal; no unrelated refactors
  6. Run pixi run lint and relevant tests; use pixi run test-all when feasible, and run pixi run -e gazebo test-gz when Gazebo/gz-physics compatibility could be affected.
  7. Ask for explicit maintainer/user approval before pushing or creating PRs. After approval, create the PR against main with the milestone resolved from the target branch's docs/onboarding/release-management.md, and reference the downstream issue.

Release-Line Conventions

  • DART 6 code (release-6.20) may use dtwarn << ..., <dart/dart.hpp>, and older test CMake patterns.

Output

  • Root cause and fix summary
  • PR URL, if one was opened
  • Tests run and CI status
  • Link back to the downstream issue

Version History

  • f630c91 Current 2026-10-18 20:24

    新增对 Muse 客户端的支持;更新工作流以适配 Filament 渲染器;明确 main 为开发分支并调整 CI 配置。

  • deb9869 2026-09-08 21:45

    更新调用工具说明,移除 OpenCode,仅保留 Claude Code 和 Codex。

  • bcd584e 2026-09-02 23:40

    优化了仿真症状路由逻辑,将'3D结构或行为'细化为场景模型结构、仿真、碰撞接触或GUI输出;简化了验证步骤描述。

  • b9fbefc 2026-07-19 11:29

Same Skill Collection

.agents/skills/dart-analyze/SKILL.md
.agents/skills/dart-architecture/SKILL.md
.agents/skills/dart-audit-agent-compliance/SKILL.md
.agents/skills/dart-backport-pr/SKILL.md
.agents/skills/dart-benchmark-packet/SKILL.md
.agents/skills/dart-branch-cleanup/SKILL.md
.agents/skills/dart-build/SKILL.md
.agents/skills/dart-changelog/SKILL.md
.agents/skills/dart-ci/SKILL.md
.agents/skills/dart-close-issue/SKILL.md
.agents/skills/dart-contribute/SKILL.md
.agents/skills/dart-deps/SKILL.md
.agents/skills/dart-docs-update/SKILL.md
.agents/skills/dart-execute-packet/SKILL.md
.agents/skills/dart-fix-issue/SKILL.md
.agents/skills/dart-io/SKILL.md
.agents/skills/dart-manage-pr/SKILL.md
.agents/skills/dart-mechanical-refactor/SKILL.md
.agents/skills/dart-model-upgrade/SKILL.md
.agents/skills/dart-new-task/SKILL.md
.agents/skills/dart-next/SKILL.md
.agents/skills/dart-perf/SKILL.md
.agents/skills/dart-plan-update/SKILL.md
.agents/skills/dart-pr/SKILL.md
.agents/skills/dart-python/SKILL.md
.agents/skills/dart-references/SKILL.md
.agents/skills/dart-release-ci-fix/SKILL.md
.agents/skills/dart-release-merge-main/SKILL.md
.agents/skills/dart-release-packaging/SKILL.md
.agents/skills/dart-resume/SKILL.md
.agents/skills/dart-retro/SKILL.md
.agents/skills/dart-review-pr/SKILL.md
.agents/skills/dart-test/SKILL.md
.agents/skills/dart-triage-issue/SKILL.md
.agents/skills/dart-ultrawork/SKILL.md
.agents/skills/dart-verify-sim/SKILL.md
.claude/skills/dart-architecture/SKILL.md
.claude/skills/dart-build/SKILL.md
.claude/skills/dart-ci/SKILL.md
.claude/skills/dart-contribute/SKILL.md
.claude/skills/dart-io/SKILL.md
.claude/skills/dart-perf/SKILL.md
.claude/skills/dart-python/SKILL.md
.claude/skills/dart-references/SKILL.md
.claude/skills/dart-test/SKILL.md
.claude/skills/dart-verify-sim/SKILL.md
.codex/skills/dart-analyze/SKILL.md
.codex/skills/dart-architecture/SKILL.md
.codex/skills/dart-audit-agent-compliance/SKILL.md

Metadata

Files
0
Version
f630c91
Hash
15dd881c
Indexed
2026-07-19 11:29

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-20 03:08
浙ICP备14020137号-1