用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/lockekk/dshare-hid --skill merge-upstream-master命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | merge-upstream-master |
| description | Skill to merge upstream deskflow/deskflow commits into DShare-HID main following rebranding rules. |
Used when pulling changes from the official Deskflow upstream repository into
the rebranded DShare-HID repository. The detailed playbook (Scenarios A–P,
rebrand keyword table, file mappings, divergence budget) lives in
docs/upgrade_from_upstream_guide.md — read it in full before resolving any
conflict.
Merge one upstream commit at a time, each as its own merge commit on
main. Never git merge upstream/master or a range.
Run .agent/skills/merge-upstream-master/merge_next_upstream.sh (or with
--all for the whole backlog). It merges the next commit, auto-applies the
deterministic scenarios (A: drop re-introduced deskflow_*.ts; J: drop
.github; L: take upstream src/unittests; B: relocate new icons into
dshare-hid-light), writes the merge-commit message in the mandated format
(upstream subject + body + Merged from upstream <sha>. trailer), and exits 2
with a template in .git/MERGE_MSG_TEMPLATE when a human scenario (C–M) is
hit.
git diff --name-only --cached). Do NOT spread rebranding elsewhere.git commit -F .git/MERGE_MSG_TEMPLATE, appending the
scenario notes for what you resolved.Run .agent/skills/merge-upstream-master/verify_merge.sh — rebrand grep,
./run_task.sh 1 build (on macOS this re-runs macdeployqt + codesign; see
Scenario P for why raw cmake builds must not be the session's last build),
and the Scenario M DMG OpenSSL sweep when a DMG tree exists.
Report which commits were merged, conflicts resolved and scenarios applied, and call out any Scenario G alert (configuration option added / removed / moved / semantics changed) so the user can decide whether DShare-HID adopts it.