developing-with-streamlit

作者: streamlit

所有 Streamlit 開發任務的路由技能:應用程式建立、編輯、除錯、樣式設計、最佳化與部署。根據任務類型路由至專門的子技能:效能最佳化、儀表板建置、設計改善、元件選擇、主題設定、版面配置、資料顯示、多頁面應用程式、工作階段狀態、聊天介面、自訂元件及 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 的更多技能