mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-07-23 06:03:45 +08:00
fix(skills): add latestVersion and i18n to karpathy-guidelines / last30days pointer entries (#47)
## 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
This commit is contained in:
@@ -8,6 +8,17 @@
|
|||||||
"coding",
|
"coding",
|
||||||
"karpathy"
|
"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": {
|
"maintainer": {
|
||||||
"name": "forrestchang",
|
"name": "forrestchang",
|
||||||
"verified": false,
|
"verified": false,
|
||||||
|
|||||||
@@ -10,6 +10,17 @@
|
|||||||
"hacker-news",
|
"hacker-news",
|
||||||
"web"
|
"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": {
|
"maintainer": {
|
||||||
"name": "Matt Van Horn",
|
"name": "Matt Van Horn",
|
||||||
"verified": false,
|
"verified": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user