S

Streamlit技能

addressing-pr-review-comments
streamlit
處理當前分支在 streamlit/streamlit 儲存庫中 PR 的所有有效審查意見,涵蓋行內審查意見與一般 PR(議題)…
official
assessing-external-test-risk
streamlit
評估分支或 PR 的變更是否對外部託管或嵌入的 Streamlit 使用構成高風險,並建議是否需要外部端到端(e2e)測試覆蓋…
official
building-streamlit-chat-ui
streamlit
在 Streamlit 中建置聊天介面。適用於建立對話式 UI、聊天機器人或 AI 助手。涵蓋 st.chat_message、st.chat_input、訊息…
official
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…
official
building-streamlit-dashboards
streamlit
在 Streamlit 中建立儀表板。適用於建立 KPI 顯示、指標卡片或資料密集的版面配置。涵蓋邊框、卡片、響應式版面配置及儀表板…
official
building-streamlit-multipage-apps
streamlit
建立多頁面的Streamlit應用程式。適用於建立包含多個頁面的應用程式、設定導覽,或管理跨頁面狀態時使用。
official
checking-changes
streamlit
在提交前通過執行格式、lint、類型和單元測試檢查來驗證所有
official
choosing-streamlit-selection-widgets
streamlit
選擇正確的 Streamlit 選擇元件。在決定使用單選按鈕、下拉選單、分段控制、膠囊按鈕或其他選項選擇元件時使用。…
official
connecting-streamlit-to-snowflake
streamlit
將 Streamlit 應用程式連接到 Snowflake。適用於設定資料庫連線、管理機密資訊,或從 Streamlit 應用程式查詢 Snowflake 時使用。
official
creating-pull-requests
streamlit
在 GitHub 上建立一個草稿拉取請求,包含適當的標籤、分支命名與描述格式。當變更準備好提交為 PR 時使用。
official
creating-streamlit-themes
streamlit
建立並自訂 Streamlit 主題。適用於變更應用程式的顏色、字型或外觀,或使應用程式符合品牌規範。涵蓋 config.toml…
official
debugging-streamlit
streamlit
使用 make debug 搭配熱重載來除錯 Streamlit 的前端與後端變更。適用於測試程式碼變更、調查錯誤、檢查 UI 行為,或…
official
developing-with-streamlit
streamlit
所有 Streamlit 開發任務的路由技能:應用程式建立、編輯、除錯、樣式設計、最佳化與部署。根據任務類型路由至專門的子技能:效能最佳化、儀表板建置、設計改善、元件選擇、主題設定、版面配置、資料顯示、多頁面應用程式、工作階段狀態、聊天介面、自訂元件及 Snowflake 整合。包含尋找 Streamlit 原始檔、識別進入點(streamlit_app.py、app.py)的工作流程,以及...
official
developing-with-streamlit
streamlit
**[必要]** 適用於所有 Streamlit 任務:建立、編輯、除錯、美化、樣式設定、主題設計或最佳化 Streamlit 應用程式。亦為必要…
official
discovering-make-commands
streamlit
列出 Streamlit 開發中可用的 make 指令。用於建置、測試、語法檢查或格式化任務。
official
displaying-streamlit-data
streamlit
在 Streamlit 中顯示圖表、資料框和指標。適用於視覺化資料、設定資料框欄位,或為指標添加迷你圖。涵蓋…
official
finalizing-pr
streamlit
完成分支變更以準備合併,包括簡化程式碼、執行檢查、審閱變更,並在必要時建立拉取請求。當準備將變更合併至…時使用。
official
fixing-flaky-e2e-tests
streamlit
診斷並修復不穩定的 Playwright 端到端測試。適用於測試間歇性失敗、出現超時錯誤、快照不匹配或顯示瀏覽器特定問題時…
official
fixing-streamlit-ci
streamlit
分析並修復當前分支/PR 中失敗的 GitHub Actions CI 作業。當 CI 檢查失敗、PR 檢查顯示錯誤,或需要診斷…時使用。
official
generating-changelog
streamlit
在兩個 git 標籤之間生成精煉的網站發行說明,適用於 docs.streamlit.io。在準備新的 Streamlit 版本或審查變更時使用…
official
implementing-feature
streamlit
根據產品/技術規格、URL 或 GitHub 問題來實作功能。讀取規格,遵循 Streamlit 模式實作功能,並建立一個…
official
implementing-new-features
streamlit
新Streamlit功能的實作指南。在新增跨後端、前端及protobufs的元素、元件或功能時使用。
official
improving-frontend-coverage
streamlit
執行前端單元測試並產生覆蓋率報告,分析覆蓋率報告,並實作有意義的測試以將覆蓋率提升約0.2%。當您想要…時使用。
official
improving-python-coverage
streamlit
執行 Python 單元測試並涵蓋覆蓋率,分析覆蓋率報告,並實作有意義的測試以將覆蓋率提升約 0.2%。當您想要…時使用。
official
improving-streamlit-design
streamlit
改善Streamlit應用程式的視覺設計。適用於使用圖示、徽章、間距或文字樣式來打磨應用程式。涵蓋Material圖示、徽章語法、分隔線…
official
optimizing-streamlit-performance
streamlit
優化 Streamlit 應用程式效能。適用於應用程式執行緩慢、過於頻繁重新執行或載入大量內容時。涵蓋快取、片段以及靜態與動態…
official
organizing-streamlit-code
streamlit
為了可維護性而組織 Streamlit 程式碼。在將應用程式結構化為獨立模組和工具時使用。涵蓋關注點分離、保持 UI 程式碼…
official
setting-up-streamlit-environment
streamlit
為 Streamlit 應用程式設定 Python 環境。適用於建立新專案或管理相依性時。涵蓋使用 uv 進行相依性管理與執行…
official
sharing-pr-agent-artifacts
streamlit
將代理生成的產出物(規格、計劃、學習內容)上傳至 streamlit.wiki,以便透過 PR 評論分享。當您有代理產出物需要與他人分享時使用。
official
template-skill
streamlit
替換為技能描述及其使用時機。
official
understanding-streamlit-architecture
streamlit
解釋 Streamlit 的內部架構,包括後端運行時、前端渲染以及 WebSocket 通訊。適用於除錯跨層問題時使用,…
official
updating-internal-docs
streamlit
審查內部文件(*.md 檔案)與當前程式碼庫狀態的比對,並針對過時或不正確的資訊提出更新建議。
official
using-streamlit-cli
streamlit
記錄 Streamlit CLI 指令,用於執行應用程式、管理設定及診斷。在啟動 Streamlit 應用程式、設定執行時期選項或…時使用。
official
using-streamlit-custom-components
streamlit
使用第三方Streamlit自訂元件。在透過社群套件擴充Streamlit時使用。涵蓋安裝、熱門自訂元件,以及何時…
official
using-streamlit-layouts
streamlit
建構 Streamlit 應用程式版面配置。適用於將內容放置在側邊欄、欄位、容器或對話框中。涵蓋側邊欄使用、欄位限制、水平…
official
using-streamlit-markdown
streamlit
涵蓋 Streamlit 中的所有 Markdown 功能,包括 GitHub 風格語法以及 Streamlit 擴展功能,如彩色文字、徽章、Material 圖示和 LaTeX。使用…
official
using-streamlit-session-state
streamlit
使用 st.session_state 來管理跨 Streamlit 重新執行的狀態。在需要持久化資料、處理小工具狀態、實作回呼或除錯狀態時使用…
official
writing-spec
streamlit
為新的Streamlit功能撰寫產品與技術規格。適用於設計新的API指令、小工具或需要團隊審查的重大變更時使用。
official