developing-with-streamlit

作成者: streamlit

すべてのStreamlit開発タスク(アプリ作成、編集、デバッグ、スタイリング、最適化、デプロイ)のルーティングスキル。タスクタイプに基づいて専門サブスキル(パフォーマンス最適化、ダッシュボード構築、デザイン改善、ウィジェット選択、テーマ設定、レイアウト、データ表示、マルチページアプリ、セッション状態、チャットUI、カスタムコンポーネント、Snowflake統合)にルーティング。Streamlitソースファイルの特定、エントリーポイント(streamlit_app.py、app.py)の識別、および...のワークフローを含む。

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

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.

streamlitのその他のスキル

building-streamlit-custom-components-v2
streamlit
Builds bidirectional Streamlit Custom Components v2 (CCv2) using `st.components.v2.component`. Use when authoring inline HTML/CSS/JS components or packaged…
creating-streamlit-themes
streamlit
Streamlitテーマの作成とカスタマイズ。アプリの色、フォント、外観を変更する場合や、アプリをブランドガイドラインに合わせる場合に使用します。config.tomlの設定を含みます…
developing-with-streamlit
streamlit
**[必須]** すべてのStreamlitタスク(Streamlitアプリケーションの作成、編集、デバッグ、美化、スタイリング、テーマ設定、最適化)に使用します。また必須…
building-streamlit-custom-components-v2
streamlit
Builds bidirectional Streamlit Custom Components v2 (CCv2) using `st.components.v2.component`. Use when authoring inline HTML/CSS/JS components or packaged…
connecting-streamlit-to-snowflake
streamlit
StreamlitアプリをSnowflakeに接続します。データベース接続の設定、シークレットの管理、またはStreamlitアプリからSnowflakeへのクエリ実行時に使用します。
creating-streamlit-themes
streamlit
Streamlitテーマの作成とカスタマイズ。アプリの色、フォント、外観を変更する場合、またはアプリをブランドガイドラインに合わせる場合に使用します。config.toml…を扱います。
optimizing-streamlit-performance
streamlit
Streamlitアプリのパフォーマンス最適化。アプリが遅い、再実行が多すぎる、または重いコンテンツを読み込む場合に使用します。キャッシング、フラグメント、静的と動的の比較などをカバーしています。
organizing-streamlit-code
streamlit
保守性を考慮したStreamlitコードの整理。アプリを個別のモジュールとユーティリティで構成する際に使用。関心の分離、UIコードの維持…