Vignette: Share skills and use them in ellmer
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 68/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- r
- 领域
- ai, documentation
调研方向
Read the current source and documentation for skill discovery, installation, and ellmer integration, focusing on inst/skills/ and the public APIs btw_skill_install_package(), btw_skill_install_github(), btw_skill_install_project(), btw_tools("skills"), and btw_skill_prompt(). Trace one existing skill with a bundled resource from an R package through discovery to use by an ellmer client, and run the examples where possible in a fresh session. Done means the vignette accurately covers packaging, sharing, discovery, consumption, and the distinction between explicit integration and btw_client().
由索引模型根据 Issue 内容生成。
描述
Goal and audience
Teach intermediate-to-advanced R developers how to distribute skills so btw can find them, and how to integrate btw's skill tools into a regular ellmer client. This includes package authors and developers building custom assistants.
The focus is packaging, sharing, discovery, and consumption, not how to author skill instructions. Follow an existing useful skill from an R package's files through discovery/distribution to use by an ellmer assistant.
Proposed coverage — reassess before drafting
This is a starting proposal, not a fixed outline or required section order. Before writing, reassess the scope, example, and teaching sequence against the current implementation, existing documentation, and reader needs. Adjust, combine, or drop items as appropriate.
- Establish the packaging unit: a skill directory with
SKILL.mdand optional reference files or scripts. - Show the R package layout under
inst/skills/. - Explain automatic discovery from attached packages; distinguish installation from attachment.
- Use
btw_skill_install_package()to persist package skills in a project or user location without attaching the package in every session. - Cover GitHub sharing via
btw_skill_install_github()and dependency-based installation viabtw_skill_install_project(). - Explain project/user discovery, name conflicts, and custom search paths, linking to reference documentation for the complete location rules.
- Register
btw_tools("skills")in a plain ellmer client. - Use the public
btw_skill_prompt()helper to advertise skills in that client's system prompt. - Provide file-reading capability for bundled references, and explain how bundled scripts/resources are intended to be used.
- Contrast this explicit integration with what
btw_client()handles automatically. - Optionally mention slash-command integration without making it a second full tutorial.
Suggested boundaries
Avoid a skill-writing workshop, the skill-creator task, and a deep custom-agent tutorial. Make the distinction between registering a skill-loading tool and advertising available skills explicit. Use public APIs in the ellmer integration example rather than internal discovery/prompt helpers.
Writing guidance
Verify package discovery and installation behavior against source. Use a concrete skill with a bundled resource to demonstrate the complete path. Run discovery/integration examples where possible; render in a fresh session and avoid invented model output.
- 主要语言
- R
- 星标
- 150
- 派生
- 13
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
posit-dev/btw 的其他 Issue
-
难度 4/5 1-2 天 新手友好度 25/100
-
Codemode: MCP and tools via the run R tool可能重新可做 @gadenbuie 于 58 天前认领,目前没有进行中的 PR。 未关闭
难度 5/5 一周以上 新手友好度 25/100
-
documentation
难度 4/5 3-5 天 新手友好度 48/100
-
documentation
难度 4/5 3-5 天 新手友好度 52/100
-
documentation
难度 4/5 3-5 天 新手友好度 68/100
相似的 Issue
-
num_ode_rk4_adaptive rejects atol = 0 while accepting rtol = 0 and while num_ode_dopri5 accepts both未关闭area/ode-pde good first issue help wanted kind/contract severity/4-minor
难度 2/5 1-3 小时 新手友好度 78/100
Apich-Organization/rssn#383 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
PRL-PRG/r-compile-server#70 · 1 条评论 ·
-
dependencies docker enhancement
难度 2/5 1-3 小时 新手友好度 74/100
posit-dev/images-workbench#257 ·
维护者通常 1 天内回复
-
dependencies docker enhancement
难度 2/5 1-3 小时 新手友好度 72/100
posit-dev/images-package-manager#188 ·
维护者通常 1 天内回复
-
dependencies docker enhancement
难度 2/5 1-3 小时 新手友好度 68/100
posit-dev/images-connect#222 ·
维护者通常 1 天内回复