Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

developing-with-streamlit

/developing-with-streamlit

Pomaga tworzyć, poprawiać i wdrażać aplikacje Streamlit z motywami, stylami i komponentami, zgodnie z dokumentacją zainstalowanej wersji.

Repozytorium
streamlit ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
13.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/discover.py

Co robi i kiedy

Pomaga tworzyć, poprawiać i wdrażać aplikacje Streamlit z motywami, stylami i komponentami, zgodnie z dokumentacją zainstalowanej wersji.

Oryginalny opis (EN)

**[REQUIRED]** Use for ALL Streamlit tasks: creating, editing, debugging, beautifying, styling, theming, optimizing, or deploying Streamlit apps. Also custom components, st.components.v2, HTML/JS/CSS work. Use it before writing or changing Streamlit code: it finds the reference docs bundled with the user's installed Streamlit (>=1.57), matched to that version. Triggers: streamlit, st., dashboard, app.py, beautify, style, CSS, color, background, theme, button, widget styling, custom component, st.components, CCv2, session state, performance, cache, fragment, slow rerun, deploy.

Jak działa

  1. 1. Run the discovery script
  2. 2. Read the bundled skill and its references
  3. 3. If the script cannot run
  4. 4. Fallback
Sekcje z nagłówków SKILL.md, w oryginale · 51 linii, 613 słów
Podgląd SKILL.md
---
name: developing-with-streamlit
description: "**[REQUIRED]** Use for ALL Streamlit tasks: creating, editing, debugging, beautifying, styling, theming, optimizing, or deploying Streamlit apps. Also custom components, st.components.v2, HTML/JS/CSS work. Use it before writing or changing Streamlit code: it finds the reference docs bundled with the user's installed Streamlit (>=1.57), matched to that version. Triggers: streamlit, st., dashboard, app.py, beautify, style, CSS, color, background, theme, button, widget styling, custom component, st.components, CCv2, session state, performance, cache, fragment, slow rerun, deploy."
allowed-tools: Bash(python3 "${CLAUDE_SKILL_DIR}/scripts/discover.py" *) Bash(python "${CLAUDE_SKILL_DIR}/scripts/discover.py" *) Bash(py -3 "${CLAUDE_SKILL_DIR}/scripts/discover.py" *)
---

# 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.). Find it (step 1) and read it (step 2) before writing or changing Streamlit code.

## 1. Run the discovery script

macOS and Linux:

```
python3 "<skill-dir>/scripts/discover.py" --project-dir "<project-dir>"
```

Windows (if `py` is missing, use `python` instead of `py -3`):

```
py -3 "<skill-dir>/scripts/discover.py" --project-dir "<project-dir>"
```

- Replace `<skill-dir>` with the absolute path of the directory containing this file, and `<project-dir>` with the absolute path of the user's project (usually the current working directory). Keep the quotes. In Claude Code, `<skill-dir>` is `${CLAUDE_SKILL_DIR}` and `<project-dir>` is `${CLAUDE_PROJECT_DIR}`.
- If the Streamlit app lives in a subdirectory with its own virtual environment, pass that subdirectory as `--project-dir`.
- If no launcher works (on macOS without developer tools, `python3` offers to install them instead), or the script fails with a `SyntaxError` or `ImportError` (a very old Python), run it with the project's own interpreter, such as `.venv/bin/python` or `.venv/Scripts/python.exe`.

The script is safe to run without asking. It reads files and asks each interpreter it finds where it would import Streamlit from, so it runs the project's own Python, as running the app would; the only other tool it runs is `poetry env info --path`, read-only. It never imports Streamlit or installs packages, never creates or changes environments, and writes no files of its own.

It checks the project's environments first (`$UV_PROJECT_ENVIRONMENT`, `.venv`, `venv`, conda, pixi, Pipenv, Poetry), then the active environment and the Pythons on `PATH`. It usually finishes in under a second, stops within about 10 seconds, and prints either:

- **A path on stdout** (exit 0) — the bundled `SKILL.md`. Continue with step 2. A `NOTE:` on stderr does not mean failure; follow its advice if it applies.
- **An `ERROR:` block on stderr** (non-zero exit) — what happened, why, the next steps, and every environment it checked. Do not install or upgrade packages unless the user asked for it or agrees.

If you already know which Python runs the app (for example, from the command used to run it), pass it with `--python <path>`. Then only that interpreter is checked, so the docs match the app's environment exactly. The same flag reaches environments the script does not find on its own.

## 2. Read the bundled skill and its references

1. Read the whole `SKILL.md` at the printed path, and follow it.
2. Read every reference its routing table lists for the task before you edit. Its links, such as `references/theme.md`, are relative to the folder of that `SKILL.md`, not to this file.
3. These docs match the user's installed Streamlit. Where they differ from what you remember about Streamlit, follow the docs.

Reuse the path for the rest of the session; run the script again only if the project's environment changes.

## 3. If the script cannot run

Read the bundled skill directly from the environment that runs the app, then continue with step 2. It is `streamlit/.agents/skills/developing-with-streamlit/SKILL.md` inside that environment's `site-packages` folder; for the project's virtual environment:

- Windows: `<project>/.venv/Lib/site-packages/streamlit/.agents/skills/developing-with-streamlit/SKILL.md`
- macOS and Linux: `<project>/.venv/lib/python3.*/site-packages/streamlit/.agents/skills/developing-with-streamlit/SKILL.md` (glob for the `python3.*` part; search tools can skip ignored directories like `.venv` by default)

## 4. Fallback

If no bundled skill is available, use the online Streamlit documentation (latest release, not matched to the installed version). Find the pages for the task in the index at https://docs.streamlit.io/llms.txt and fetch those. https://docs.streamlit.io/llms-full.txt has every page in one file, but at about 2 MB it is too large for most fetch tools.
Pliki w paczce (2)
  • SKILL.md 5 KB
  • scripts/discover.py 35 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · streamlit/streamlit100Apache-2.0
streamlit/streamlit100Apache-2.0
iusztinpaul/designing-real-world-ai-agents-workshop100MIT

Migawka bazy z 13.11.2026 · wersja paczki 946d074a795c (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100building-streamlit-custom-components-v2
    Buduje dwukierunkowe komponenty Streamlit Custom Components v2 przez st.components.v2.component: komponenty inline w HTML, CSS i JS lub pakiety z asset_dir, callbacki stanu, motywy przez zmienne --st-* i bundling Vite.
  • 100using-streamlit-custom-components
    Wyjaśnia, jak instalować i używać zewnętrznych komponentów Streamlit, rozszerzając aplikację o pakiety społeczności.
  • 95streamlit
    Opisuje framework Streamlit do aplikacji webowych w Pythonie: stan sesji, cache, układy, widżety, aplikacje wielostronicowe i wdrożenie interaktywnych dashboardów.
  • 100creating-pull-requests
    Tworzy roboczy pull request w repozytorium streamlit/streamlit z właściwymi etykietami, nazwą gałęzi i formatem opisu.
  • 100streamlit
    Buduje w czystym Pythonie interaktywne aplikacje webowe w Streamlit: dashboardy danych, dema modeli ML, interfejsy czatu i narzędzia wewnętrzne, bez kodu frontendowego.
  • 100generating-changelog
    Przygotowuje notatki wydania dla strony docs.streamlit.io na podstawie zmian między dwoma tagami git.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.