Faster Shiny R apps
Finds and fixes slow startup, laggy inputs and blocking work in Shiny for R apps so they handle more users.
Claude's review
7/10 Prioritised smell to fix table for slow Shiny apps with measure and verify discipline, detail in missing references
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Diagnose and fix performance problems in Shiny for R apps — slow startup, sluggish interactions, long-running blocking operations, and apps that struggle beyond a handful of concurrent users. Use when a Shiny app is slow, hangs, recomputes too much, times out, or needs to support more users; when the user asks to "speed up", "optimize", or "make faster" an existing Shiny app; or when preparing a prototyped app for real-world traffic.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: shiny-r-optimize
description: >
Diagnose and fix performance problems in Shiny for R apps — slow startup,
sluggish interactions, long-running blocking operations, and apps that
struggle beyond a handful of concurrent users. Use when a Shiny app is slow,
hangs, recomputes too much, times out, or needs to support more users; when
the user asks to "speed up", "optimize", or "make faster" an existing Shiny
app; or when preparing a prototyped app for real-world traffic.
metadata:
author: Garrick Aden-Buie (@gadenbuie)
version: "1.0"
license: MIT
---
# Optimizing Shiny App Performance
Make an existing Shiny for R app faster without changing what it does. The
typical user has an app that worked fine for one or two developers and is now
too slow or must support more users. Keep all app logic intact; prefer code
changes over deployment tuning; resist rewrites.
Order of preference for every fix:
1. **Eliminate** work that isn't needed (don't compute outputs nobody is
looking at; don't compute with inputs that aren't ready).
2. **Reuse** work that repeats (shared reactives, caching).
3. **Accelerate** unavoidable work (faster data formats, vectorized code).
4. **Relocate** work that blocks (async / background tasks) — last resort; it
buys concurrency, not raw speed.
## Workflow
### 1. Understand the complaint
Pin down what "slow" means and write it as a benchmark to beat:
- **What feels slow?** First page load? Every interaction? One specific
action? Only when several people use it at once?
- **How many concurrent users** must it support? (1–5, ~20, hundreds?)
...From posit-dev's repository, MIT licence.
Related skills
-
Checked
dbt platform migration
Moves a dbt project from one warehouse to another and fixes SQL dialect gaps, so your models build again.
7/101 credit -
Checked
CSV and Excel merging
Merges, stacks and dedupes CSV and Excel files into one clean table, then checks the row counts add up.
7/101 credit -
Checked
dbt Mesh contracts
Checks whether a dbt model change breaks consumers and versions it, so downstream dashboards keep working.
7/101 credit -
Checked
SQL and dbt Analytics
Writes analytical SQL and dbt models tested for grain and join errors, so the numbers come out right.
7/101 credit -
Checked
D3 Animated Data Charts
Turns sourced data into honest, accessible animated D3 charts that render reliably frame by frame for video.
7/101 credit -
Checked
Graph Analytics in Snowflake
Runs Neo4j graph algorithms like PageRank and Louvain on your Snowflake tables without moving data.
7/101 credit