Sync Upstream — Development skill for Claude Code
同步上游 sirmalloc/ccstatusline 新 release 到 fork 并完成中文化.
How to install Sync Upstream
Installs to ~/.claude/commands/huangguang1999-ccstatusline-zh-sync-upstream.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/huangguang1999/ccstatusline-zh/HEAD/.claude/commands/sync-upstream.md -o ~/.claude/commands/huangguang1999-ccstatusline-zh-sync-upstream.md Restart Claude Code, or start a new session, for it to be picked up.
What Sync Upstream does
description: 同步上游 sirmalloc/ccstatusline 新 release 到 fork 并完成中文化 argument-hint: ""
Sync upstream ccstatusline release
把上游 sirmalloc/ccstatusline 的新 release `$ARGUMENTS` 同步到当前 fork, 保持 fork 的中文化风格、包名重命名、测试全绿,最后开 PR。
**不要自动 merge PR,不要自动 npm publish——这两步由用户人工执行。**
硬约束(每次 sync 不变)
Fork 与上游的差异点
包名 `ccstatusline` → `ccstatusline-zh`,触点:
| 文件 | 改什么 |
|---|---|
package.json |
name, bin, description, repository, keywords |
| `src/util |
Alternatives in Development
- Resolve Drizzle Migrations — Resolve Drizzle migration conflicts by accepting upstream and regenerating local migrations 2.5k ★
- Doge Code — Claude Code 的一个 Fork 611 ★
- Maestro Fork — Create or sync session worktree for parallel dev 530 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Brain Sync
Check every upstream source for changes and report diffs — never auto-applies
Update Agent Sop
Sync pristine-replica Agent SOP files (SOP docs, guides, slash commands, reference agents) from the upstream a
Resolve Sync Conflicts
Helper command for resolving conflicts during upstream sync
Sync Vendored
Check the vendored skills against their upstream repos, and pull in what changed.
Platform Sync
Review upstream platform capability drift (Claude Code / Codex releases) against the repo's runtime assumption
Trellis
Open, forkable engineering-process kit for Claude Code + Codex projects. Parent rules, hooks, skills, and audi
Related Agents
Upstream Sync
Specialized agent for synchronizing with upstream google-gemini/gemini-cli repository. Use when merging upstre
Upstream PR Reviewer
Read-only disclosure reviewer for contributions to repos the user does not own (owner is not example-owner). U
Git Pull
Safely pull updates (fork/upstream aware), stash-first, resolve conflicts via memory-bank context, no auto-sta