kevmoo/dart-sdk-agent-config/dart-sdk-merge-upstream
Claude Code and agent skill by kevmoo/dart-sdk-agent-config
- community
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-upstreamSKILL.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 intothe Bazel fork (bazelthread), you MUST mergeupstream-sdk/lkgr-dev(ordart-googlesource/lkgr-dev), NEVERupstream-sdk/main.lkgr-dev(Last Known Good Revision) represents the rolling revision that hassuccessfully passed full continuous integration suites on builders. Mergingrawmainrisks 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:
2. Fetch Latest Remote Revisions
Fetch the latest refs across all remotes:
3. Execute the Merge Command
Inside your sandbox worktree (sdk/), execute the merge against 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
- SKILL.md in the repositoryCheckingskills/dart-sdk-merge-upstream/SKILL.md
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
[](https://verified-skill.com/skills/kevmoo/dart-sdk-agent-config/dart-sdk-merge-upstream)