Commit Graph
4 Commits
Author SHA1 Message Date
cd9230ff79 fix(market): 更新宝玉合集成员与中文说明 (#317)
## 修改内容 / Changes

- 合集 21 → 22,新增 baoyu-podcast-summary;同步图表技能及 22 项中文简介。 Expand the
collection to 22, add podcast summaries and synchronize Chinese child
summaries.
- 披露 sharp 0.34.5、Node.js,以及 YouTube 字幕和联网检索的前提;补成员、依赖与许可复核证据。 Disclose
sharp/Node.js and transcript/search prerequisites; record
membership/dependency/license review.

## 修改前后 / Before and after

| 场景 / Scenario | 修改前 / Before | 修复后 / After |
| --- | --- | --- |
| 成员与依赖 / Members and dependencies | 缺少新增成员及依赖复核 / New member/dependency
unreviewed | 22 项成员、中文简介与依赖证据齐备 / 22 members and bound evidence |

## 影响范围 / Scope

| 文件 / File | 行号 / Line | 改动 / Change |
| --- | --- | --- |
|
[skills/baoyu-skills/catalog-metadata.v1.json](https://github.com/desirecore/market/blob/73d25bcf440c55da86b19ed278860f62a4f8d08a/skills/baoyu-skills/catalog-metadata.v1.json#L35)
| 35 | 准入、依赖与详情 / Eligibility, prerequisites and detail |
|
[skills/baoyu-skills/collection-child-overrides.json](https://github.com/desirecore/market/blob/73d25bcf440c55da86b19ed278860f62a4f8d08a/skills/baoyu-skills/collection-child-overrides.json#L1)
| 1 | 可重生成双语简介 / Reproducible localized summaries |
|
[skills/baoyu-skills/entry.json](https://github.com/desirecore/market/blob/73d25bcf440c55da86b19ed278860f62a4f8d08a/skills/baoyu-skills/entry.json#L36)
| 36 | 固定来源与发现信息 / Source and discovery |
|
[skills/baoyu-skills/special-review.v1.json](https://github.com/desirecore/market/blob/73d25bcf440c55da86b19ed278860f62a4f8d08a/skills/baoyu-skills/special-review.v1.json#L1)
| 1 | 专项复核记录与摘要 / Scoped review and hashes |
|
[skills/baoyu-skills/upstream-audit.v1.json](https://github.com/desirecore/market/blob/73d25bcf440c55da86b19ed278860f62a4f8d08a/skills/baoyu-skills/upstream-audit.v1.json#L1)
| 1 | 自动核验回执 / Automated verification record |

## 验证 / Validation

- 目录严格校验、i18n 校验和该技能翻译新鲜度检查均通过,0 errors。Catalog, i18n and scoped
translation checks pass.
- 固定快照的 22 项成员、翻译覆盖与 sidecar 逐项一致。Pinned collection regeneration
matches.
- 来源核验契约单文件测试 22/22 通过。Audit contract tests pass.
- GitHub 当前提交的 `validate`、`translate` 已通过,Copilot 审阅仍在等待。Current-head
required checks pass; Copilot review is pending.
- 已同步当前 main;公开信息边界和仅元数据改动已检查。Synced with main; public metadata scope
reviewed.
- 校验仍报告仓库既有告警。此次核验覆盖来源、许可和元数据,上游代码运行、客户端安装、GUI 与跨平台功能尚未实测。Existing
catalog warnings remain; upstream execution, client installation and
cross-platform GUI are untested.

---------

Co-authored-by: yi-ge <yi-ge@users.noreply.github.com>
Co-authored-by: mashagua <993498039@qq.com>
2026-11-22 20:52:30 +08:00
yige 26a3a4a82a fix: 修复上游健康巡检并同步已审查的市场引用 (#207)
Upstream health checks could select a different branch ending in `main`,
index internal skills or lowercase reference documents, treat a valid
pinned path as broken after an upstream move, and close the tracking
issue while unpinned or unknown entries remained. Resolve exact refs and
tracked filenames, compare the installed snapshot, and drive issue
decisions from structured results.

Refresh 26 reviewed pointers, pin DingTalk and Matt Pocock collections,
remove the deleted merge-conflict skill, and add the six new public
children with reviewed translations. Synchronize sidecars, observed
release facts, license evidence and external dependency disclosures.
Identical-tree Agent pins and their versions remain unchanged. The
per-entry review is recorded in
`docs/upstream-health-189-remediation.md`.

Validation: 99 unit tests pass; all nine pinned collections reproduce;
catalog/i18n and translation-freshness checks pass; online health checks
all 41 external entries with zero broken, actionable or unknown results.
Existing catalog warnings decrease from 123 to 105 with no new warning
groups. Python/workflow shell syntax and whitespace checks pass.

Closes #189.
2026-10-05 23:13:13 +08:00
124608760andxieyuanxiang 27589d013d fix(skills): 修复 14 个 pointer 条目安装失败 + 7 个合集声明 children (#81)
## 背景 / Background

市场里 25 个 pointer 条目中有 **14 个点安装必然失败**,客户端返回 502「源仓库中未找到 SKILL.md(pointer
指向有误)」。

根因是 `entry.json` 的 `source` 指错:客户端按 `source.path` 定位内容(缺省则取仓库根),而这些条目的
`path` 缺失或 URL 指向了 HTML 页面,`contentDir/SKILL.md` 自然不存在。

Of the 25 pointer entries, **14 always failed to install** with a 502.
The `source` pointers were wrong: `path` was missing (so the client
looked at the repo root) or `repoUrl` pointed at an HTML page instead of
the content.

## 改动 / Changes

### 1. 补 `source.path`(5 个)

| 条目 | path | 上游 SKILL.md 实际位置 |
|---|---|---|
| `impeccable` | `plugin/skills/impeccable` | 根目录没有;`plugin/` 与
`.claude/` 两份内容逐字节一致,取中立的分发目录 |
| `ai-news-radar` | `skills/ai-news-radar` | 仓库另有 `skills/radar`,取与条目 id
对应的 |
| `taste-skill` | `skills/taste-skill` | 同名子目录 |
| `wechatpay-skills` | `wechatpay-payment-integration` | 仓库另有
`wechatpay-product-coupon` 未覆盖,见下方遗留项 |
| `luckin-my-coffee` | `my-coffee` | zip 内有一层顶层目录 |

### 2. 修正 web 类条目的源地址(2 个)

`amap-jsapi-skill` / `dingtalk-api` 原先指向 ClawHub 的**网页**(`content-type:
text/html`),客户端只在 markdown 时才写成 `SKILL.md`,HTML 会落成 `index.html`,校验必失败。

- `amap-jsapi-skill` → 改用 ClawHub 文件 API(返回 `text/markdown`)。该技能在
ClawHub 的发布包 `version.files` 只有一个 `SKILL.md`,单文件抓取正是对的形态。
- `dingtalk-api` → ClawHub 包有 38 个文件(`scripts/*.ts` 等),单文件抓不全,改指内容完整的
GitHub 上游 `ogenes/dingtalk-api` 并锁 ref。

### 3. 合集条目声明 `children`(7 个,147 个子技能)

这 7 个的上游是「一个仓库装着 N 个平级技能」,没有单一 SKILL.md 可指,靠改 `path`
修不了。配合客户端新增的合集能力(desirecore 主仓库 PR),`entry.json`
现在可声明子技能清单,市场仍是一个条目,安装时由用户勾选装哪几个。

| 条目 | 子技能数 |
|---|---|
| `marketingskills` | 49 |
| `mattpocock-skills` | 35 |
| `larksuite-cli` | 27 |
| `baoyu-skills` | 21 |
| `wecom-cli` | 7 |
| `khazix-skills` | 5 |
| `netease-skills` | 3 |

新增 `scripts/gen-collection-children.py`:按 `entry.json` 锁定的 ref
克隆上游、扫描子技能、读 frontmatter 生成 `children`。约定「仓库有顶层 `skills/` 就只扫它」——否则会收录
`larksuite/cli` 的 linter 测试夹具
`internal/qualitygate/skillscan/testdata/skills/lark-demo`。

### 4. `netease-skills` 分支修正

`repoBranch` 写的是 `main`,上游默认分支是 `master`,此前 clone 必然失败(`Could not find
main`)。

### 5. 版本号

`manifest.json` `1.2.24` → `1.2.25`。

## 验证 / Verification

- `uv run scripts/i18n/validate-i18n.py` — OK
- `uv run scripts/i18n/validate-i18n.py --online` — OK
- **真实运行的 agent-service 上逐个安装**(独立 home + standalone 服务,非模拟):18 个非合集
pointer 条目 **18/18 成功**并完整落盘;7 个合集条目 **7/7 成功**,并验证了部分安装、追加、取消勾选卸载、装到
Agent 私有目录。

## 遗留项 / Known gaps

- `wechatpay-skills` 只覆盖了 `wechatpay-payment-integration`,同仓库的
`wechatpay-product-coupon` 未上架。条目名是复数,后续可拆成两条或改成合集。
- `children[].i18n` 目前只有 `shortDesc`(取自上游
description),**没有中文名**——子技能名沿用上游 id(如 `lark-approval`),以保证与上游文档、Agent
加载路径一致。宝玉 / Matt Pocock / Marketing 三个合集的描述本身就是英文。如需中文化,可接
`i18n-translate.yml` 覆盖 `children` 字段。
- 在线校验目前只查 URL 可达性,**查不出 `path` 指向的目录里有没有 SKILL.md**——这 14
个坏条目当初就是这么一路绿灯合进主干的。建议后续给 `--online` 加这条断言。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: xieyuanxiang <xieyuanxiang123@gmail.com>
2026-08-09 16:25:20 +08:00
mashagua b4cafe4edd feat: 新增宝玉 Skills 与 Marketing Skills 两个第三方入口 (#64)
以 entry.json pointer 形式收录两个第三方技能合集(均为 MIT、community、SHA 锁定):

- baoyu-skills(JimLiu/baoyu-skills,creative,上游 21 个技能)
- marketingskills(coreyhaines31/marketingskills,business,上游 49 个技能)

同步更新:
- manifest.json:totalSkills 54 → 56,version 1.2.18 → 1.2.19,lastUpdated → 2026-08-06
- README.md:external 22 → 24、total 54 → 56,外部条目清单补入两个新入口,并补回此前遗漏的 karpathy-guidelines、last30days
2026-08-07 23:54:03 +08:00