Agent skill

RStudio Electron Version Update

by rstudio in rstudio/rstudio

Bumps the pinned Electron version across the RStudio repository, updating NEWS.md, package.json, the lockfile and the allowScripts entry.

Custom licenceAuto-check passedDevelopment

Install RStudio Electron Version Update

skills CLI
$ npx skills add rstudio/rstudio --skill rstudio-update-electron -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rstudio/rstudio rstudio-update-electron --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rstudio/rstudio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/rstudio-update-electron .claude/skills/rstudio-update-electron && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rstudio-update-electron
GitHub stars
5.1k
Token cost
~964 tokens
SKILL.md length
480 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
Custom licence

At a glance

Bumps the pinned Electron version across the RStudio repository, updating NEWS.md, package.json, the lockfile and the allowScripts entry.

  • Works in 7 steps: Verify starting branch → Update NEWS.md → Update src/node/desktop/package.json and… → …
  • Moving RStudio's desktop app to a new Electron release
  • SKILL.md covers Arguments and Steps
  • Calls npm, git and npx

What it does

You give the skill a target Electron version, and it applies that version across the RStudio codebase and verifies the result. It first confirms the current branch is `main` and stops with a warning if it is not, so the work is not based on the wrong commit. It then edits the `### Dependencies` section of `NEWS.md`, adding or setting an Electron line in alphabetical order.

In `src/node/desktop` it runs an npm install with `--save-dev --save-exact` for the new Electron version, so Electron is pinned exactly with no caret or tilde, and checks that both `package.json` and `package-lock.json` carry the new version. The lockfile has to be committed, because a mismatch makes `npm ci` fail in CI. npm does not touch the `allowScripts` key in `package.json` that names the old Electron version, so the agent renames it to the new version by hand.

When your agent uses it

  • Moving RStudio's desktop app to a new Electron release
  • Keeping NEWS.md and the dependency lockfile in step with an Electron bump

Example prompts

  • “Update Electron in RStudio to 39.8.4.”
  • “Bump the pinned Electron version to the release I name and update NEWS.md as well.”
  • “Pin electron exactly in src/node/desktop and fix the allowScripts entry.”

Requirements

  • A checkout of the RStudio repository on the main branch
  • npm

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Verify starting branch
  2. Update NEWS.md
  3. Update src/node/desktop/package.json and lockfile
  4. Update the allowScripts allowlist entry
  5. Verify the Electron binary
  6. Run tests
  7. Done

What it can do on your machine

Read from SKILL.md and the folder at commit ed04cb7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • git
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, git and npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

RStudio Electron Version Update loads about 964 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 480 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~964

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 480 words (~964 tokens).

“Updates the pinned Electron version across the RStudio codebase and verifies the result.”

— opening of SKILL.md by rstudio, Custom licence
name
rstudio-update-electron

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/rstudio-update-electron of rstudio/rstudio.

Open the folder on GitHubat commit ed04cb7

Compare with similar skills

RStudio Electron Version Update next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

RStudio Electron Version Update compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
RStudio Electron Version Update this skillrstudio/rstudio5.1k—~964Automated safety check: PassCustom licence
Validator Dependency Upgradeexpress-validator/express-validator6.2k—~1.2kAutomated safety check: PassMIT
Claude Code Version Checkykdojo/claude-code-tips10k—~1.8kAutomated safety check: PassCustom licence
Linea Dependency MaintenanceConsensys-Incorporated/linea-attestation-registry1771 repos~3.7kAutomated safety check: WarnMIT
Aube Package Manager Helperaubepkg/aube2k—~1.1kAutomated safety check: WarnMIT
Dependabot Alerts Updatelivesession/xyd114—~2kAutomated safety check: PassMIT

Similar skills

  • Validator Dependency Upgrade

    express-validator/express-validator

    Walks maintainers through bumping the pinned validator package in express-validator and syncing chain types, implementations and options with the new release.

    6.2k GitHub stars~1.2k tokensUpdated 5 days ago
    DevelopmentAuto-check passed
  • Claude Code Version Check

    ykdojo/claude-code-tips

    Recommends whether to stay on the installed Claude Code version, update, or pin another one by comparing npm tags, release timing and the changelog.

    10k GitHub stars~1.8k tokensUpdated 13 days ago
    DevelopmentAuto-check passed
  • Linea Dependency Maintenance

    Consensys-Incorporated/linea-attestation-registry

    Safely plan and execute dependency maintenance for JavaScript/TypeScript (npm, pnpm) and GitHub Actions, including npm lockfiles, pnpm workspaces, catalogs, overrides, SHA-pinned action versions…

    177 GitHub starsUsed in 1 repo~3.7k tokens
    DevelopmentAuto-check: warnings
  • Manages Node.js dependencies, scripts and installs with aube, aubr and aubx, choosing the right command by its effect and preserving the project's existing lockfile and workspace format.

    2k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check: warnings
  • Automatically fetch and fix Dependabot security alerts by querying GitHub REST API for open alerts, identifying vulnerable packages, researching secure versions, and updating package.json files…

    114 GitHub stars~2k tokensUpdated 15 days ago
    DevelopmentAuto-check passed
  • Official

    Guides writing, running and configuring Deno 2.9+ projects: installing npm and JSR dependencies, permissions, config file precedence and the built-in fmt, lint, test and compile toolchain.

    100 GitHub stars~2.7k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed

More from rstudio/rstudio

  • Converts RStudio Python Selenium electron tests into TypeScript Playwright tests, checking each against a live RStudio before counting it as migrated.

    5.1k GitHub stars~3.6k tokensUpdated today
    Auto-check passed
  • Runs RStudio's Playwright end-to-end tests against the desktop app or a server build with the project's npm scripts, asking you which mode to use first.

    5.1k GitHub stars~801 tokensUpdated today
    Auto-check passed
  • Advances RStudio's pinned copilot-language-server dependency to a specified release, then uploads it to S3, verifies the install, and opens a PR.

    5.1k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Bumps the build-time and installed Node.js versions in the RStudio repository, uploads the binaries to S3, verifies the install and opens a PR.

    5.1k GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Bumps the pinned Quarto version across the RStudio repository, mirrors the release to the rstudio-buildtools S3 bucket, verifies it and opens a PR, on macOS and Linux.

    5.1k GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Gotchas and conventions for writing, reviewing and migrating RStudio's TypeScript Playwright tests under e2e/rstudio, beyond what the README covers.

    5.1k GitHub stars~3.9k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about RStudio Electron Version Update

What does RStudio Electron Version Update do?

Bumps the pinned Electron version across the RStudio repository, updating NEWS.md, package.json, the lockfile and the allowScripts entry. You give the skill a target Electron version, and it applies that version across the RStudio codebase and verifies the result. It first confirms the current branch is `main` and stops with a warning if it is not, so the work is not based on the wrong commit.

When should I use RStudio Electron Version Update?

RStudio Electron Version Update fits situations like: moving RStudio's desktop app to a new Electron release; keeping NEWS.md and the dependency lockfile in step with an Electron bump.

How do I install RStudio Electron Version Update in Claude Code?

Run `npx skills add rstudio/rstudio --skill rstudio-update-electron -a claude-code`. Or copy the skill folder (.claude/skills/rstudio-update-electron in rstudio/rstudio) into .claude/skills/rstudio-update-electron in your project. Claude Code loads it when a task matches its description.

How do I install RStudio Electron Version Update in Codex?

Run `npx skills add rstudio/rstudio --skill rstudio-update-electron -a codex`. Or copy the skill folder (.claude/skills/rstudio-update-electron in rstudio/rstudio) into .agents/skills/rstudio-update-electron in your project. Codex loads it when a task matches its description.

Can I use RStudio Electron Version Update in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rstudio/rstudio --skill rstudio-update-electron -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rstudio-update-electron, .gemini/skills/rstudio-update-electron, .github/skills/rstudio-update-electron and .opencode/skills/rstudio-update-electron in your project.

What does RStudio Electron Version Update need to run?

Going by SKILL.md and its folder, RStudio Electron Version Update needs the command-line tools its instructions call (npm, git and npx). Our summary lists: A checkout of the RStudio repository on the main branch; npm.

Does RStudio Electron Version Update access the network?

SKILL.md contains no URLs. Its commands use npm, git and npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is RStudio Electron Version Update safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does RStudio Electron Version Update use?

RStudio Electron Version Update has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does RStudio Electron Version Update use?

About 964 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to RStudio Electron Version Update?

Skills that share tags, products or a category with RStudio Electron Version Update: Validator Dependency Upgrade (express-validator/express-validator, 6.2k stars), Claude Code Version Check (ykdojo/claude-code-tips, 10k stars), Linea Dependency Maintenance (Consensys-Incorporated/linea-attestation-registry, 177 stars) and Aube Package Manager Helper (aubepkg/aube, 2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains RStudio Electron Version Update?

rstudio (a GitHub organization) maintains it in rstudio/rstudio, which has 5,081 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 8, 2026.

Source: rstudio/rstudio on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.