dart-fix-issue
GitHub用于在Codex中执行DART项目的GitHub Issue修复工作流。验证Issue分类,定位分支,编写最小化修复代码及回归测试,运行Lint和测试套件,生成Changelog并创建双PR(LTS与main分支)。
触发场景
安装
npx skills add dartsim/dart --skill dart-fix-issue -g -y
SKILL.md
Frontmatter
{
"name": "dart-fix-issue",
"description": "DART Fix Issue: resolve a GitHub issue with a fix and regression test"
}
dart-fix-issue
Use this skill in Codex to run the DART dart-fix-issue workflow. The editable
workflow source currently lives in .claude/commands/, and this generated
Codex skill is a generated Codex adapter entrypoint.
Invocation
- Claude Code/OpenCode:
/dart-fix-issue <arguments> - Codex:
$dart-fix-issue <arguments>
Treat the text after the skill name as $ARGUMENTS. When the workflow
references $1, $2, etc., map those to the positional values supplied by the
user.
Command Body
Fix GitHub issue: $ARGUMENTS
Required Reading
@AGENTS.md @docs/onboarding/contributing.md @docs/onboarding/changelog.md
Workflow
gh issue view $1- Validate issue- Classify whether the issue is a bug fix that applies to the active DART 6
LTS branch. For applicable bug fixes, start from the highest maintained
origin/release-6.*branch; otherwise start fromorigin/main. - Fix with minimal changes + add regression test. For dual-PR bug fixes, fix
the active DART 6 LTS branch first, then cherry-pick or reapply to
main. pixi run lint, then run the smallest relevant tests; usepixi run test-allbefore finalizing when feasible, and alsopixi run -e cuda test-allon Linux hosts with a visible NVIDIA CUDA runtime- Before PR creation, invoke the
dart-changelogroutine to decide whetherCHANGELOG.mdneeds an entry, then fill.github/PULL_REQUEST_TEMPLATE.md. - After explicit maintainer/user approval,
git push -u origin HEAD && gh pr create --base <target-branch> --milestone "<milestone>" - Before PR: If task used
docs/dev_tasks/<task>/, remove the folder (include in this PR, not after merge)
CRITICAL: Dual-PR for Bug Fixes
PRs to BOTH the active DART 6 LTS branch AND main. See
docs/onboarding/contributing.md.
Output
- Issue number and classification (bug fix, dual-PR, or main-only)
- Fix summary and regression test added
- Gates run (lint, focused tests,
pixi run test-all) - PR readiness for each target branch, noting any explicitly approved mutation
版本历史
-
51b2d25
当前 2026-07-11 18:25
澄清AI工作流术语 (#3289)
- e0d13fd 2026-07-05 10:37


