custom-skills-upstream-ops

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Upstream Ops | 上游操作統一入口

Upstream Ops | 上游操作统一入口

管理所有跟上游 repo 相關的操作。依 argument 路由到
modes/<name>.md
管理所有与上游repo相关的操作。根据参数路由到
modes/<name>.md

用法

用法

bash
/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>
bash
/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选择表

我想……用哪個 mode
看上游有哪些變動、該怎麼同步
audit
(預設)
知道
.standards/
跟 UDS 有哪些檔案不一致
uds-check
評估某個 repo 跟本專案有多少重疊功能
overlap
同步完成後更新
last-sync.yaml
、清理舊報告
maintenance
我想……用哪个mode
查看上游有哪些变动、该怎么同步
audit
(默认)
了解
.standards/
与UDS有哪些文件不一致
uds-check
评估某个repo跟本项目有多少重叠功能
overlap
同步完成后更新
last-sync.yaml
、清理旧报告
maintenance

Modes

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
  • 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与本项目的功能重叠检测;输出可复制到
    overlaps.yaml
    的YAML片段(不写入文件)。详见
    modes/overlap.md
  • maintenance
    update-last-sync
    archive-reports
    list-orphans
    三个子命令。详见
    modes/maintenance.md

References

References

  • references/install-methods.md
    — 各上游
    install_method
    的同步命令 one-liner
  • references/decision-patterns.md
    — audit 結果判讀規則(取代舊 upstream-compare 的 reading guide)
  • references/install-methods.md
    — 各上游
    install_method
    的同步命令单行脚本
  • references/decision-patterns.md
    — audit结果判读规则(替代旧upstream-compare的阅读指南)

相關

相关

  • ai-dev update --only repos
    — 拉取上游檔案
  • ai-dev clone
    — 分發
    .standards/
    skills/
  • custom-skills-tool-overlap-analyzer
    — 分析本專案內部工具重疊(不同職責)
  • ai-dev update --only repos
    — 拉取上游文件
  • ai-dev clone
    — 分发
    .standards/
    skills/
  • custom-skills-tool-overlap-analyzer
    — 分析本项目内部工具重叠(不同职责)