dart-new-task
GitHub启动DART开发工作流,涵盖需求解析、分支管理、代码实现、验证及PR创建。支持功能、修复、重构等任务类型,确保符合项目规范与质量门禁。
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 in Codex to run the DART dart-new-task workflow. The editable
workflow source lives in .claude/commands/; this file is its generated adapter
in the shared .agents/skills/ catalog.
Invocation
- Claude Code/OpenCode:
/dart-new-task <arguments> - Codex:
$dart-new-task <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
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/code-style.md @docs/dev_tasks/README.md @docs/information-architecture.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 - Choose the target branch before creating a topic branch:
- features/docs/non-bugfix refactors: branch from
origin/main - bug fixes that apply to the current release line: branch from the active
DART 6 LTS
origin/release-6.*branch first, then cherry-pick or reapply tomain
- features/docs/non-bugfix refactors: branch from
- Implement - Keep commits focused, follow code style
- Verify - Run
pixi run lintbefore committing, then the gate set for this task type fromdocs/ai/verification.md. If the claim depends on 3D structure or behavior, route throughdart-verify-sim: text oracle first, then assessed claim-tied visual evidence, or record why it is not applicable. - PR - After explicit maintainer/user approval,
git push -u origin HEADthengh pr create --draft --base <target-branch> --milestone "<milestone>"(DART 7.0formain, branch-matching DART 6.x release milestone for the active DART 6 LTS branch); follow.github/PULL_REQUEST_TEMPLATE.md - 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 the durable owner selected bydocs/information-architecture.md. Then remove the dev-task folder completely (include the deletion in this PR, not after merge).
Type-Specific
- Bugfix: Requires PRs to BOTH the active DART 6 LTS branch AND
main - Refactor: No behavior changes
- Feature: Add tests + docs
- New solver/paper implementation: record the intake checklist in
docs/plans/solver-family-intake.mdfirst and hold the task to the paper-complete bar indocs/ai/verification.md§ "Research Paper Implementation Evidence"; the task is not complete until that bar is met.
Output
- Task type, scope, and whether a
docs/dev_tasks/<task>/folder was created - Files changed and gates run
- Dev-task promotion and cleanup status when the task completed
- PR readiness, noting any external mutation that was explicitly approved
Version History
- bcd584e Current 2026-09-02 23:40
- b9fbefc 2026-07-19 11:29


