Sync Upstream Skills

检查或更新本仓精选的第三方套件 Skill 快照。用于核对上游变化、刷新快照或处理同步漂移;只读检查可直接运行,写入更新必须由用户明确要求。

107 stars 21 forksOther

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Dimon94/skills --skill sync-upstream-skills
Manual install
git clone --depth 1 https://github.com/Dimon94/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/sync-upstream-skills ~/.claude/skills/sync-upstream-skills

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Sync Upstream Skills

本 Skill 只维护 `references/sources.json` 声明的上游快照。来源清单拥有仓库、ref、
选取路径、锁定 commit 和内容 hash;`skills/<name>` 是 agent 运行时读取的快照。

## 检查

默认只读:

```bash
node skills/sync-upstream-skills/scripts/sync-upstream-skills.js --check
```

逐项报告:`current` 表示内容未变;`outdated` 表示上游已变化;`modified` 表示仓内
内容偏离锁定 hash;`missing` 表示快照缺失。后两种状态必须人工处理,不能覆盖。

完成标准:每个来源和 Skill 都有可复核状态;检查过程不写仓库。

## 更新

只有用户明确要求更新时运行:

```bash
node skills/sync-upstream-skills/scripts/sync-upstream-skills.js --update
```

脚本按来源做 sparse checkout,只复制清单中的目录。任一仓内快照出现本地漂移时,
整次更新 fail-close;先审查差异,再决定保留为本仓自有 Skill,或恢复锁定快照后重试。
更新后检查 diff,确认上游没有新增越权动作、依赖或不兼容 frontmatter,再运行每个
受影响 Skill 的最小验证和当前运行时可用的 Skill validator。

完成标准:清单 commit/hash 与全部快照一致,`--check` 返回成功,未触碰清单外 Skill。

## 边界

- 独立单-Skill 项目使用上游 clone + symlink,不进入来源清单。
- 改写自上游的自有 Skill 不进入来源清单;出处归 repo://skills/sync-upstream-skills/references/adapted-sources.md,人工对照。
- 本 Skill 不修改 `~/.agents`、`~/.claude`,也不提交、推送或发布。
- 对上游快照的长期本地改造必须转成本仓自有 Skill;快照目录不保留隐式 patch。
Read the full skill on GitHub

Details

Skill name
sync-upstream-skills
Repository
Dimon94/skills
Path
skills/sync-upstream-skills/SKILL.md
Repo updated
18 November 2026

FAQ

What does the Sync Upstream Skills skill do?

检查或更新本仓精选的第三方套件 Skill 快照。用于核对上游变化、刷新快照或处理同步漂移;只读检查可直接运行,写入更新必须由用户明确要求。

How do I install the Sync Upstream Skills skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add Dimon94/skills --skill sync-upstream-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Sync Upstream Skills popular?

It lives in Dimon94/skills, which has 107 GitHub stars and 21 forks.

Related skills

Maintain Verification Skill

107

Dimon94/skills

Periodic pass that keeps a project's verification skill and feature map honest: parallel source readers per feature, one live session driving every feature, at most one PR of proven corrections. Use for /maintain-verification-skill or "audit the verify skill".

Git & Code ReviewIn 2 lists21

Create Verification Skill

107

Dimon94/skills

Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform. Use for /create-verification-skill, "make a control skill for this repo", or when a project has no scripted way to prove UI/CLI/service behavior.

Software DevelopmentIn 2 lists21

How

107

Dimon94/skills

Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions ("where should this live", "which package owns this", "is this the right layer"). Explains subsystem architecture, runtime flow, onboarding mental models. Use why for motivation.

Software DevelopmentIn 2 lists21

Ticket Sizing

107

Dimon94/skills

逐票 token 拆分信号与拆票粒度:拆分 implementation tickets、审查现有拆票粒度或估算逐票 token 时使用。

Other21

Sharpen

107

Dimon94/skills

把用户的请求改写得更深而不是更大,只交付改写后的请求。用于用户显式调用 /sharpen 或 $sharpen。

Other21

To Tickets

107

Dimon94/skills

把一个 MMF 的 Spec 切成 MR 分支内可并发开发的 ticket:合同票先冻结 Interface,行为票按 T/R 唯一归属切分,脚本核对覆盖与依赖图后经用户裁决发布;也用于审查现有拆票。用于用户显式调用 /to-tickets 或 $to-tickets。

Other21

Browse the most popular Claude skills, all other skills, or write your own with the skills generator.