Commit Graph
10 Commits
Author SHA1 Message Date
github-actions[bot] 4cd459fe67 chore(market): update reviewed Follow Builders snapshot (#359)
Update the immutable Follow Builders source pin after exact-target review. Only four JSON feed/state data files change upstream; instructions, scripts, dependency manifests and README remain byte-identical. Explicitly accept the existing Market-specific README MIT exception for this exact pin, preserve third-party rights and delivery authorization boundaries, correct bilingual metadata and regenerate the machine-attributed audit. Normal main synchronization preserves PR356/357. Catalog, i18n, freshness and 187 pytest tests with 234 subtests passed locally; all seven final-head checks passed. This is not runtime or external-delivery acceptance.
2026-11-25 11:51:31 +08:00
mashagua f3d5f29503 fix(market): 纠正大包可用性、默认预算与许可通知边界 (#357)
## 实际修正

复审 #350/#353/#354/#356 后,纠正 #353 已合目录文案中的边界误导;不改上游交付,不擅自把七项提升为可安装,并反查
#350 同类问题。

- GIF/stickman 区分整库、所选路径、超 1 MiB 文件合计:GIF 整库 883.07 MiB;stickman 整库
911.06 MiB、所选路径 552.59 MiB。原 676/812 MiB 是大文件小计,不是整个包。
- 明确市场 1 MiB/50 MiB/2000 是自动审核预算,不是上游技能能否使用的判定。budgetExemptPaths
不放宽总量。客户端固定 SHA Git 缓存 200/256 MiB 是默认值,内部 limits
可覆盖、不同取源路径有区别,不冒称不可配置绝对限制;不改任何阈值。
- 补齐 stickman 根 MIT LICENSE 不在所选路径内的实际通知携带问题;SAG/pixelfx/94+79+9
合集区分“市场可引用许可明确的上游”与“安装副本需要保留通知”,不暗示原仓库不可用或许可未知。
- 审计注释明确根 LICENSE/NOTICE pathspec 仅是审核证据,不等于客户端附带文件。新增固定源码行链接及离线复制结果说明。

## 反查 #350 后追加纠正

- Agent Reach 的 agent_reach/skill(9 文件)、marketingskills 的 50
个子项、wecom-cli 的 15 个子项均缺根 MIT 通知。PPTX 的模板许可证属于第三方,不能替代 root
LICENSE;已读取两个合集全部 65 个 SKILL.md。拟将三项市场安装暂停为 listing-only,保留原固定
source/合集点选/资源/已知许可及历史许可审核,不伪造安装通过。
- Karpathy 原 README 只有 MIT,而实际路径内原 SKILL.md 同样有 license:
MIT;沿用已接受的一行声明边界,将 evidencePath 改到安装内真实文件,保持可安装,不一刀切降级。
- 网易三个子项各自含 LICENSE.txt,不降级;Follow Builders 整库包含 README 声明,交由现有 #356
校正文案;AI News Radar 显式授权本地包不撤回。

## 不变边界

原 #353 七项的 source/ref/path、合集 94/79/9 与双语子项、已知许可、availability
和准入回执均不变。无上游文件、本地包装、资源删除、自创 fetch、安装器或客户端仓库改动。AI News Radar
是用户明确要求的本地包,不撤回;#356 已处理 Follow Builders 文案,不重复修复。#354 的自动化纠偏追加到其原分支,不在此
PR 重复。

## 验证

- 完整 pytest:200 passed / 397 subtests passed;仅一条环境插件弃用警告。
- catalog --require-complete、validate-i18n、translate --check、git diff
--check 通过。
- 逐项比较七项 source、children、governance、provenance 与 main 完全一致。
- 未执行上游脚本或外部服务,不宣称运行时/安装全部通过。

最终 head:7f4448219f36053abe6e4e1b2faab3fdc382d85d。

仅提交待审,不合并。

远程最终 SHA 检查已完成:validate、translate、wait-for-copilot-review 全部 success。此
JSON/文档差异未调度 CodeQL/Analyze,不把未适用任务伪报为通过。最终改动后已完整重跑 pytest:200 passed /
397 subtests passed。
2026-11-25 10:29:22 +08:00
yige 7189d91395 fix(catalog): 校验技能指针的客户端契约,撤回 REA 的单段版本 / validate skill pointers against the client contract (#239)
客户端按 `marketSkillEntrySchema` 校验 `entry.json`,`latestVersion` 只接受 `x.y` 或 `x.y.z`,
不通过的条目在索引时被跳过。#227 写入的上游修订号 `50` 让所有客户端都看不到
reverse-engineer-anything,而 manifest 仍计入它。

- reverse-engineer-anything 恢复为 `release: unknown` 且不声明 `latestVersion`;固定提交与合规审查不变。
- video-use 去掉指针无法声明的 `skillType`,此前客户端一直拒绝这份 sidecar。
- 校验器用导出的客户端 Schema 校验技能指针,并按客户端判据双向比较 sidecar 事实。

Clients skip any `entry.json` whose `latestVersion` is not `x.y` or `x.y.z`, so the upstream
revision `50` from #227 hid reverse-engineer-anything from every client. This restores the shape
reviewed in #212, drops a `skillType` from video-use that made clients reject its sidecar, and makes
the validator enforce the client contract for skill pointers and compare sidecar facts both ways.

验证 / Validation: `validate_catalog_metadata.py --require-complete` 0 errors;真实 MarketSync
与校验器在 43 类变异下判定一致;索引 145 技能、9 Agent、2 团队,0 个 sidecar 被拒。
2026-10-31 16:34:32 +08:00
yige 4a4fbea7fd fix: 同步上游健康巡检 #213 两轮已审查的市场引用 (#227)
## Summary

This PR remediates the #213 upstream-health findings in two reviewed
rounds. Each installed-scope diff was reviewed: the source path or the
declared child paths, together with the root LICENSE/NOTICE/COPYING
files. Each entry was then repinned or put on a reviewed hold. Per-entry
decisions and compare links are in
`docs/upstream-health-213-remediation.md`, which covers the first review
and then the "Follow-up review (2026-10-27)" section.

- **Round 1 (2026-10-19):** 28 reported entries.
- **Round 2 (2026-10-27, squash-merged from #228):** the upstream
changes that landed after round 1.

#222 is now on `main`, and this branch has been updated with `main`.

## Changes

- **Repins.** Round 1 repinned 24 pointers. Round 2 repinned 16, some of
them again:
- Round 1: agent-reach, anatomy, archify, blog-chart, blog-repurpose,
brainstorming, dingtalk-cli, follow-builders, humanizer,
humanlayer-skills, impeccable, larksuite-cli, last30days,
mattpocock-skills, planning-with-files(-zh), redbookskills,
reverse-engineer-anything, systematic-debugging, taste-skill,
translate-book, video-use, wechatpay-skills, wecom-cli.
- Round 2: archify, banana, brainstorming, dingtalk-cli,
follow-builders, frontend-slides, himalaya, impeccable, larksuite-cli,
last30days, mattpocock-skills, planning-with-files(-zh), redbookskills,
reverse-engineer-anything, taste-skill.
- For each repin, `entry.json` and the catalog sidecar stay in sync:
refs, compliance, review timestamps, observed versions, license evidence
and compatibility requirements.
- **Three new collection children** with reviewed zh-CN/en-US summaries:
- `rpi` (humanlayer-skills): explicit invocation only. A real summary
replaces the upstream text, which only said to invoke it by name.
- `chief-of-staff` (mattpocock-skills): from upstream's in-progress
folder, manual invocation only.
- `wecomcli-pptx` (wecom-cli): needs the separately installed wecom-cli.
- **License.**
- archify: upstream relicensed from MIT to Apache-2.0. The earlier MIT
grants remain upstream in LICENSE-MIT and NOTICE.
  - humanlayer-skills: MIT license evidence and review dates recorded.
- **External-dependency disclosures**, following the repository policy:
  - brainstorming: visual-companion logo telemetry.
  - planning-with-files: automatic hooks and their Python 3 requirement.
  - archify: an opt-in global-rules edit.
  - taste-skill: public image APIs and CDN resources.
  - wechatpay-skills: knowledge-base sync.
  - banana: Python 3.11+, Gemini billing and data retention.
- himalaya: the separate CLI and mail credentials, and sending without
built-in confirmation.
  - frontend-slides: the Playwright/Chromium download.
- impeccable: the optional OpenAI image fallback and SHA-256-pinned
downloads.
  - last30days: Bright Data and the other optional providers.
  - reverse-engineer-anything: tooling and the authorization gates.
- Updated summaries for the dingtalk-cli and mattpocock-skills children.
- Unsupported domain and tool counts are removed from the dingtalk-cli
summary.
- **Reviewed holds** (`upstream-health-hold.json`):
- `geo-optimizer`: upstream moved the workflow outside the installed
subtree, so the new layout would install broken.
- `nuwa-skill`: SKILL.md recommends the author's other projects whenever
a request goes beyond the skill's scope.
- `agent-reach`: 1.6.0 defaults to an anti-detection browser that copies
site cookies from a connected Chrome.
- `wecom-cli`: new wecomcli-sheet content is adapted without attribution
from the source-available xlsx skill in anthropics/skills, while the
repository declares MIT.
- `marketingskills`: a referral promotion and paid "Verified Partner"
placements in agent-facing content. This hold went stale again on
2026-10-28; see below.
- **Manifest** goes to 1.5.18; #226 took 1.5.17 on `main`, and inventory
counts follow `main`. watch is left alone because #221 already pins it
on `main`.

## Review decisions worth a second look

- **archify proactive mode.** It edits the agent's global rules file
only after explicit user consent, and the edit is reversible. Disclosed
rather than held.
- **wechatpay-skills knowledge-base sync.** The sync can overwrite
installed files from the official CDN. This behavior predates this PR;
disclosed rather than held.
- **agent-reach and wecom-cli holds.** Both are judgment calls. The
review notes list what a later bump would need to disclose.
- **reverse-engineer-anything version.** Its upstream `metadata.version`
revision is recorded as an opaque version.

## Validation

Run on 2026-10-28 on this branch after merging `main` (`7a3ea30`, which
includes #226):

- Unit tests: 122 pass. By suite: i18n 19, catalog-metadata 51,
collection generator 10, upstream health 42.
- Validators: `validate_catalog_metadata.py --require-complete`,
`validate-i18n.py` and `translate.py --check` pass with 0 errors.
Warnings go from 105 on `main` to 103, and none are new.
- Collections: `gen-collection-children.py --check` reproduces all ten
pinned collections, including aws-agent-toolkit from #226.
- `git diff --check` is clean.
- Sensitive-token scan: passed for both rounds (run privately by the
maintainer). The `main` merge and the manifest bump add only generic
text.

Each round was also checked online against its reviewed heads; see the
remediation record. Third-party programs and live account services were
not executed.

## Not clean as of 2026-10-28

The online check on this branch covered 113 entries, and nothing is
broken. One transient TLS failure passed when rechecked individually.
Five `held` findings cover four holds: geo-optimizer counts twice,
nuwa-skill, agent-reach and wecom-cli once each. Still actionable:

- **marketingskills:** upstream moved again (`0cd9b3a`), so its hold is
`stale-hold`. The two undeclared children are still reported as
`new-skill`.
- **reverse-engineer-anything:** `outdated` against a newer head
(`40b9c03`).
- **agent/video-director:** `outdated` against a newer head (`4652b1d`).
It was added on `main` by #225.
- **aws-agent-toolkit:** `outdated` against a newer head (`655a323`). It
was added on `main` by #226.

These newer heads are not reviewed here. #213 stays open for the next
round.

Refs #213.
2026-10-28 11:23:49 +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
yige 204cd96835 docs: 更新 Control 应用市场入口与服务技能边界 (#181)
## 变更 / Changes
新增 Control 1.4.0 中英文市场安装指南及 README 应用入口,指向真正的应用数据源
desirecore/registry;同步 registering-services / using-services 到 1.0.4,明确
native-app 的对外 MCP 不可注册为内部服务。

Add bilingual marketplace documentation and update both service skills
without duplicating an App as an MCP service. Fixed native application
listing and lifecycle live in Registry; open-source implementation lives
in desirecore-agent/desirecore-cdp-mcp.

## 兼容 / Compatibility
Requires native-app-aware desktop (catalog minimum 10.0.169) and
app-install-manager >=1.4.0. Catalog publication does not upgrade the
desktop or Agent.

## 验证 / Verification
- i18n/catalog validation: 0 errors, 129 existing governance/freshness
warnings retained.
- scoped translation hash check: both skills up to date; no model API
invoked by checks.
- git diff --check passed; unrelated market entries preserved.
2026-09-19 14:21:07 +08:00
yige f8d6ddeaf3 feat(market): 为外部技能补充图标 (#50)
## Summary / 摘要

Add inline SVG icons to all 20 external pointer skills, so their cards
no longer fall back to an empty icon. The market catalog version is
bumped from `1.2.8` to `1.2.9`.

为全部 20 个外部 pointer skill 补齐内联 SVG 图标,市场卡片不再显示为空;市场版本由 `1.2.8` 升至
`1.2.9`。

## Compatibility / 兼容性

Depends on desirecore/desirecore#1177, which permits the `icon` field in
strict pointer-entry validation and forwards it through the offline
list/detail responses. That PR must merge first.

## Skill → icon screenshot / Skill 与图标截图

The preview labels every card with its display name and id.

![External skill icon
preview](https://raw.githubusercontent.com/desirecore/market/feat/external-skill-icons/docs/assets/external-skill-icons-v1.2.9.svg)

Covered skills: `agent-reach`, `ai-news-radar`, `amap-jsapi-skill`,
`dingtalk-api`, `flyai-skill`, `follow-builders`,
`ian-xiaohei-illustrations`, `karpathy-guidelines`, `khazix-skills`,
`larksuite-cli`, `last30days`, `luckin-my-coffee`, `mattpocock-skills`,
`minimax-image-gen`, `minimax-tts`, `mt-paotui-for-client`,
`netease-skills`, `taste-skill`, `wechatpay-skills`, and `wecom-cli`.

## Validation / 验证

- `uv run scripts/i18n/validate-i18n.py`
- `uv run scripts/i18n/translate.py --check`
- Parsed all 20 `entry.json` icons as SVG XML
- `git diff --check`
- Rendered the committed preview asset locally
2026-07-16 19:59:41 +08:00
yige 0b9aa38699 fix(skills): 禁止自动注入完整技能内容 (#49)
## Summary

- 将 dashscope-image-gen、image-to-image、markdown、tech-diagram、xiaomi-tts
改为仅按需加载,并递增 patch 版本
- 在 Market validator 与 JSON Schema 中禁止 `disable-model-invocation: false`
- 将回归测试接入 `i18n Validate`,同步中英文技能编写规范

## Root cause and impact

这 5 个技能在首次引入时即声明 `disable-model-invocation: false`,导致完整技能正文进入普通请求的
system prompt。修改后市场技能只能声明 `true` 或省略该字段,完整内容仅在显式调用 Skill 工具后加载。

## Validation

- `uv run --quiet scripts/i18n/test_validate_i18n.py`
- `uv run --quiet scripts/i18n/validate-i18n.py`
- `uv run --quiet scripts/i18n/translate.py --check`
- `python3 -m json.tool
scripts/i18n/schema/skill-frontmatter.schema.json`
- `actionlint .github/workflows/i18n-validate.yml`
- `git diff --check`
2026-07-14 11:55:22 +08:00
yige 1b002e5778 强化市场校验与索引元数据
合并市场索引、分类、i18n 校验、skill-creator 工具和已修改 skill 版本号更新。
2026-07-07 21:14:31 +08:00
yigeandClaude Opus 4.7 8bdda4afb1 feat: skills i18n 改造(schemaVersion 1.1,零向后兼容) (#1)
* feat: skills i18n 改造 — schemaVersion 1.1,零向后兼容

把 21 个 skills + 1 个 agent + manifest/categories 全量迁移到 schemaVersion 1.1
的 i18n 结构,配套 CI AI 翻译流水线(GitHub Models)与本地工具链。

## 关键变更

### 数据结构(破坏性,schemaVersion 1.0 → 1.1)
- SKILL.md: 顶层 name 改为 ASCII slug(== 目录名,符合 agentskills.io 规范);
  中文显示名/short_desc/description 全部迁入 metadata.i18n.<locale>
- agents/<id>/agent.json: shortDesc/fullDesc/tags/persona.{role,traits} 迁入
  i18n.<locale>;changelog[].changes 改为 { <locale>: string[] } 对象
- categories.json: 每个分类的 label/description 迁入 i18n.<locale>,顶层只剩
  color/icon
- manifest.json: 加 supportedLocales / defaultLocale;顶层 description 迁入
  i18n.<locale>

### Body 文件结构
- 根 SKILL.md = frontmatter + default_locale (en-US) body
- SKILL.<locale>.md = 各 locale 的 markdown body(首行 <!-- locale: xx --> 自校验)

### 工具链(scripts/i18n/)
- glossary.json: zh→en 术语表 + do_not_translate 白名单
- schema/skill-frontmatter.schema.json: i18n frontmatter JSON Schema
- validate-i18n.py: 8 条校验规则(name 合规 / locale 完整性 / hash 一致性等)
- translate.py: GitHub Models / Anthropic 双 backend,sha256 增量翻译
- migrate.py: 一次性迁移脚本(旧格式 → i18n 结构)

### CI(.github/workflows/)
- i18n-validate.yml: PR 触发跑 validate + translate --check
- i18n-translate.yml: PR 触发用 GitHub Models(默认 openai/gpt-5-mini)翻译缺失
  locale,自动追加 commit;可切到 ANTHROPIC_API_KEY 走 Claude

### 文档
- docs/I18N.md: 作者贡献指南(schema 说明 / 提交流程 / 常见问题)
- README.md: 加多语言段落

## 验证

- uv run scripts/i18n/validate-i18n.py: OK,49 文件 0 错误
- uv run scripts/i18n/translate.py --check: 0 stale locale
- 21 skills 标题数 zh-CN == en-US 严格对齐(最大 66=66)
- skills-ref 规范校验:全部通过(顶层 name ASCII slug + description 单字段)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(i18n): 修复 PR #1 review 反馈的 6 项问题

- schema: translated_by 正则放宽为 ^(human|ai:[A-Za-z0-9._:/-]+)$,接受
  'ai:github:openai/gpt-5-mini' 这类 backend:model 形式(CI 翻译输出格式)
- README + docs/I18N.md: 修正"CI 用 Claude API"误导描述,正确说明默认是
  GitHub Models(openai/gpt-5-mini)+ GITHUB_TOKEN,可选切到 Anthropic
- skills/minimax-tts/SKILL.md & SKILL.zh-CN.md: 删除多余的 ``` 闭合,避免
  Markdown 后续渲染错乱
- skills/docx/SKILL.md: 翻译时丢失的 • Unicode escape 示例已恢复,
  与 zh-CN 版本对齐

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 00:26:33 +08:00