kevmoo/dart-sdk-agent-config/dart-sdk-merge-upstream

Claude Code and agent skill by kevmoo/dart-sdk-agent-config

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Merges verified upstream Core Dart SDK LKGR updates into the Bazel thread fork safely and validates hermetic builds. Use when asked to merge upstream into the Bazel branch, pull lkgr-dev updates, or sync the Bazel thread with the core Dart SDK. Don't use for bootstrapping or tearing down task worktrees (use dart-sdk-bootstrap) or running pre-PR code reviews on feature branches (use bazel-pre-pr).

Install

npx vskill@latest install kevmoo/dart-sdk-agent-config/dart-sdk-merge-upstream

SKILL.md

Merging Upstream Core Dart into Bazel Thread (dart-sdk-merge-upstream)

This skill defines the exact protocol for integrating continuous open-source Core Dart SDK developments into the long-running Bazel fork thread (bazel).


When to Use This Skill

  • Trigger when assigned a task to "merge upstream into bazel", "pull lkgr-dev

updates", or "sync bazel thread with core SDK".


🔒 Mandatory Branch Selection Rule

[!WARNING]
NEVER MERGE `main` DIRECTLY: When merging upstream core Dart updates into
the Bazel fork (bazel thread), you MUST merge upstream-sdk/lkgr-dev
(or dart-googlesource/lkgr-dev), NEVER upstream-sdk/main.
lkgr-dev (Last Known Good Revision) represents the rolling revision that has
successfully passed full continuous integration suites on builders. Merging
raw main risks pulling unverified intermediate breakage.

🛠️ Step-by-Step Execution Workflow

1. Prerequisite Worktree Setup

Ensure you are operating inside a dedicated sandbox worktree for the Bazel thread:

bash
# Verify you are in a Bazel sandbox worktree
cd {workspace-root}/bazel/agent-<task-name>/sdk
2. Fetch Latest Remote Revisions

Fetch the latest refs across all remotes:

bash
git --git-dir={bare-repo} fetch --all
3. Execute the Merge Command

Inside your sandbox worktree (sdk/), execute the merge against lkgr-dev:

bash
# Prefer upstream-sdk/lkgr-dev or dart-googlesource/lkgr-dev
git merge upstream-sdk/lkgr-dev
4. Conflict Resolution & Hermetic Validation
  • If merge conflicts occur in C++ sources or Starlark files, resolve them

carefully, preserving hermetic Bazel wrappers (copy_file, direct header declarations).

  • Run local presubmit checks to verify build cleanliness:

``bash ./tools/bazel/presubmit.sh ``


🔒 Safety Safeguard

  • Explicit Approval Required: Before pushing the merged branch or submitting

a PR, request explicit confirmation from the human user.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/kevmoo/dart-sdk-agent-config/dart-sdk-merge-upstream/badge)](https://verified-skill.com/skills/kevmoo/dart-sdk-agent-config/dart-sdk-merge-upstream)

Something wrong with this skill or its page? Tell us.