Shiny Bslib Theming

🌐Community
by posit-dev · vlatest · Repository

This skill applies visually appealing themes to BS Lib interfaces, enhancing user experience and improving aesthetic consistency.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add shiny-bslib-theming npx -- -y @trustedskills/shiny-bslib-theming
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "shiny-bslib-theming": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/shiny-bslib-theming"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill enables AI agents to apply custom theming styles to Shiny applications built with bslib. It allows dynamic modification of layout, colors, and typography directly within the R environment.

When to use it

  • You need to match a Shiny app's visual identity to your organization's brand guidelines without hardcoding CSS.
  • You want to create reusable theme configurations that can be toggled or updated programmatically across multiple apps.
  • You are building dashboards where the same underlying data visualization needs different aesthetic treatments for distinct user groups.

Key capabilities

  • Applies bslib-based themes to Shiny UIs dynamically.
  • Modifies layout structures and component styling via R code.
  • Facilitates consistent design patterns across diverse Shiny applications.

Example prompts

  • "Apply a dark mode theme to this Shiny app using the shiny-bslib-theming skill."
  • "Create a custom corporate theme for my dashboard that uses specific blue and gray color palettes defined in R."
  • "Update the typography and spacing of this existing Shiny interface to match a new design system."

Tips & gotchas

Ensure your Shiny app is already utilizing bslib as its layout engine, as this skill relies on those underlying structures. While powerful for customization, complex theme overrides may require advanced knowledge of CSS variables and R list manipulation to resolve conflicts effectively.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
posit-dev
Installs
31

🌐 Community

Passed automated security scans.