update-claude-agent-acp

Rebases custom commits of a vendored ACP agent fork onto upstream releases and rebuilds release artifacts.

Updated May 13, 2026
One-click install
npx skills add https://github.com/lovebirdsx/universe-editor --skill update-claude-agent-acp-lovebirdsx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-claude-agent-acp
Source: https://github.com/lovebirdsx/universe-editor/tree/main/.claude/skills/update-claude-agent-acp
Command: npx skills add https://github.com/lovebirdsx/universe-editor --skill update-claude-agent-acp-lovebirdsx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Merging upstream changes into a self-maintained git submodule fork (vendor/claude-agent-acp) is error-prone: semantic regressions can hide behind zero-conflict rebases, lock files break npm ci, and custom features like the AskUserQuestion extMethod can be silently overwritten. This Skill encodes a proven, repeatable workflow for merging upstream agentclientprotocol/claude-agent-acp commits while preserving all custom fork behavior. ## Core Features & Use Cases - Guided rebase workflow: Read-only investigation with git ls-remote/gh api, rebase of custom commits onto upstream HEAD, per-file conflict resolution playbooks, and fixup/autosquash history cleanup. - Semantic regression safety nets: Mandatory typecheck and test gates plus a case library (references/cases.md) documenting 11 real merge incidents such as interface replacement, resume-path performance regressions, and lock file corruption. - End-to-end release integration: Rebuilds fork artifacts, runs the main repo's pnpm agent:build and pnpm check, and commits the updated submodule pointer on a dedicated branch. - Use Case: When a new upstream release of claude-agent-acp ships, invoke this Skill to rebase the fork's custom commits, resolve conflicts using documented patterns, verify with typecheck/tests, and push the updated submodule pointer. ## Quick Start Ask the agent to update claude-agent-acp by merging the latest upstream changes and rebuilding the agent artifacts.

Frequently Asked Questions about update-claude-agent-acp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I merge upstream changes into a git submodule fork?

Fetch the upstream remote, create a work branch from the fork's current HEAD, then rebase custom commits onto upstream with git rebase --onto upstream/main <base>. Resolve conflicts per file, regenerate the lock file with npm install, and verify with typecheck and tests before pushing.

How to keep custom commits when rebasing onto upstream releases?

Rebase the range of custom commits onto the new upstream HEAD so they stay on top of history. Use git commit --fixup plus rebase --autosquash to fold post-processing changes like regenerated lock files into their logical commits, keeping history clean.

Why does npm ci fail with Missing from lock file in a submodule?

The lock file lacks a node satisfying a peer dependency after upstream dependency changes. Regenerate it with npm install --package-lock-only --registry=https://registry.npmjs.org, then verify with npm ci --dry-run before committing.

Can a rebase with zero conflicts still break the build?

Yes. Upstream interface or abstraction refactors can silently replace your custom implementations while call sites survive, and new runtime validation can invalidate old test setups. Always run typecheck and the full test suite after rebasing, even with no conflicts.

Should I use merge or rebase for updating a vendored fork?

This workflow mandates rebase: it keeps history linear and custom commits clearly on top, making future upstream merges easier. The tradeoff is rewritten history, so push the fork with git push --force-with-lease.