Custom skills upstream ops
Skill ValorVie/custom-skills/skills/custom-skills-upstream-ops
Unified upstream repo operations: audit commit drift, check UDS file-level drift, detect repo overlap with local project, and perform sync maintenance. Use when: reviewing upstream updates, auditing standards drift, evaluating a new repo for integration, updating last-sync.yaml after sync. Triggers: "upstream audit", "uds check", "repo overlap", "sync maintenance", "上游同步", "上游檢查", "上游維護".From its SKILL.md
npx -y skills add ValorVie/custom-skills --skill custom-skills-upstream-opsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.3 KB, as published. Nobody here has run it
Upstream Ops | 上游操作統一入口
管理所有跟上游 repo 相關的操作。依 argument 路由到 modes/<name>.md。
用法
/custom-skills-upstream-ops # 預設 = audit
/custom-skills-upstream-ops audit [--source <name>] [--archive]
/custom-skills-upstream-ops uds-check [--verbose] [--report]
/custom-skills-upstream-ops overlap <repo-path-or-source-name>
/custom-skills-upstream-ops maintenance <sub>
Mode 選擇表
| 我想…… | 用哪個 mode |
|---|---|
| 看上游有哪些變動、該怎麼同步 | audit(預設) |
知道 .standards/ 跟 UDS 有哪些檔案不一致 | uds-check |
| 評估某個 repo 跟本專案有多少重疊功能 | overlap |
同步完成後更新 last-sync.yaml、清理舊報告 | maintenance |
Modes
- audit — 讀
upstream/sources.yaml+last-sync.yaml,對每個上游跑git log/git diff --stat,輸出同步決策清單。見modes/audit.md。 - uds-check — UDS 的
.standards/與鏡像skills/<id>/檔案級 SHA-256 比對。用scripts/check_uds.py。見modes/uds-check.md。 - overlap — 任一 repo vs 本專案的功能重疊偵測;輸出可複製到
overlaps.yaml的 YAML 片段(不寫檔)。見modes/overlap.md。 - maintenance —
update-last-sync、archive-reports、list-orphans三個子命令。見modes/maintenance.md。
References
references/install-methods.md— 各上游install_method的同步命令 one-linerreferences/decision-patterns.md— audit 結果判讀規則(取代舊 upstream-compare 的 reading guide)
相關
ai-dev update --only repos— 拉取上游檔案ai-dev clone— 分發.standards/與skills/custom-skills-tool-overlap-analyzer— 分析本專案內部工具重疊(不同職責)