Commit Graph
7 Commits
Author SHA1 Message Date
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