Skip to content

skill: move the Codex skill to the skills repository - #12

Merged
cadywang merged 1 commit into
mainfrom
skill/move-to-skills-repo
Oct 23, 2026
Merged

cadywang merged 1 commit into
mainfrom
skill/move-to-skills-repo

Conversation

@cadywang

Copy link
Copy Markdown
Owner

变更说明

把 Codex skill 从本仓库剥离到独立仓库 cadywang/skills:

  • 本仓库删除 skill/serial-debug-bridge/(SKILL.md、agents/、references/、scripts/sdb、scripts/sdb-check.sh)
  • 新家:cadywang/skills 的 skills/serial-debug-bridge/(对应提交 5796b8d skill: add serial-debug-bridge)
  • 原因:skill 与它驱动的代码(agent/*、cli/devctl.py)放在同一个仓库里,等于两份说明/入口各改各的;迁出后本仓库只负责桥本身
  • 文档引用同步:README(FAQ 的排障链接、§15 的 skill 位置与安装方式)、CONTRIBUTING(补丁同步清单)、REVIEW_POLICY(同步表)
  • skill 的 scripts/sdb 仍使用本仓库的 cli/devctl.py,安装方式已写进 skills 仓库 README

变更类型

  • 重构 / 性能(refactor / perf)
  • 仅文档(docs)

影响面清单

  • 文档 / 仓库治理文件

只删除 skill/ 并更新文档;agent/*、cli/*、tests/*、协议均未改动。

测试

selftest.ps1 (auto / hex)     : 12/12 · 12/12
test_e2e.py  (auto / hex)     : 11/11 · 11/11
tests/test_check_commits.py   : 18/18
tests/test_check_pr.py        : 18/18
skills repo check-skills.py   : 1/1 skill valid
hygiene (BOM/CR, compileall, bash -n, yaml/json, diff --check): all green
  • 已在真实设备上验证(如适用),命令:bash tests/verify-live.sh <client>:<port>

设备与链路信息(涉及传输改动时必填):

项 值
client OS 不适用(未改动传输路径)
串口 / 波特率 不适用
设备 shell / 系统 不适用
可用工具(base64/awk/od/md5sum) 不适用

合并前清单

CI 强制逐条勾选(pr-gate):少一项就不能合并。

  • 本地 mock 自测已全部通过,输出贴在「测试」小节
  • 协议 / 传输行为有改动时,PROTOCOL.md 与 agent/*、cli/* 四个实现已同步更新
  • 代码与注释为英文,文档为中文
  • 文件为 UTF-8(无 BOM)+ LF
  • 未提交临时产物(.tmp-*/、*.log、__pycache__/)
  • 每个 commit 遵循内核规范:<subsystem>: 祈使句摘要、正文 72 列折行,并带 Signed-off-by:(git commit -s)
  • PR 标题遵循内核规范 <subsystem>: 祈使句摘要>(网页端 squash 会把它写成提交标题)
  • 已更新 CHANGELOG.md(如面向用户的行为有变化)
  • 已阅读并遵守 SECURITY.md(不引入默认对外暴露、无鉴权的行为)

关联 Issue

无独立 Issue。配套改动:cadywang/skills 的 5796b8d skill: add serial-debug-bridge。

The skill and the code it drives were maintained side by side in one
repository: a change to sdb or to the troubleshooting guide had to be
applied here, while the entry points it calls live in cli/ and agent/.
Two copies of the same instructions drift apart that way.

The skill now lives in cadywang/skills (skills/serial-debug-bridge), so
this repository keeps one job -- the bridge itself. The links in README,
CONTRIBUTING and REVIEW_POLICY point there, and the changelog records the
move. The wrapper still runs this repository's cli/devctl.py, which the
skills README now explains.

Signed-off-by: cadywang <cadywang@users.noreply.github.com>
@cadywang
cadywang merged commit cd1afb3 into main Oct 23, 2026
6 checks passed
@cadywang
cadywang deleted the skill/move-to-skills-repo branch October 23, 2026 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant