dart-new-task
GitHub启动DART项目的新任务工作流,支持特性、修复、重构等类型。通过解析目标与约束,评估范围并创建分支,遵循代码规范实施与验证,确保符合发布与测试标准。
Trigger Scenarios
Install
npx skills add dartsim/dart --skill dart-new-task -g -y
SKILL.md
Frontmatter
{
"name": "dart-new-task",
"description": "DART New Task: start a feature, bugfix, refactor, docs, build, or test task"
}
dart-new-task
Use this skill to run the DART dart-new-task workflow. The editable workflow
source lives in .claude/commands/; this generated skill is its entrypoint for
Codex and Muse.
Invocation
- Claude Code:
/dart-new-task <arguments> - Codex:
$dart-new-task <arguments> - Muse:
/dart-new-task <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
Start a new task in DART: $ARGUMENTS
Required Reading
Read these files first: @AGENTS.md @docs/onboarding/building.md @docs/onboarding/contributing.md @docs/onboarding/release-management.md @docs/onboarding/code-style.md @docs/dev_tasks/README.md @docs/ai/sessions.md @docs/ai/principles.md @docs/ai/verification.md
Workflow
- Understand the task - Parse: goal, constraints, type (feature|bugfix|refactor|docs)
- Assess scope - Multi-phase or multi-session? Create
docs/dev_tasks/<task>/(seedocs/dev_tasks/README.mdfor criteria). Team-scale work (multiple parallel lanes needing orchestrated worker agents) switches todart-ultraworkinstead. For multi-session, design-heavy, public API, solver/paper, release, or cross-module work, fill the dev-task specification intake before editing: value, scope, assumptions, traceability, non-goals, acceptance evidence, gates, and open decisions. If consequential ambiguity would change public API, release compatibility, numerical correctness, benchmark claims, or roadmap scope, record an owner-localDecision neededblock instead of silently choosing. - Setup - Resolve the target from the live PR base, or use
mainfor new development and fixes. Release-specific packaging, CI, branch guidance, and backports use the selected maintainedrelease-*branch; backports of mergedmainfixes usedart-backport-pr. Fetch the target and read itsdocs/onboarding/release-management.md§ "Release target" before creating a topic branch. Verify the exactDART <Next release>milestone is open on GitHub. Publishing requires explicit maintainer/user approval. Create the topic branch without tracking its base:git switch --no-track -c <type>/<topic> origin/<target-branch>. - Implement - Keep commits focused, follow code style
- Verify - Run
pixi run lintbefore committing, then run the focused branch gate for the touched surface. Usepixi run test-allwhen feasible, andpixi run -e gazebo test-gzfor package, collision, constraint, or downstream Gazebo/gz-physics compatibility work. If the claim depends on scene structure, simulation, dynamics, collision/contact, Filament output, or a visual example, route throughdart-verify-sim: prove correctness with text first, then add assessed claim-tied visual/debug evidence or record why it is unavailable or not applicable. - PR - After explicit maintainer/user approval, push with the same local
and remote topic-branch name:
branch=$(git branch --show-current); git push -u origin "HEAD:${branch}". Then create the draft PR against<target-branch>using.github/PULL_REQUEST_TEMPLATE.mdand the exact open GitHub milestoneDART <Next release>resolved from the fetched base's release-target table. - Cleanup - Before PR: if task used
docs/dev_tasks/<task>/, first promote durable dashboards, evidence matrices, API inventories, migration maps, or long-lived decisions into release/onboarding/AI docs. Then remove the dev-task folder completely (include the deletion in this PR, not after merge).
Type-Specific
- Bugfix: Target the development branch (
main) - Refactor: No behavior changes
- Feature: Add tests + docs
- Scope: Follow the resolved branch's
AGENTS.mdcompatibility and approval rules: onmainthat includes approved PLAN-624 work; release branches take compatible maintenance, dependency minimization, CI, docs, and fixes.
Output
- Task type, branch, and files changed
- Verification commands run and their results
- Remaining steps and anything held for explicit maintainer/user approval before push/PR
Version History
-
f630c91
Current 2026-10-18 20:25
新增对Muse客户端的支持;优化工作流文档引用,增加构建、代码风格及验证指南的读取要求;细化多阶段任务与分支管理的执行步骤。
-
deb9869
2026-09-08 21:45
简化了命令调用方式(移除OpenCode),优化了必读文件列表以聚焦核心原则和验证指南,并调整了工作流描述。
- bcd584e 2026-09-02 23:40
- b9fbefc 2026-07-19 11:29


