Vendor four permissive popular skills into the recipe library #200

Merged
weichen merged 2 commits from feature/vendor-popular-skills into main 2026-10-14 14:55:21 +00:00
Owner

Why

用户要求从外部生态(GitHub/skills.sh/ClawHub)引入热门、完善的文档生成/排版美化/内容充实类 skills。调研结论:anthropic 文档四件套(docx/pdf/pptx/xlsx)LICENSE.txt 为专有条款(禁止服务外留存副本、禁止衍生与分发),不可 vendor;合规的热门解为下列四项(全部 MIT/Apache-2.0)。

What

vendor 四个技能进 internal/skills/recipes/(经既有 go:embed 种子机制生效,无运行时代码变更):

  • frontend-design ← anthropics/skills@dbd4588f(Apache-2.0,skills.sh 设计类第 1、985.7K 安装)——视觉方向与排版审美;SKILL.md 逐字节原样。
  • canvas-design ← anthropics/skills@dbd4588f(Apache-2.0,官方 example-skills)——海报/信息图 png·pdf;SKILL.md 原样 + 81 个 OFL 字体(5.6MB,各字体带许可文本)。
  • copywriting ← coreyhaines31/marketingskills@c7d7dfb6(MIT,54.7K stars / 224.1K 安装)——文案撰写充实;删 evals/ 与未 vendor 兄弟技能引用。
  • copy-editing ← 同上(MIT)——成稿润色与去 AI 腔。

每包带 UPSTREAM.md(来源、上游固定 SHA、许可证、适配说明);anthropic 包附上游 LICENSE.txt 原文。base.deliverables v9 技能与路径新增入口;house-style 对 Office 主题的权威不变。

Evidence

  • Seed 幂等测试对全部 8 个 SKILL.md 跑开放规范校验(agent-native ValidateSkillDocument)全过;TestNames 更新为 8 项;新增 TestVendoredSkillsCarryProvenance 守护溯源/许可文件。
  • anthropic 两包与上游固定快照逐字节 diff 一致。
  • 组合验证:同步后 HEAD make test + make build 双绿(逐条收据见 Dev 任务卡证据表)。

Impact

  • 内置技能 4→8;二进制约增 6MB 字体资产(canvas-design 必需资产,OFL 许可)。
  • 存量部署下次启动种子自动升级写入(manifest 机制)。

Refs

  • Dev 任务分支 feature/vendor-popular-skills(组合 PR 随后)
## Why 用户要求从外部生态(GitHub/skills.sh/ClawHub)引入热门、完善的文档生成/排版美化/内容充实类 skills。调研结论:anthropic 文档四件套(docx/pdf/pptx/xlsx)LICENSE.txt 为专有条款(禁止服务外留存副本、禁止衍生与分发),不可 vendor;合规的热门解为下列四项(全部 MIT/Apache-2.0)。 ## What vendor 四个技能进 `internal/skills/recipes/`(经既有 go:embed 种子机制生效,无运行时代码变更): - **frontend-design** ← anthropics/skills@dbd4588f(Apache-2.0,skills.sh 设计类第 1、985.7K 安装)——视觉方向与排版审美;SKILL.md 逐字节原样。 - **canvas-design** ← anthropics/skills@dbd4588f(Apache-2.0,官方 example-skills)——海报/信息图 png·pdf;SKILL.md 原样 + 81 个 OFL 字体(5.6MB,各字体带许可文本)。 - **copywriting** ← coreyhaines31/marketingskills@c7d7dfb6(MIT,54.7K stars / 224.1K 安装)——文案撰写充实;删 evals/ 与未 vendor 兄弟技能引用。 - **copy-editing** ← 同上(MIT)——成稿润色与去 AI 腔。 每包带 UPSTREAM.md(来源、上游固定 SHA、许可证、适配说明);anthropic 包附上游 LICENSE.txt 原文。`base.deliverables` v9 技能与路径新增入口;house-style 对 Office 主题的权威不变。 ## Evidence - Seed 幂等测试对全部 8 个 SKILL.md 跑开放规范校验(agent-native ValidateSkillDocument)全过;`TestNames` 更新为 8 项;新增 `TestVendoredSkillsCarryProvenance` 守护溯源/许可文件。 - anthropic 两包与上游固定快照逐字节 diff 一致。 - 组合验证:同步后 HEAD `make test` + `make build` 双绿(逐条收据见 Dev 任务卡证据表)。 ## Impact - 内置技能 4→8;二进制约增 6MB 字体资产(canvas-design 必需资产,OFL 许可)。 - 存量部署下次启动种子自动升级写入(manifest 机制)。 ## Refs - Dev 任务分支 feature/vendor-popular-skills(组合 PR 随后)
weichen added 1 commit 2026-10-14 14:40:11 +00:00
Vendor four permissive popular skills into the recipe library
ci / vet-and-test (pull_request) Successful in 46s
e6c3d0d876
Why: The user asked to bring proven external skills for document
beautification and content enrichment into the system. Surveying GitHub,
skills.sh and ClawHub found the popular document-editing skills are
proprietary (Anthropic document skills forbid extraction and derivatives),
so the compliant picks are the permissively-licensed leaders: frontend-
design (Apache-2.0, 985.7K installs), canvas-design (Apache-2.0, official
example skill with bundled OFL fonts), copywriting and copy-editing (MIT,
54.7K stars).

Evidence: Seed-time open-spec validation passes for all four vendored
SKILL.md frontmatters (dogfooded by the existing seed tests); anthropic
skill bodies verified byte-identical to the pinned upstream snapshot
(dbd4588f); marketing skills trimmed only of unvendored sibling pointers
and eval artifacts, recorded in per-skill UPSTREAM.md with pinned SHAs;
new provenance test guards license files.

Impact: Built-in skills grow from four to eight and the binary embeds
about 6 MB of font assets; prompt library base.deliverables v9 exposes
the entry points. House-style stays authoritative for Office themes; the
new skills add visual direction, poster/infographic rendering and
copywriting craft. Seeds upgrade existing deployments on next start.

Refs: Dev task feature/vendor-popular-skills
weichen added 1 commit 2026-10-14 14:48:57 +00:00
Merge authoritative main into the vendor-skills branch
ci / vet-and-test (pull_request) Successful in 52s
9010e5b5f7
weichen merged commit ead5ade30e into main 2026-10-14 14:55:21 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Backend#200