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:
/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/ai/principles.md
@docs/README.md
Then load owners when the task needs them:
- Multi-phase/session work:
docs/dev_tasks/README.md
before creating or resuming the project home.
- Branching or contribution:
docs/onboarding/contributing.md before setup.
- C++/Python/build changes:
docs/onboarding/building.md and
docs/onboarding/code-style.md before implementation.
- Docs edits:
docs/AGENTS.md before editing.
- Acceptance and testing: the task's gate set in
docs/ai/verification.md
before implementation; load detailed test guidance for the affected surface.
Workflow
- Understand the task - Parse: goal, constraints, type (feature|bugfix|refactor|docs)
- 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.
- 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
to main
- Implement - Keep commits focused, follow code style
- Task lifecycle - For an intermediate commit or PR, preserve and update
the active task folder. In the completing change, follow
docs/dev_tasks/README.md: complete feasible work, promote durable artifacts,
and remove the folder before final validation and commit. Preserve the
owner's approval requirement for retiring unfinished work.
- Verify - Run
pixi run lint before committing, then the gate set for
this task type from docs/ai/verification.md. If the claim depends on 3D
structure or behavior, route through dart-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 HEAD
then gh pr create --draft --base <target-branch> --milestone "<milestone>"
(DART 7.0 for main, branch-matching DART 6.x release milestone for the
active DART 6 LTS branch); follow .github/PULL_REQUEST_TEMPLATE.md
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.md first and hold the task to the
paper-complete bar in docs/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
1---2name: dart-new-task3description: DART New Task: start a feature, bugfix, refactor, docs, build, or test task4---56<!-- AUTO-GENERATED FILE - DO NOT EDIT MANUALLY -->7<!-- Source: .claude/commands/dart-new-task.md -->8<!-- Sync script: scripts/sync_ai_commands.py -->9<!-- Run `pixi run sync-ai-commands` to update -->1011# dart-new-task1213Use this skill in Codex to run the DART `dart-new-task` workflow. The editable14workflow source lives in `.claude/commands/`; this file is its generated adapter15in the shared `.agents/skills/` catalog.1617## Invocation1819- Claude Code: `/dart-new-task <arguments>`20- Codex: `$dart-new-task <arguments>`2122Treat the text after the skill name as `$ARGUMENTS`. When the workflow23references `$1`, `$2`, etc., map those to the positional values supplied by the24user.2526## Command Body2728Start a new task in DART: $ARGUMENTS2930## Required Reading3132Read these files first:33@AGENTS.md34@docs/ai/principles.md35@docs/README.md3637Then load owners when the task needs them:3839- Multi-phase/session work: `docs/dev_tasks/README.md`40 before creating or resuming the project home.41- Branching or contribution: `docs/onboarding/contributing.md` before setup.42- C++/Python/build changes: `docs/onboarding/building.md` and43 `docs/onboarding/code-style.md` before implementation.44- Docs edits: `docs/AGENTS.md` before editing.45- Acceptance and testing: the task's gate set in `docs/ai/verification.md`46 before implementation; load detailed test guidance for the affected surface.4748## Workflow49501. **Understand the task** - Parse: goal, constraints, type (feature|bugfix|refactor|docs)512. **Assess scope** - Multi-phase or multi-session? Create52 `docs/dev_tasks/<task>/` (see `docs/dev_tasks/README.md` for criteria).53 Team-scale work (multiple parallel lanes needing orchestrated worker54 agents) switches to `dart-ultrawork` instead.55 For multi-session, design-heavy, public API, solver/paper, release, or56 cross-module work, fill the dev-task specification intake before editing:57 value, scope, assumptions, traceability, non-goals, acceptance evidence,58 gates, and open decisions. If consequential ambiguity would change public59 API, release compatibility, numerical correctness, benchmark claims, or60 roadmap scope, record an owner-local `Decision needed` block instead of61 silently choosing.623. **Setup** - Choose the target branch before creating a topic branch:63 - features/docs/non-bugfix refactors: branch from `origin/main`64 - bug fixes that apply to the current release line: branch from the active65 DART 6 LTS `origin/release-6.*` branch first, then cherry-pick or reapply66 to `main`674. **Implement** - Keep commits focused, follow code style685. **Task lifecycle** - For an intermediate commit or PR, preserve and update69 the active task folder. In the completing change, follow70 `docs/dev_tasks/README.md`: complete feasible work, promote durable artifacts,71 and remove the folder before final validation and commit. Preserve the72 owner's approval requirement for retiring unfinished work.736. **Verify** - Run `pixi run lint` before committing, then the gate set for74 this task type from `docs/ai/verification.md`. If the claim depends on 3D75 structure or behavior, route through `dart-verify-sim`: text oracle first,76 then assessed claim-tied visual evidence, or record why it is not applicable.777. **PR** - After explicit maintainer/user approval, `git push -u origin HEAD`78 then `gh pr create --draft --base <target-branch> --milestone "<milestone>"`79 (`DART 7.0` for `main`, branch-matching DART 6.x release milestone for the80 active DART 6 LTS branch); follow `.github/PULL_REQUEST_TEMPLATE.md`8182## Type-Specific8384- **Bugfix**: Requires PRs to BOTH the active DART 6 LTS branch AND `main`85- **Refactor**: No behavior changes86- **Feature**: Add tests + docs87- **New solver/paper implementation**: record the intake checklist in88 `docs/plans/solver-family-intake.md` first and hold the task to the89 paper-complete bar in `docs/ai/verification.md` § "Research Paper90 Implementation Evidence"; the task is not complete until that bar is met.9192## Output9394- Task type, scope, and whether a `docs/dev_tasks/<task>/` folder was created95- Files changed and gates run96- Dev-task promotion and cleanup status when the task completed97- PR readiness, noting any external mutation that was explicitly approved