Vignette: Gather useful context with btw()

Đang mở
#228 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
72/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
r
Lĩnh vực
documentation

Hướng nghiên cứu

Start by reading the existing btw-md and custom-agents vignettes, then inspect the current source to verify the btw() and btw_this() APIs and behavior. Build a focused, task-first vignette around a concrete analysis or debugging question, run its executable examples in a fresh session, and render it successfully.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

documentation

Goal and audience

Introduce the context-gathering workflow to R users who want help from any LLM, including a browser-based chat. Start with an analysis question and incrementally assemble enough context for the model to answer without guessing about the data or code.

The destination is a focused context bundle the reader can paste into their preferred chat. Most examples should work without an LLM provider.

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.

  • Start with an R object and a question using btw().
  • Add a relevant function, help page, package description, or project file.
  • Explain the assembled output and clipboard workflow.
  • Use btw_this() to inspect a description without assembling a clipboard bundle.
  • Explain what summaries preserve and omit, especially for data frames.
  • Demonstrate selecting relevant context rather than sending the whole workspace.

Suggested boundaries

Avoid an exhaustive command-alias catalog, custom description-method development, or a tool-enabled chat tutorial. Link to reference documentation for the broader surface.

Writing guidance

Use the task-first, incremental teaching approach of the btw-md and custom-agents vignettes. Verify APIs and described behavior against source; run executable examples and render in a fresh session. Prefer a concrete analysis or debugging question over a tour of input types.

Ngôn ngữ chính
R
Star
150
Fork
13
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của posit-dev/btw

Tất cả issue của posit-dev/btw

Issue tương tự

Thêm issue về R

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.