Skip to content

feat: vendor skills from full-stack-skills/stitch-skills - #1

Merged
loong10k merged 1 commit into
mainfrom
feat/skill-vendor-migration
Sep 15, 2026
Merged

loong10k merged 1 commit into
mainfrom
feat/skill-vendor-migration

Conversation

@loong10k

Copy link
Copy Markdown
Contributor

目的

技能本体单一事实源上移到 full-stack-skills/stitch-skills(先合那边的 PR #2,tag v1.1.0 已打在 f50f92b)。本仓 main 保持含技能的完整可安装态,通过锁文件 vendor。

变更

  • skills.lock.json:43 个技能钉在 v1.1.0 的 commit f50f92b,逐技能 SHA-256
  • scripts/vendor/skill_vendor.py(update/check)+ 6 个自测(含篡改/上游移动/缺技能变异检验)
  • CI:skills-check(离线摘要 + 在线 ref/内容校验 + 禁直改守卫);skills-sync(dispatch/每日/手动 → gh CLI 开同步 PR,不引入第三方 action,保持钉版清单封闭)
  • skills/ 内容变化:源仓许可证规范化下发(43 个技能补 license: Apache-2.0 frontmatter 行、2 个上游归属声明块、2 份 LICENSE 全文)——无技能名变更,无行为变化
  • README 双语:来源声明句改为 vendor 机制说明

门禁

272 tests OK(含 6 个 vendor 自测)、validate_distribution(43 skills / 0.7.8)OK、validate_skills OK、scan_secrets OK、vendor check 在线对 GitHub 远端 OK。

合并顺序

  1. 先合 full-stack-skills/stitch-skills#2(rebase 或 FF 合并以保留 f50f92b,v1.1.0 tag 已指向它;若合并方式改变了 commit,需重打 tag 并在本仓跑一次 skill_vendor.py update)
  2. 再合本 PR
  3. 配置 SKILLS_SYNC_TOKEN(跨 org PAT)
  4. 发布时按仓库惯例升版本行(当前 0.7.8 不动,属发布事务)

Skill bodies' single source of truth is now the stitch-skills package
(v1.1.0); this repository carries the vendored snapshot pinned by
skills.lock.json plus the vendor tooling and sync guardrails:

- add skills.lock.json (43 skills pinned to the v1.1.0 commit) and
  scripts/vendor/skill_vendor.py (update/check) with self-tests
- CI: skills-check verifies digests offline and upstream pins online and
  rejects skill edits that bypass the source package; skills-sync refreshes
  the snapshot via repository_dispatch, daily schedule, or manual trigger
  (opens PRs with gh CLI to keep the workflow action inventory closed)
- skills/ content now includes the package-side license normalization
  (Apache-2.0 frontmatter line, attribution blocks, LICENSE full text)
- READMEs document the vendor mechanism and replace the stale
  snapshot-provenance sentence
@loong10k
loong10k merged commit ce012e0 into main Sep 15, 2026
13 checks passed
@loong10k
loong10k deleted the feat/skill-vendor-migration branch September 15, 2026 09:53
@loong10k
loong10k restored the feat/skill-vendor-migration branch September 23, 2026 17:01
@loong10k
loong10k deleted the feat/skill-vendor-migration branch September 23, 2026 17:11
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