Routing skill for all Streamlit development tasks: app creation, editing, debugging, styling, optimization, and deployment.
Works with
Routes to specialized sub-skills based on task type: performance optimization, dashboard building, design improvement, widget selection, theming, layouts, data display, multi-page apps, session state, chat UI, custom components, and Snowflake integration
Includes a workflow for locating Streamlit source files, identifying entry points ( streamlit_app.py , app.py ),
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versiondeveloping-with-streamlitExecute the skills CLI command in your project's root directory to begin installation:
Fetches developing-with-streamlit from streamlit/agent-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate developing-with-streamlit. Access via /developing-with-streamlit in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
2
total installs
2
this week
150
GitHub stars
0
upvotes
Run in your terminal
2
installs
2
this week
150
stars
This is a routing skill that directs you to specialized sub-skills for Streamlit development.
Invoke this skill when the user's request involves:
Trigger phrases: "streamlit", "st.", "dashboard", "app.py", "beautify app", "make it look better", "style", "CSS", "color", "background", "theme", "button", "slow rerun", "session state", "performance", "faster", "cache", "deploy"
Step 1: Locate the Streamlit source code
↓
Step 2: Identify task type and load appropriate sub-skill(s)
↓
Step 3: Apply guidance from sub-skill to edit code
↓
Step 4: Check if app is running and offer to run it
Goal: Identify the app file(s) to edit. Skip this step if already clear from context.
When to skip:
src/app.py")app.py, streamlit_app.py)When to search:
If searching is needed:
Quick scan for Streamlit files:
find . -name "*.py" -type f | xargs grep -l "import streamlit\|from streamlit" 2>/dev/null | head -10
Apply entry point heuristics (in priority order):
streamlit_app.py at root → this is the entry point (canonical name)app.py at root → likely entry pointst.navigation → entry point for multi-page apps.py file at root with streamlit import → entry pointpages/ or app_pages/ subdirectory → NOT entry points (these are sub-pages)If entry point is obvious → use it, no confirmation needed
Example: Found streamlit_app.py and pages/metrics.py → use streamlit_app.py
Only ask if genuinely ambiguous (e.g., multiple root-level candidates, none named streamlit_app.py):
Found multiple potential entry points:
- dashboard.py
- main.py
Which is your main app?
Output: Path to the main Streamlit source file(s)
Goal: Determine what the user needs and load the appropriate guidance.
Use this routing table to select sub-skill(s). Always read the sub-skill file before making changes:
| User Need | Sub-skill to Read |
|---|---|
| Performance issues, slow apps, caching | read skills/optimizing-streamlit-performance/SKILL.md |
| Building a dashboard with KPIs/metrics | read skills/building-streamlit-dashboards/SKILL.md |
| Improving visual design, icons, polish | read skills/improving-streamlit-design/SKILL.md |
| Choosing widgets (selectbox vs radio vs pills) | read skills/choosing-streamlit-selection-widgets/SKILL.md |
| Styling widgets (button colors, backgrounds, CSS) | read skills/creating-streamlit-themes/SKILL.md |
| Layouts (columns, tabs, sidebar, containers) | read skills/using-streamlit-layouts/SKILL.md |
| Displaying data (dataframes, charts) | read skills/displaying-streamlit-data/SKILL.md |
| Multi-page app architecture | read skills/building-streamlit-multipage-apps/SKILL.md |
| Session state and callbacks | read skills/using-streamlit-session-state/SKILL.md |
| Markdown, colored text, badges | read skills/using-streamlit-markdown/SKILL.md |
| Custom themes and colors | read skills/creating-streamlit-themes/SKILL.md |
| Comprehensive theme design and brand alignment | read skills/creating-streamlit-themes/SKILL.md |
| Chat interfaces and AI assistants | read skills/building-streamlit-chat-ui/SKILL.md |
| Connecting to Snowflake | read skills/connecting-streamlit-to-snowflake/SKILL.md |
| Building or packaging a custom component, triggering events back to Python from JS/HTML, custom HTML/JS with event handling (CCv2), OR any UI element that doesn't exist as a native Streamlit widget (e.g., drag-and-drop, custom interactive visualization, canvas drawing) | read skills/building-streamlit-custom-components-v2/SKILL.md — IMPORTANT: st.components.v1 is deprecated. Never use v1 for new components; always use st.components.v2.component(). |
| Third-party components | read skills/using-streamlit-custom-components/SKILL.md |
| Code organization | read skills/organizing-streamlit-code/SKILL.md |
| Environment setup | read skills/setting-up-streamlit-environment/SKILL.md |
| CLI commands | read skills/using-streamlit-cli/SKILL.md |
Fallback — "this widget doesn't exist in Streamlit":
If the user asks for a UI element or interaction that has never been part of Streamlit's API and cannot be built with any combination of native widgets (e.g., drag-and-drop, canvas drawing, custom interactive visualizations), route to the CCv2 sub-skill (skills/building-streamlit-custom-components-v2/SKILL.md). Do not route to CCv2 for features that exist in newer Streamlit versions (e.g., st.connection, st.segmented_control) — suggest upgrading instead.
Common combinations:
For beautifying/improving an app, read in order:
skills/improving-streamlit-design/SKILL.mdskills/using-streamlit-layouts/SKILL.mdskills/choosing-streamlit-selection-widgets/SKILL.mdFor building a dashboard, read:
skills/building-streamlit-dashboards/SKILL.mdskills/displaying-streamlit-data/SKILL.mdIMPORTANT - Use templates:
When creating a new dashboard app, prefer starting from a template in templates/apps/:
dashboard-metrics / dashboard-metrics-snowflake — KPI cards with time-series chartsdashboard-companies — company/entity comparisondashboard-compute / dashboard-compute-snowflake — resource/credit monitoringdashboard-feature-usage — feature adoption trackingdashboard-seattle-weather — public dataset exploration (local only)dashboard-stock-peers / dashboard-stock-peers-snowflake — financial peer analysis@st.cache_data, filter_by_time_range(), st.set_page_config(), chart utilities, layout structure)templates/apps/README.md for template descriptionsWhen editing an existing app, use templates as reference for best practices:
templates/apps/ for caching patterns, layout structure, and Snowflake integrationWhen applying a custom theme, use a template from templates/themes/:
templates/themes/README.md for theme previewsFor performance optimization, read:
skills/optimizing-streamlit-performance/SKILL.mdGoal: Make changes to the Streamlit app following sub-skill best practices.
Actions:
Goal: Help the user see their changes by checking if their app is running.
Actions:
Check for running Streamlit apps on ports 850*:
lsof -nP -iTCP -sTCP:LISTEN 2>/dev/null | grep -i python | awk '{print $2, $9}' | grep ':85' || echo "No Streamlit apps detected on ports 850*"
Present findings to user:
If app is running:
Found Streamlit app running:
- PID: [pid] at http://localhost:[port]
Your changes should be visible after a page refresh (Streamlit hot-reloads on file save).
If no app is running:
No Streamlit app detected on ports 850*.
Would you like me to run the app? I can start it with:
streamlit run [app_file.py]
If user wants to run the app, start it:
streamlit run [path/to/app.py] --server.port 8501
| Skill | Covers |
|---|---|
| building-streamlit-chat-ui | Chat interfaces, streaming responses, message history |
| building-streamlit-dashboards | KPI cards, metrics, dashboard layouts |
| building-streamlit-multipage-apps | Page structure, navigation, shared state |
| building-streamlit-custom-components-v2 | Streamlit Custom Components v2 (inline and template-based packaged), bidirectional state/trigger callbacks, bundling, theme CSS variables |
| choosing-streamlit-selection-widgets | Selectbox vs radio vs segmented control vs pills vs multiselect |
| connecting-streamlit-to-snowflake | st.connection, query caching, credentials |
| creating-streamlit-themes | Theme configuration, colors, fonts, light/dark modes, professional brand alignment, CSS avoidance |
| displaying-streamlit-data | Dataframes, column config, charts |
| improving-streamlit-design | Icons, badges, colored text, visual polish |
| optimizing-streamlit-performance | Caching, fragments, forms, static vs dynamic widgets |
| organizing-streamlit-code | When to split into modules, separating UI from logic |
| setting-up-streamlit-environment | Python environment, dependency management |
| using-streamlit-custom-components | Third-party components from the community |
| using-streamlit-cli | CLI commands, running apps |
| using-streamlit-layouts | Sidebar, columns, containers, tabs, expanders, dialogs, alignment, spacing |
| using-streamlit-markdown | Colored text, badges, icons, LaTeX, and all markdown features |
| using-streamlit-session-state | Session state, widget keys, callbacks, state persistence |
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
sammcj/agentic-coding
othmanadi/planning-with-files
davila7/claude-code-templates
intellectronica/agent-skills
am-will/codex-skills
sickn33/antigravity-awesome-skills
Useful defaults in developing-with-streamlit — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
We added developing-with-streamlit from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
Registry listing for developing-with-streamlit matched our evaluation — installs cleanly and behaves as described in the markdown.
Solid pick for teams standardizing on skills: developing-with-streamlit is focused, and the summary matches what you get after install.
developing-with-streamlit reduced setup friction for our internal harness; good balance of opinion and flexibility.
developing-with-streamlit has been reliable in day-to-day use. Documentation quality is above average for community skills.
We added developing-with-streamlit from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
Useful defaults in developing-with-streamlit — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
Registry listing for developing-with-streamlit matched our evaluation — installs cleanly and behaves as described in the markdown.
We added developing-with-streamlit from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
showing 1-10 of 57