Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
streamlit avatar

Developing With Streamlit

  • 2.5k installs
  • 224 repo stars
  • Updated July 23, 2026
  • streamlit/agent-skills

developing-with-streamlit discovers version-matched Streamlit reference docs and routes agents through topic-specific guidance for app work.

About

Developing with Streamlit is a routing skill for all Streamlit work on apps at version 1.57 or newer. Instead of guessing APIs, the agent runs the bundled discover.py script with the user project directory so it can resolve the local virtualenv, lockfiles, and installed Streamlit package. On success the script prints a path to bundled SKILL.md that points into references for dashboards, themes, layouts, session state, custom components, caching, fragments, and deployment topics. On failure it emits an ERROR block with recovery steps. The skill covers creating, editing, debugging, styling, theming, optimizing, and deploying Streamlit apps plus st.components.v2 and HTML or JS or CSS customization. Triggers include streamlit, st., dashboard, app.py, session state, cache, fragment, deploy, and custom component work. The workflow is intentionally lightweight: discover version-matched docs first, then follow the reference file for the active task rather than loading every topic at once.

  • Runs discover.py with --project-dir to match installed Streamlit >=1.57.
  • Routes into references for themes, layouts, session state, and components.
  • Covers st.components.v2, custom components, caching, fragments, and deploy.
  • Resolves .venv, Pipfile, poetry.lock, pdm.lock, and uv.lock from project dir.
  • Fails loudly with ERROR instructions when discovery cannot resolve Streamlit.

Developing With Streamlit by the numbers

  • 2,521 all-time installs (skills.sh)
  • +61 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #201 of 2,245 Frontend Development skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
At a glance

developing-with-streamlit capabilities & compatibility

Capabilities
version matched streamlit doc discovery · topic routing into bundled references · custom component and st.components.v2 guidance · theming, layout, and session state patterns · deployment and performance topic pointers
Use cases
frontend · documentation
Platforms
macOS · Windows · Linux
IDEs
vscode · cursor ide · pycharm
Runs
Runs locally
Pricing
Free
From the docs

What developing-with-streamlit says it does

Run the discovery script with the user's project directory
SKILL.md
Streamlit (>=1.57) ships detailed reference documentation for building Streamlit apps inside its pip package.
SKILL.md
npx skills add https://github.com/streamlit/agent-skills --skill developing-with-streamlit

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2.5k
repo stars224
Security audit2 / 3 scanners passed
Last updatedJuly 23, 2026
Repositorystreamlit/agent-skills

How do I build or debug a Streamlit app using docs that match the user's installed Streamlit version?

Route Streamlit tasks by running discover.py against the installed Streamlit version and loading matched reference docs for dashboards, themes, and components.

Who is it for?

Developers creating or maintaining Streamlit dashboards and custom components on Streamlit 1.57+.

Skip if: Skip for non-Streamlit web frameworks or projects without a resolvable Streamlit install.

When should I use this skill?

User mentions streamlit, st., dashboard, app.py, theming, session state, cache, fragment, or deploy.

What you get

Correct reference doc selection and Streamlit patterns for dashboards, themes, session state, components, and deployment.

  • Streamlit data app
  • resolved agent SKILL.md path

By the numbers

  • discover.py defines 5 exit codes (0 through 4)
  • Resolves 5 environment markers: .venv, Pipfile, poetry.lock, pdm.lock, uv.lock

Files

SKILL.mdMarkdownGitHub ↗

Developing with Streamlit

Streamlit (>=1.57) ships detailed reference documentation for building Streamlit apps inside its pip package. The bundled skill is a routing SKILL.md plus a references/ folder of topic-specific reference docs (dashboards, themes, layouts, session state, custom components, etc.).

Usage

Run the discovery script with the user's project directory:

python <SKILL_DIR>/scripts/discover.py --project-dir <USER_PROJECT_DIR>

The script prints either:

  • A path on stdout (exit 0) — the bundled SKILL.md. Read it; it points into references/.
  • An `ERROR:` block on stderr (non-zero exit). Follow the printed instructions and re-run.

<SKILL_DIR> is the directory containing this file; <USER_PROJECT_DIR> is the absolute path to the user's project. Passing --project-dir matters because the script resolves .venv, ../.venv, Pipfile, poetry.lock, pdm.lock, and uv.lock relative to it.

Related skills

How it compares

Pick developing-with-streamlit for Streamlit-specific agent guidance rather than generic Python web or Dash patterns.

FAQ

Why must I pass --project-dir?

Discovery resolves the virtualenv and lockfiles relative to the user project so docs match the installed Streamlit version.

What happens when discovery fails?

The script prints an ERROR block on stderr with recovery steps; follow them and re-run discover.py.

Where are detailed topics documented?

Bundled references/ files cover dashboards, themes, layouts, session state, custom components, and related topics.

Is Developing With Streamlit safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.