mcpField
D
developing-with-streamlit

developing-with-streamlit

github.com/streamlitDevelopment2253.3k installsUpdated 14w ago
Repository

About developing-with-streamlit

A Streamlit development skill that routes developers to the package’s bundled reference documents for topics such as layouts, dashboards, and session state.

Key features

  1. 01Project-aware documentation discovery
  2. 02Topic-specific Streamlit references
  3. 03Coverage of themes, layouts, and session state

Use cases

  1. 01Finding guidance while building a Streamlit app
  2. 02Looking up session-state or layout details

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/streamlit/agent-skills --skill developing-with-streamlit

After installing, type/developing-with-streamlitin Claude Code to confirm it loaded.

Bundled filesscripts/discover.py

Details

From the project README

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.

Comments

Markdown supported