Vignette: Turn report writing into a reusable task
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 68/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- r
- Ambito
- documentation
Direzione di ricerca
Start by reading the existing configuration, btw-md, and custom-agents vignettes, then verify btw_task(), task-file front matter, prompt/context handling, and client/tool modes against the current source. Develop a bounded report-writing example that works interactively and as a delegated tool, and render it in a fresh session with provider-dependent interactions marked non-executing.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Goal and audience
Extend the ideas in the configuration and custom-agents vignettes by teaching reusable tasks with btw_task(). The example should be a report-writing task that helps create the report in the first place, rather than another report-review task. This complements the existing custom-agents example: create the report with a reusable task, then potentially review it with the previously introduced agents.
The audience is R users/developers who want to launch a defined workflow themselves or offer it as a tool to another chat. The destination is one parameterized task usable interactively and as a tool.
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.
- Briefly show the finished task experience, possibly using a built-in task to introduce the concept.
- Develop a report-writing workflow: gather the report's purpose, available data/results, audience, and desired output, then help draft the report. Choose a concrete, bounded example before writing.
- Move the repeated instructions into a task Markdown file.
- Configure the client and tools with the familiar front matter.
- Parameterize the prompt with
{{ variable }}placeholders. - Distinguish named template arguments from unnamed R objects supplied as context.
- Run the task interactively in the app or console.
- Return a configured client with
mode = "client". - Offer the same task to another chat with
mode = "tool". - Explain tasks versus custom subagents and the transition from a human-guided workflow to a delegated job. In tool mode, the task must proceed without interviewing the user; show how the necessary inputs are supplied or assumptions handled.
Suggested boundaries
Link back to configuration and custom-agent explanations rather than reteaching them. Task files are passed explicitly; do not present them as automatically discovered custom agents. Avoid making a complex agent team necessary to understand tasks.
Writing guidance
Build on btw-md and custom-agents while making the report-writing example useful on its own. Verify APIs, mode behavior, and prompt/context handling against source. Render in a fresh session; mark provider-dependent interactions as non-executing where appropriate, and do not invent model output.
- Lingua principale
- R
- Stelle
- 150
- Fork
- 13
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di posit-dev/btw
-
Difficoltà 4/5 1-2 giorni Idoneità per principianti 25/100
-
Codemode: MCP and tools via the run R toolForse di nuovo libera @gadenbuie l’ha presa 58 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
documentation
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
documentation
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
-
documentation
Difficoltà 4/5 3-5 giorni Idoneità per principianti 68/100
Tutte le issue di posit-dev/btw
Issue simili
-
num_ode_rk4_adaptive rejects atol = 0 while accepting rtol = 0 and while num_ode_dopri5 accepts bothApertaarea/ode-pde good first issue help wanted kind/contract severity/4-minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Apich-Organization/rssn#383 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
PRL-PRG/r-compile-server#70 · 1 commento ·
-
dependencies docker enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
posit-dev/images-workbench#257 ·
I maintainer di solito rispondono entro 1 giorno
-
dependencies docker enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
posit-dev/images-package-manager#188 ·
I maintainer di solito rispondono entro 1 giorno
-
dependencies docker enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
posit-dev/images-connect#222 ·
I maintainer di solito rispondono entro 1 giorno