Golem upgrade

From ThinkR-open/golem · View interactive version

Golem upgrade is an AI agent skill from the GitHub repository ThinkR-open/golem. Upgrades the golem Shiny app with the newest golem package features. Triggers on: - "upgrade my Shiny app" - "upgrade app" - "upgrade Shiny app" - "upgrade with newest golem features" - "upgrade to newest golem features" - "update my Shiny app" - "update app" - "update Shiny app" - "update with newe

How to use this skill

Skill file

Main Task

An old golem Shiny app which has been built with an older version of {golem}

gets an upgrade. Upgrade means getting access to newest features, and updates

of meta files and information.

Usage

Use this skill when creating, reviewing, or modifying a golem-based Shiny

application, and it is clear that the user wants an upgrade or should get an

upgrade from the context of the conversation.

To-Do

IMPORTANT: leave changes likely made by the user as is.

To this end:

I. Make an inventory of the following:

  1. dev/ folder:
  1. R/app_ui.R & R/app_server.R
  1. R/app_config & R/run_app.R

with the possibility of user changes

  1. inst/golem-config

not changing other fields; still the App may not be that "old" and the user

might decide to delete fields on purpose

  1. old deprecated functions: to find deprecated features refer to

II. Compare Shiny app version and golem package version newest golem version

The newest CRAN version is given at

The newest upstream version is given in the master/main branch under

III. Propose to update the R {golem} package (install.packages("golem"))

After the update, migrate functions and metadata to align with the new golem

version, **BUT AGAIN IMPORTANTLY: do not touch the content likely set by the

user: find a way to migrate !** . If unsure what is set by the user, and what

comes from an older golem version, ask the user, checkout the older version

installed on the system with upstream information at

https://github.com/ThinkR-open/golem , evaluate this, and then discuss this with

the user.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.