`components-skill fetch` for `registry_item` refs

未关闭
#107 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
68/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
javascript

调研方向

Start by reading smoke-test.mjs for its Svelte file placement behavior and SKILL.md step 4 for the current fetch workflow. Then trace the components-skill fetch command and the registry_item format described in the issue; done means it supports Svelte refs, previews writes with --dry-run, prints dependencies, and step 4 points to the command.

由索引模型根据 Issue 内容生成。

描述

cli enhancement help wanted

Svelte Bits variants use fetch.method: "registry_item" (#66) because no CLI places their $lib/ targets correctly. Every agent now does that placement by hand from prose.

components-skill fetch blur-text --framework svelte could do it: GET fetch.url, write each files[].content with $lib/ as src/lib/, print the dependencies[] to install, and show everything before writing.

Done when: the command places files exactly where smoke-test.mjs's Svelte path does, has a --dry-run, and SKILL.md step 4 points at it.

主要语言
JavaScript
星标
17
派生
7
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CreativesLibrary/Components 的其他 Issue

查看 CreativesLibrary/Components 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。