Agent Skills › dartsim/dart › dart-release-ci-fix

dart-release-ci-fix

GitHub

用于修复DART项目CI流水线失败的技能,涵盖检查运行日志、定位分支、应用最小化修复及验证构建测试。

.agents/skills/dart-release-ci-fix/SKILL.md dartsim/dart

Trigger Scenarios

CI流水线失败 需要修复发布分支或开发分支的持续集成错误

Install

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

Non-standard path

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

Use without installing

npx skills use dartsim/dart@dart-release-ci-fix

指定 Agent (Claude Code)

npx skills add dartsim/dart --skill dart-release-ci-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-release-ci-fix",
    "description": "DART Release CI Fix: debug and fix CI failures on DART development and release branches"
}

dart-release-ci-fix

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

Invocation

  • Claude Code: /dart-release-ci-fix <arguments>
  • Codex: $dart-release-ci-fix <arguments>
  • Muse: /dart-release-ci-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 DART CI: $ARGUMENTS

Required Reading

@AGENTS.md @docs/onboarding/ci-cd.md @docs/onboarding/release-management.md

Workflow

For a failure involving model/scene structure, physics behavior, or Filament output, use dart-verify-sim to reproduce the claim with text and assessed visual evidence. Document a visual exception when graphics support is unavailable or not applicable.

  1. Inspect the failing run:
    gh run view <RUN_ID> --log-failed
    gh run view <RUN_ID> --job <JOB_ID> --log
    
  2. Resolve the target from the live PR base or failing run's branch. Default to main when no target is specified. Fetch that target and read its docs/onboarding/release-management.md § "Release target"; verify the exact DART <Next release> milestone is open on GitHub. Publishing requires explicit maintainer/user approval.
  3. If continuing an existing PR, fetch and checkout that branch. Otherwise branch from the resolved target branch without resetting an existing local branch:
    TARGET_BRANCH=${TARGET_BRANCH:-main}
    git fetch origin "$TARGET_BRANCH"
    BRANCH=fix/<issue>-${TARGET_BRANCH}
    if git show-ref --verify --quiet "refs/heads/$BRANCH"; then
      git switch "$BRANCH"
    else
      git switch --no-track -c "$BRANCH" "origin/$TARGET_BRANCH"
    fi
    
  4. If a proven fix exists in a named reference, adapt it only when its assumptions exist here; otherwise make the smallest branch-scoped fix. Follow the resolved branch's compatibility rules in AGENTS.md, preserving C++17, its dartpy binder and GUI backend (nanobind and Filament on main and DART 7 release branches; pybind11 and OSG on release-6.20), dart::utils, and downstream Gazebo/gz-physics behavior.
  5. Explain why the failure was not caught earlier and whether workflow coverage should change.
  6. Run pixi run lint and release-relevant build/tests.
  7. Ask for explicit maintainer/user approval before pushing, creating, or updating the PR. After approval, push to the existing PR when step 3 continued one; otherwise open a new draft PR with the resolved next-release milestone and PR template. Then follow docs/onboarding/ai-tools.md § "PR Lifecycle".
  8. Monitor CI until green.

Output

  • Root cause
  • Fix summary
  • PR URL
  • CI status
  • Prevention recommendation, if any

Version History

  • f630c91 Current 2026-10-18 20:25

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-downstream-fix/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-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
fb953389
Indexed
2026-10-18 20:25

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