Agent Skills › dartsim/dart › dart-new-task

dart-new-task

GitHub

启动DART项目的新任务工作流,支持特性、修复、重构等类型。通过解析目标与约束,评估范围并创建分支,遵循代码规范实施与验证,确保符合发布与测试标准。

.agents/skills/dart-new-task/SKILL.md dartsim/dart

Trigger Scenarios

用户请求开始新功能开发 用户请求启动Bug修复任务 用户请求进行代码重构或文档更新

Install

npx skills add dartsim/dart --skill dart-new-task -g -y
More Options

Non-standard path

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

Use without installing

npx skills use dartsim/dart@dart-new-task

指定 Agent (Claude Code)

npx skills add dartsim/dart --skill dart-new-task -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-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

  1. Understand the task - Parse: goal, constraints, type (feature|bugfix|refactor|docs)
  2. Assess scope - Multi-phase or multi-session? Create docs/dev_tasks/<task>/ (see docs/dev_tasks/README.md for criteria). Team-scale work (multiple parallel lanes needing orchestrated worker agents) switches to dart-ultrawork instead. 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-local Decision needed block instead of silently choosing.
  3. Setup - Resolve the target from the live PR base, or use main for new development and fixes. Release-specific packaging, CI, branch guidance, and backports use the selected maintained release-* branch; backports of merged main fixes use dart-backport-pr. Fetch the target and read its docs/onboarding/release-management.md § "Release target" before creating a topic branch. Verify the exact DART <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>.
  4. Implement - Keep commits focused, follow code style
  5. Verify - Run pixi run lint before committing, then run the focused branch gate for the touched surface. Use pixi run test-all when feasible, and pixi run -e gazebo test-gz for 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 through dart-verify-sim: prove correctness with text first, then add assessed claim-tied visual/debug evidence or record why it is unavailable or not applicable.
  6. 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.md and the exact open GitHub milestone DART <Next release> resolved from the fetched base's release-target table.
  7. 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.md compatibility and approval rules: on main that 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

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-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
4eaff1be
Indexed
2026-07-19 11:29

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