Agent Skills › dartsim/dart › dart-resume

dart-resume

GitHub

DART Resume 技能用于恢复和完成未结成的开发任务。通过重构验收标准、验证测试并执行至完成,确保代码满足真实交付契约,处理阻塞点并保留用户变更。

.agents/skills/dart-resume/SKILL.md dartsim/dart

Trigger Scenarios

用户要求继续未完成的工作 需要恢复或推进处于中间状态的分支/PR 请求检查任务完成度或执行剩余实现

Install

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

Non-standard path

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

Use without installing

npx skills use dartsim/dart@dart-resume

指定 Agent (Claude Code)

npx skills add dartsim/dart --skill dart-resume -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-resume",
    "description": "DART Resume: continue unfinished work through its acceptance criteria, verification, and safe completion or documented blocker"
}

dart-resume

Use this skill to run the DART dart-resume workflow. The editable workflow source lives in .claude/commands/; this generated skill is its entrypoint for Codex and Muse.

Invocation

  • Claude Code: /dart-resume <arguments>
  • Codex: $dart-resume <arguments>
  • Muse: /dart-resume <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

Resume unfinished work to its real completion contract: $ARGUMENTS

Required Reading

@AGENTS.md @docs/dev_tasks/README.md @docs/ai/sessions.md @docs/ai/verification.md @docs/onboarding/ci-cd.md @docs/onboarding/contributing.md @docs/onboarding/changelog.md

Argument Handling

$ARGUMENTS may name a branch, PR, issue, or docs/dev_tasks/<task> path; scope-limiting modes are honored when given: status (report only), audit-only (no edits), plan-only (plan, no execution), slice / next-slice (one bounded increment). With no argument, infer the target from the current branch and dev-task state during recon.

Workflow

Step 1: Recon (no changes)

git rev-parse --show-toplevel
git status -sb && git branch -vv && git log -10 --oneline --decorate
git diff --stat && git stash list
gh pr list --head "$(git branch --show-current)"
gh pr status

Step 2: Reconstruct

Infer the task from branch name, commits, diffs, issue/PR description, and any docs/dev_tasks/<task>/ state. If the goal is still unclear after recon, stop and ask.

For a named docs/dev_tasks/<task>/, reconstruct the task's actual completion contract before editing. Treat the dev-task folder as an execution plan and evidence ledger first, not as cleanup inventory:

  • read the task README, RESUME, dashboard, packet files, and verification notes;
  • extract every acceptance criterion, open decision, required benchmark, required test, and explicit "do not complete until" condition;
  • compare those criteria against current branch code, docs, tests, PR state, and available evidence; and
  • treat task completion as satisfying those criteria with verification, not as merely promoting notes or deleting the temporary folder.

Step 3: Execute to completion

  • Continue by executing the reconstructed plan until the task's acceptance criteria and verification methods are satisfied, or until the same real blocker has been proven and recorded. Preserve existing user changes.
  • Do not narrow a broad dev-task objective to documentation cleanup, folder retirement, or evidence promotion unless the implementation criteria are already satisfied or the maintainer has explicitly approved deferring the remaining implementation work.
  • Treat dev-task retirement as the final bookkeeping step after implementation completion or an explicitly approved deferral. It is never a substitute for running the plan, benchmarks, tests, and review/PR evidence the task requires.
  • For active solver/paper implementations, keep the plan or dev-task resume surface explicit about the completed slice, the next missing paper-parity gap, and why focused green tests are not a full paper-completion claim.
  • If the task is being completed, run a completion audit before finalizing: identify the exact docs/dev_tasks/<task>/ folder, inspect it for remaining plans/evidence/decisions, promote any durable dashboard, evidence matrix, API inventory, migration map, long-lived decision, or deferred-but-real work into release/onboarding/AI docs, update any durable status surface when the task changes roadmap state, then remove the dev-task folder completely in the completing change.
  • If remaining work is real but blocked by a substantial design decision, maintainer direction, external dependency, or scope boundary that should not be resolved in the current session, ask the human before retiring the folder unless prior maintainer direction is already recorded. Record the parked or blocked work in the durable owner doc before deletion.
  • Do not call a dev task complete while docs/dev_tasks/<task>/ still exists. If implementation is done but the folder remains, the remaining work is the durable-doc promotion plus folder cleanup.
  • Run pixi run lint before committing.
  • Run relevant tests; use pixi run test-all before done when feasible, and pixi run -e gazebo test-gz when package or downstream Gazebo/gz-physics compatibility could be affected.
  • For model/scene, simulation, dynamics, collision/contact, Filament, or visual behavior, route through dart-verify-sim: establish a text correctness oracle first, then capture assessed claim-tied images/debug layers or record a graphics unavailable/not-applicable reason. A screenshot alone is not proof.
  • Before finalizing a resumed task that changes behavior, public API, packaging, CI, docs workflow, AI-infra workflow, or user-visible docs, run the dart-changelog decision (decide/finalize) per docs/onboarding/changelog.md.
  • Push with the same local and remote topic-branch name only after explicit maintainer/user approval: branch=$(git branch --show-current); git push -u origin "HEAD:${branch}".
  • For already-published PRs, prefer additive follow-up commits. Amend or force-push only after explicit maintainer/user approval and only when the user explicitly requests it or when there is a clear reason such as removing sensitive content or repairing broken branch history.
  • Before every approved push to a published PR branch, first fetch and merge the latest target base branch into it (on every push, not just the first), then push normally after explicit maintainer/user approval. Do not rebase published PR branches by default because that invalidates existing CI runs and makes PR review/comment history harder to follow. Rebase or force-push only when the maintainer explicitly requests it.

Safety

No destructive git commands (reset --hard, dropping stashes, deleting branches) without explicit maintainer/user approval.

Output

  • Reconstructed task and current branch state
  • Plan followed and files changed
  • Verification commands run and their results
  • Remaining work and anything held for explicit maintainer/user approval before push/PR update

Version History

  • f630c91 Current 2026-10-18 20:25

    新增 Muse 客户端支持;增强参数处理能力(status, audit-only 等);明确以验收标准和验证方法作为完成依据,而非仅清理文档。

  • deb9869 2026-09-08 21:46

    将调用命令从 OpenCode 更新为 Claude Code,并精简了 AI 测试范围。

  • bcd584e 2026-09-02 23:41
  • b9fbefc 2026-07-19 11:30

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-new-task/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-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
0111d7e6
Indexed
2026-07-19 11:30

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-19 19:46
浙ICP备14020137号-1