skills: add a glean skills command group for the platform Skills API
還沒有人認領這個 Issue。
評估
研究方向
Start by reading the existing command groups built with cmdutil.Build and their agent-help entries, then check the registry drift test to see how commands are registered. The issue proposes glean skills operations and defines completion as documenting the group, passing that test, and importing, syncing, validating, and reading back a skill from the CLI; the specific files and tests are not named.
由索引模型根據 Issue 內容生成。
描述
The CLI has no command for Glean skills. The platform Skills API is available, and api-client-go v0.17.3 models it as Glean.Skills:
GET /api/skills,POST /api/skillsGET,PATCHandDELETE /api/skills/{skill_id}, plusGET /api/skills/{skill_id}/contentPOST /api/skills/import,POST /api/skills/{skill_id}/syncPOST /api/skills/validation,POST /api/skills/sources/preview(plus a streaming variant)GETandPOST /api/skills/{skill_id}/versions,GET /api/skills/{skill_id}/versions/{version}and its/content
Proposal
Add a glean skills command group built with cmdutil.Build, so it gets --json, --dry-run, --fields and an agent-help entry like the other commands. A reasonable first cut is list, get, content, create, import, sync, validate and versions. Delete, update and source preview can follow.
Done when
glean agent-help skillsdocuments the group, and the registry drift test passes.- A skill can be imported from a source, synced, validated and read back from the CLI.
- 主要語言
- Go
- 星號
- 65
- 分支
- 8
- 平均合併
- 5 天 7 小時
- 30 天內合併 PR
- 3
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
gleanwork/glean-cli 的其他 Issue
-
enhancement
難度 2/5 1-3 小時 新手友好度 75/100
-
enhancement
難度 2/5 1-3 小時 新手友好度 76/100
-
enhancement
難度 4/5 1-2 天 新手友好度 56/100
-
enhancement
難度 4/5 3-5 天 新手友好度 52/100
-
enhancement
難度 4/5 3-5 天 新手友好度 48/100
查看 gleanwork/glean-cli 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 70/100
-
難度 2/5 1-3 小時 新手友好度 65/100
Azure/azure-storage-azcopy#3681 ·
維護者通常 2 天內回覆
-
Case detail: main-column section headers are hard to distinguish from body text可能已有人在做 @yubessy 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 68/100
ubie-oss/hecatoncheires#347 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
-
難度 2/5 1-3 小時 新手友好度 66/100
meilisearch/meilisearch-go#829 ·