dart-deps
GitHub用于处理 DART 项目的依赖和机器人 PR。自动列出 Dependabot 及锁文件更新 PR,审查变更与 CI 状态,并在获得明确批准后合并,最终输出包含推荐意见的状态报告。
Trigger Scenarios
Install
npx skills add dartsim/dart --skill dart-deps -g -y
SKILL.md
Frontmatter
{
"name": "dart-deps",
"description": "DART Deps: triage and shepherd dependency and bot pull requests"
}
dart-deps
Use this skill in Codex to run the DART dart-deps workflow. The editable
workflow source currently lives in .claude/commands/, and this generated
Codex skill is a first-class Codex entrypoint.
Invocation
- Claude Code/OpenCode:
/dart-deps <arguments> - Codex:
$dart-deps <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
Triage and shepherd dependency and bot PRs: $ARGUMENTS
Required Reading
@AGENTS.md @docs/onboarding/ci-cd.md @docs/onboarding/contributing.md
Scope
Handle automated dependency and maintenance PRs: Dependabot GitHub Action
version bumps and the scheduled lockfile PRs opened by update_lockfiles.yml.
Default to read-only triage; merging any bot PR is an explicit approval gate.
Workflow
- List open bot PRs:
gh pr list --repo dartsim/dart --state open \ --search "author:app/dependabot OR author:app/github-actions" \ --json number,title,headRefName,author - For each PR, review the diff (
gh pr diff <PR_NUMBER>):- Action bumps: confirm the new ref is a pinned commit SHA and sanity-check the upstream changelog for the bumped version.
- Lockfile PRs: confirm the regenerated lockfile provenance matches the workflow that produced it and that no unrelated content changed.
- Confirm CI is green for the PR head:
gh pr checks <PR_NUMBER>. - Merge a reviewed, CI-green bot PR only after explicit maintainer/user approval, using the current head SHA and the repository merge method.
- Batch-report every triaged PR with its recommendation and status.
Output
- Table of open bot PRs with kind (action bump or lockfile), CI state, and recommendation
- Diff-review notes per PR
- Which PRs were merged after explicit approval and which remain pending
Version History
- e0d13fd Current 2026-07-05 10:37


