Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

dart-manage-pr

БесплатноБез исполняемых скриптовНе проверен

DART Manage PR: manage an open DART pull request through CI, review, merge, and cleanup

dartsimот dartsim★ 1 233 звезды на GitHub

Об этом скилле

dart-manage-pr

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

Invocation

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

Manage an open DART pull request after explicit maintainer/user approval for mutations: $ARGUMENTS

Required Reading

@AGENTS.md @docs/onboarding/contributing.md @docs/onboarding/release-management.md @docs/onboarding/ci-cd.md @docs/onboarding/ai-tools.md

Modes

  • status: report-only; no mutations.
  • mode=manage (default): run the full loop below to the next terminal state.
  • mode=merge: merges happen only under this mode, through the step 5 pre-merge gate and explicit maintainer/user approval to merge.

Invocation Contract

When the user says manage <PR> or continue managing <PR> without limiting the request to status-only, treat that as approval to run the full PR-management loop to the next terminal state:

  • required policy metadata checked and corrected when stale;
  • CI monitored until green, failed, or blocked;
  • merge conflicts reproduced and resolved locally;
  • review comments addressed, pushed, resolved, re-reviewed when appropriate;
  • PR body/testing evidence refreshed when it no longer matches the branch.

This explicit approval covers routine PR-maintenance mutations for that loop: additive fix commits and pushes, description/metadata corrections, resolving already-addressed review threads, and rerunning failed CI jobs. It also covers requesting a fresh @codex review for a new head and marking a draft ready once the "PR Lifecycle" step 2 gate passes. It does not cover merging (see mode=merge), force-pushes, branch deletion, PR closure, base-branch changes, or human reviewer requests. Ask separately for those.

Do not call the PR managed just because checks are green: continue until it is mergeable with required checks complete and addressed threads resolved, or a concrete blocker remains.

Identify the PR

Use the PR number or URL from $ARGUMENTS. If none is provided, infer the PR from the current branch:

gh pr view --json number,url,headRefName,baseRefName

Then inspect the full state:

gh pr view <PR_NUMBER> --json number,title,state,isDraft,baseRefName,headRefName,mergeStateStatus,milestone,url,reviewDecision,statusCheckRollup
gh pr checks <PR_NUMBER>

Workflow

  1. Confirm scope and policy:
    • Check the live base branch, title, and PR template. Fetch that base and read its docs/onboarding/release-management.md § "Release target". Verify the exact DART <Next release> milestone is open on GitHub; correct stale or missing metadata only after maintainer/user approval. For an explicit rollover, follow the owner's proposed-target rule.
    • Confirm ordinary changes target main. Backports and release-specific packaging, CI, or branch guidance may target a maintained release-* branch; backports use dart-backport-pr.
    • Confirm the PR body's testing/status section matches the current head and does not point reviewers to deleted dev-task evidence as still pending.
    • Follow docs/onboarding/contributing.md § "PR Descriptions" for the body and complete its applicable "PR Author Checklist" actions before publishing updates.
    • Ensure transient visual evidence (screenshots, headless renders, GIFs, videos) is hosted as GitHub PR/issue Markdown attachments (https://github.com/user-attachments/assets/...), never as release assets or tags, and never committed to the branch. If evidence files were committed only for the PR body, remove them and link an attachment URL instead. Ask a maintainer to upload when tooling cannot.
    • For claim-dependent 3D behavior, require Visual verification through dart-verify-sim per docs/ai/verification.md, or a stated reason visual corroboration is unavailable/irrelevant and named replacement evidence.
    • Inspect local state before editing: git status --short --branch, git diff --stat, git diff --check.
  2. Monitor CI:
    gh pr checks <PR_NUMBER> --watch --interval 30 --fail-fast
    
    If checks are still queued or running, report the current jobs and keep watching unless the user asked only for status. Also poll mergeability:
    gh pr view <PR_NUMBER> --json mergeStateStatus,headRefOid,isDraft,reviewDecision
    
Полный SKILL.md на GitHub

Установить dart-manage-pr в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл dart-manage-pr?

DART Manage PR: manage an open DART pull request through CI, review, merge, and cleanup

Как установить скилл dart-manage-pr?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл dart-manage-pr запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить dart-manage-pr с