From 0518fb0c28b567ccb0cc64c144b2c813bf121d70 Mon Sep 17 00:00:00 2001 From: Yige Date: Sat, 11 Jul 2026 20:29:40 +0800 Subject: [PATCH] fix(skills): add latestVersion and i18n to karpathy-guidelines / last30days pointer entries (#47) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary / 摘要 Complete the two pointer entries added in #46 with `latestVersion` and `i18n` blocks. 补全 #46 新增的两个 pointer 条目的 `latestVersion` 与 `i18n` 字段。 ## Why / 原因 - **latestVersion**: `karpathy-guidelines` upstream `SKILL.md` has no root-level `version`, so the client records `0.0.0` on install and the update check (`0.0.0 == 0.0.0`)永远判定已最新——updates would be silently skipped forever. Registering `latestVersion` here enables the client-side fallback (shipping separately in the desirecore repo). `karpathy-guidelines` 上游无根级 version,客户端装出来是 0.0.0 且更新判定永远跳过;在市场登记 latestVersion 配合客户端 fallback 修复。 - **i18n**: per ADR-038, market list localization must work offline from `entry.json` alone. Both entries previously lacked `i18n`, so the list shortDesc would render empty. 按 ADR-038 列表本地化需离线可用,此前两条目缺 i18n,列表简介为空。 ## Changes / 变更 - `skills/karpathy-guidelines/entry.json`: `latestVersion: 1.0.0` + zh-CN/en-US `i18n` - `skills/last30days/entry.json`: `latestVersion: 3.11.1`(与上游一致)+ zh-CN/en-US `i18n` ## Testing / 测试 - Both files validated against `marketSkillEntrySchema` (Ajv, desirecore repo) — VALID. - [x] I have read and agree to the CLA --- skills/karpathy-guidelines/entry.json | 11 +++++++++++ skills/last30days/entry.json | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/skills/karpathy-guidelines/entry.json b/skills/karpathy-guidelines/entry.json index aa9e15f..457ee16 100644 --- a/skills/karpathy-guidelines/entry.json +++ b/skills/karpathy-guidelines/entry.json @@ -8,6 +8,17 @@ "coding", "karpathy" ], + "latestVersion": "1.0.0", + "i18n": { + "zh-CN": { + "name": "Karpathy 编码准则", + "shortDesc": "降低 LLM 常见编码错误的行为准则,源自 Andrej Karpathy 对 LLM 编码陷阱的观察" + }, + "en-US": { + "name": "Karpathy Guidelines", + "shortDesc": "Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations" + } + }, "maintainer": { "name": "forrestchang", "verified": false, diff --git a/skills/last30days/entry.json b/skills/last30days/entry.json index a4e373c..6b09ad1 100644 --- a/skills/last30days/entry.json +++ b/skills/last30days/entry.json @@ -10,6 +10,17 @@ "hacker-news", "web" ], + "latestVersion": "3.11.1", + "i18n": { + "zh-CN": { + "name": "近 30 天研究", + "shortDesc": "调研任意话题近 30 天的真实讨论,聚合 Reddit、X、YouTube、HN、Polymarket、GitHub 等来源的热帖与观点" + }, + "en-US": { + "name": "Last 30 Days", + "shortDesc": "Research what people actually say about any topic in the last 30 days across Reddit, X, YouTube, HN and more" + } + }, "maintainer": { "name": "Matt Van Horn", "verified": false,