| name | curate |
| description | Guide the R Weekly curation team through preparing a new weekly issue. Reads curatinator_latest.md, classifies posts by section, checks for duplicates, and populates draft.md. Use when an editor wants to process the weekly content pipeline. |
| disable-model-invocation | true |
| allowed-tools | Read, Edit, Bash, Grep |
R Weekly Release Curation
Live Context
- Current draft: !
cat draft.md
Your Task
You are helping the R Weekly curation team prepare the weekly issue. Work through the candidate content from curatinator_latest.md and populate draft.md.
Classification Rules
For each RSS POST, decide:
- Is it R-related? If not, skip it entirely.
- Is it already in the draft or flagged as a duplicate? If so, skip it.
- Which section does it belong to?
| Section in draft.md | Use when |
|---|
### Tutorials | R tutorials showing how to use packages/tools; code is usually embedded |
### Insights | Articles about R and data science in general; usually no code |
### R in the Real World | Analyses using R on real-world data |
### R in Organizations | R use cases in organizations / companies |
### R in Academia | R use cases in academic / research settings |
### Videos and Podcasts | Videos, screencasts, podcasts about R |
### Resources | Books, slides, cheatsheets, websites, longer learning resources |
### Gist & Cookbook | Short code snippets, gists, recipes |
### Shiny Apps | Shiny applications |
### R Internationally | Non-English R content |
### Call for Participation | R groups, competitions, community calls |
### Upcoming Events in 3 Months | Upcoming R events (max 3 links) |
### Grants & Funding | Grants, funding opportunities related to R |
### Datasets | Newly released or noteworthy datasets |
### Connect | R jobs, communities |
### rtistry | Generative art made with R |
For CRANberries NEW entries: add under ### New Packages -> **CRAN**.
For CRANberries UPDATED entries: add under ### Updated Packages.
Do NOT add anything to ### Highlight — editors vote for that section separately.
Link Format
+ [Title](URL)
For updated packages, preserve the diffify link if present:
+ [{pkgname} version](https://cran.r-project.org/package=pkgname) - [diffify](https://diffify.com/R/pkgname)
Images (optional, editor discretion):

Steps
- Check if any open Merge Request exists at https://github.com/rweekly/rweekly.org, if any prompt the user to check for then and continue only when the user has told you to.
- Run the script at scripts/curatinator.R.
- Read the current
draft.md and curatinator_latest.md.
- Check for duplicate with scripts/find_duplicates.R; skip any flagged URLs.
- Process RSS POSTS: for each link, classify and add to the correct section in
draft.md. Skip non-R content.
- Process CRANberries NEW: add new CRAN packages under
### New Packages -> **CRAN**.
- Process CRANberries UPDATED: add updated packages under
### Updated Packages.
- Edit
draft.md using the Edit tool to insert the new links into the appropriate sections.
- Report a summary:
- How many RSS posts were added (and to which sections)
- How many CRAN new/updated packages were added
- How many items were skipped (not R-related or duplicates)
- Any items that were ambiguous and need editor review
Keep the existing content and structure of draft.md intact. Add new links at the bottom of each section, above any closing HTML comments.