Commit Graph

2 Commits

Author SHA1 Message Date
0518fb0c28 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
2026-07-11 20:29:40 +08:00
mashagua
911644639e feat(skills): add karpathy-guidelines and last30days as pointer entries (#46)
## Summary

Add two community skills as **metadata-only pointer entries**, following
ADR-038 (market stores only `entry.json` + source pointer for
third-party content; no source vendored into the repo).

| id | upstream | stewardship | license | redistribution |
|----|----------|-------------|---------|----------------|
| `karpathy-guidelines` |
[multica-ai/andrej-karpathy-skills](https://github.com/multica-ai/andrej-karpathy-skills)
| community | MIT | allowed |
| `last30days` |
[mvanhorn/last30days-skill](https://github.com/mvanhorn/last30days-skill)
| community | MIT | allowed |

## Changes

- `skills/karpathy-guidelines/entry.json` — pointer to
`skills/karpathy-guidelines` on branch `main`
- `skills/last30days/entry.json` — pointer to `skills/last30days` on
branch `main`
- `manifest.json` — `totalSkills` 45 → 47, `lastUpdated` bumped

## ADR-038 compliance

- No upstream source tree vendored; only `entry.json` metadata +
`source` git pointer.
- Required fields present: `stewardship` / `license` / `redistribution`.
- Both upstreams are MIT and `redistribution: allowed`; content is
fetched from upstream at install time.

## Testing

- Validated both `entry.json` files are well-formed JSON.
- `source.path` usage matches existing precedent (e.g. `minimax-tts`,
`minimax-image-gen`).
2026-07-11 19:48:04 +08:00